SetPoint related script?
Posted: Friday 26 August 2016 22:06
Hello Domoticz people!
I do not know a lot about scripts and I cannot create one which seems simple.
I would like to synchronize my thermostats SetPoints with my Nest Set Point.
I tried to create a Blockly script which said:
If "NestAwayMode" = on
Set "SetPoint1" = 15
Set "SetPoint2" = 15
...
Else If "NestAwayMode" = off
Set "SetPoint1" = "NestSetPoint"
Set "SetPoint2" = "NestSetPoint"
....
But it seems that the Set Points are not switches but "utilities", which can only be used in "If" and not "Set"
How may I use Lua or blockly scripts to achieve such a thing?
Thank you very much for your help!
I do not know a lot about scripts and I cannot create one which seems simple.
I would like to synchronize my thermostats SetPoints with my Nest Set Point.
I tried to create a Blockly script which said:
If "NestAwayMode" = on
Set "SetPoint1" = 15
Set "SetPoint2" = 15
...
Else If "NestAwayMode" = off
Set "SetPoint1" = "NestSetPoint"
Set "SetPoint2" = "NestSetPoint"
....
But it seems that the Set Points are not switches but "utilities", which can only be used in "If" and not "Set"
How may I use Lua or blockly scripts to achieve such a thing?
Thank you very much for your help!