i am using Z-Way to set my Danfoss Living Connect thermostat to 5 °C when a window is opened. I created a virtual device that runs the following code ("Code for action off"):
Code: Select all
zway.devices[10].ThermostatSetPoint.Set(1,5)
As soon as the window is closed, i set the temperatur to 21 °C. That works fine. But of course, whenever i change the the value of my thermostat manually, it is overwritten when i open/close my window. Is there any workaround to "store" the value the thermostat had before the window was opened and set it back to that value when it's closed?
Thanks in advance!