How to regain remote control after manual change
Posted: Sat Dec 22, 2018 2:46 am
Question: what is the action that makes OTGW take over the control?
My thermostat: Honeywell Round Modulation
OTGW version: OTGW+OPiZ
Some own code, which talks to OTGW to provide scheduling functionality
Initial situation: everything functions properly, I can read room temperature and set room setpoint via both my code and OTGW web app. The thermostat shows the little "H" symbol, indicating remote control.
My action: adjust the room set point on the thermostat directly.
Resulting situation: the "H" symbol disappears on the thermostat. The room set point and the room temperature are correctly readout by OTGW. However I cannot override the set point anymore.
Desired behaviour: I would like OTGW to automatically regain control after manually changing the room set point on the thermostat. Success is indicated by the "H" symbol appearing on the thermostat screen.
What I tried:
- pressing all sorts of buttons in the web-app; didn't help.
- my code is still running, continuously trying to adjust the set point; in vain.
- rebooting OPiZ with OTGW, then restarting my code. This seems to help.
It seems that rebooting OPi does result in taking over the control, even without re-starting my code, only OTGW code automatically restarts. However, sometimes it seems not to be enough, and my code is also needed, to send some commands (alternatively, commands can be sent via web app). Because the system takes some time to react, I am not fully sure which of my actions actually triggered control takeover.
I would like to know what minimal action actually restores remote control. Ideally, I would like to avoid rebooting, as it is pretty harsh programmatically.
My thermostat: Honeywell Round Modulation
OTGW version: OTGW+OPiZ
Some own code, which talks to OTGW to provide scheduling functionality
Initial situation: everything functions properly, I can read room temperature and set room setpoint via both my code and OTGW web app. The thermostat shows the little "H" symbol, indicating remote control.
My action: adjust the room set point on the thermostat directly.
Resulting situation: the "H" symbol disappears on the thermostat. The room set point and the room temperature are correctly readout by OTGW. However I cannot override the set point anymore.
Desired behaviour: I would like OTGW to automatically regain control after manually changing the room set point on the thermostat. Success is indicated by the "H" symbol appearing on the thermostat screen.
What I tried:
- pressing all sorts of buttons in the web-app; didn't help.
- my code is still running, continuously trying to adjust the set point; in vain.
- rebooting OPiZ with OTGW, then restarting my code. This seems to help.
It seems that rebooting OPi does result in taking over the control, even without re-starting my code, only OTGW code automatically restarts. However, sometimes it seems not to be enough, and my code is also needed, to send some commands (alternatively, commands can be sent via web app). Because the system takes some time to react, I am not fully sure which of my actions actually triggered control takeover.
I would like to know what minimal action actually restores remote control. Ideally, I would like to avoid rebooting, as it is pretty harsh programmatically.