Search found 19 matches

by fcorin
Thu Jan 18, 2018 11:08 am
Forum: Beta testing
Topic: LUA script hangs Telldus zwave V2
Replies: 4
Views: 3086

Re: LUA script hangs Telldus zwave V2

I'm no Lua / Tellstick expert, but I think your script will run as soon as any sensor is updated, and that might cause the device to run out of resources. Maybe try something like this: local deviceManager = require "telldus.DeviceManager" local pooltemp = "US Pool" -- Name of the Pool Temp local po...
by fcorin
Thu Jan 18, 2018 11:08 am
Forum: Beta testing
Topic: LUA script hangs Telldus zwave V2
Replies: 4
Views: 3086

Re: LUA script hangs Telldus zwave V2

Hi, The difference between our scripts is that my script will only query deviceManger and update the sensor value if the change is indeed related to the sensor named "US Pool". I think your script will cause a loop. pooltemp is updated -> you change pooltempadjusted -> that will trigger onSensorValu...
by fcorin
Thu Jan 18, 2018 11:08 am
Forum: Allmänt
Topic: IFTTT temperatur logging
Replies: 12
Views: 8835

Re: IFTTT temperatur logging

Gissar att det är den här: https://ifttt.com/applets/FXEVfBYy-log- ... ogle-drive

Den loggar allt över -273,15°C
by fcorin
Thu Jan 18, 2018 11:08 am
Forum: Beta testing
Topic: Simple? LUA for tellstick.net zwave
Replies: 4
Views: 3089

Re: Simple? LUA for tellstick.net zwave

local deviceManager = require 'telldus.DeviceManager' local breaker = 'Nexa ZW 1' --Nexa AN179 z-wave on/off switch function onDeviceStateChanged(device, state, stateValue) if (device:name() ~= breaker) then return end if (device:state()==1) then device:command('turnoff', nil, 'breaker') end end Or...