No update of PS=1 response when in monitor mode
Posted: Fri Aug 07, 2020 3:15 pm
I started this week with the OpenTherm Gateway from NoDoShop connected to my 12 year old Bosch central heating (TA30 thermostat en 42 HRC boiler). I connect the gateway via the onboard NodeMCU (with Tasmota installed using MQTT) to my Home assistant server. I don't want to use the standard ESPEasy Ser2Net connection as that necessitates the OpenTherm monitor and also because I use Tasmota on all other devices in my home. I had to cut a couple of unused pins from the NodeMCU to solve spontaneous reboots ever 10 seconds or so, but it is running stable now.
The easiest way to transfer the Opentherm data seemed to me to use the response to the PS=1 command. That provides all the relevant data in one response. A rule on the NodeMCU issues a PS=1 command every minute and the Tasmota software automatically sends this response out via MQTT. The response is then decoded within Home Assistant and a sensor is populated with the data (see attached). On boot I intended to set the OpenTherm Gateway to monitor mode so as to minimize interference with the normal operation of the thermostat. I would only switch to gateway mode when I want to change a setting. However, in monitor mode the PS=1 command always gives the same response: the response at the time the GW=0 command was issued. After switching back to gateway mode by issuing the GW=1 command, the PS=1 command again gives the actual data.
I would like to know whether this is by design or if I'm doing something wrong or if this is a bug in the OpenTherm firmware.
The easiest way to transfer the Opentherm data seemed to me to use the response to the PS=1 command. That provides all the relevant data in one response. A rule on the NodeMCU issues a PS=1 command every minute and the Tasmota software automatically sends this response out via MQTT. The response is then decoded within Home Assistant and a sensor is populated with the data (see attached). On boot I intended to set the OpenTherm Gateway to monitor mode so as to minimize interference with the normal operation of the thermostat. I would only switch to gateway mode when I want to change a setting. However, in monitor mode the PS=1 command always gives the same response: the response at the time the GW=0 command was issued. After switching back to gateway mode by issuing the GW=1 command, the PS=1 command again gives the actual data.
I would like to know whether this is by design or if I'm doing something wrong or if this is a bug in the OpenTherm firmware.