z-Wave Thermostat error
Posted: Friday 21 February 2020 19:23
Hello everyone,,
I am working an a dzVents script to control my CT100 Plus Radio Thermostat z-wave thermostats. I can read the set point, but I get an error when I try to updatesetpoint. See my script and log listing below. Hopefully I am doing something dumb and there is an easy fix.mobdro lucky patcher kodi
The log listing is:
I am working an a dzVents script to control my CT100 Plus Radio Thermostat z-wave thermostats. I can read the set point, but I get an error when I try to updatesetpoint. See my script and log listing below. Hopefully I am doing something dumb and there is an easy fix.mobdro lucky patcher kodi
Code: Select all
return {
on = {
devices = {
'Away Switch'
}
},
execute = function(domoticz, device)
if (device.state == 'On') then
domoticz.log('Read the current Set Point: ' .. domoticz.devices('Down Stairs Set').setPoint, domoticz.LOG_INFO)
domoticz.devices('Down Stairs Set').updatesetpoint(10)
domoticz.log('Device ' .. device.name .. ' was changed to away, 50F', domoticz.LOG_INFO)
else
domoticz.log('Device ' .. device.name .. ' was changed to home, 68F', domoticz.LOG_INFO)
end
end
}
- Spoiler: show