Opentherm Gateway communication hangs
Posted: Thu Feb 19, 2015 12:23 pm
Since a few weeks I have an Opentherm gateway, which I use to control my boiler in co-operation with a heat pump inverter airco to heat up my house.
The Opentherm gateway works fine, it is controlled by an Arduino UNO that uses serial communication to overrule the heating setpoint of the boiler while the at the same time controlling the heat up inverter airco via an infrared LED using the appropriate infrared codes.
The problem with my Opentherm gateway is that, every few days (not regular, sometimes after one day, but sometime after two weeks) the communication with the boiler hangs completely. It is then no longer possible to send serial control commands to the Opentherm gateway, they are simply ignored. Sometimes, the communication between the room thermostat and the boiler is also gone, and the room thermostat indicates an "F" (for "Fault") on its LCD screen.
If the serial communication hangs, I sometimes connect my old laptop (with RS232 connection) to see what is the problem. Usually I can see the T... and B... messages rolling over the terminal screen, as expected. However, the gateway simply ignores the commands that I type.
The remedy is to power-cycle the Opentherm gateway. After the power-cycle, the gateway accepts my serial commands again. However, this remedy is not beneficial for the "wife acceptance factor"
At one stage, the gateway did not pass through any communication, not from my RS232 laptop nor from room thermostat to boiler. Even after power-cycle. I then (as a last resort) uploaded the "gateway.hex" file again into the Opentherm gateway, and things started working again. Only to fail again after a few days...
Can anybody give me hints or tips what can be the problem? Why is my Opentherm Gateway hanging? Is the PIC controller perhaps broken?
Thanks!
The Opentherm gateway works fine, it is controlled by an Arduino UNO that uses serial communication to overrule the heating setpoint of the boiler while the at the same time controlling the heat up inverter airco via an infrared LED using the appropriate infrared codes.
The problem with my Opentherm gateway is that, every few days (not regular, sometimes after one day, but sometime after two weeks) the communication with the boiler hangs completely. It is then no longer possible to send serial control commands to the Opentherm gateway, they are simply ignored. Sometimes, the communication between the room thermostat and the boiler is also gone, and the room thermostat indicates an "F" (for "Fault") on its LCD screen.
If the serial communication hangs, I sometimes connect my old laptop (with RS232 connection) to see what is the problem. Usually I can see the T... and B... messages rolling over the terminal screen, as expected. However, the gateway simply ignores the commands that I type.
The remedy is to power-cycle the Opentherm gateway. After the power-cycle, the gateway accepts my serial commands again. However, this remedy is not beneficial for the "wife acceptance factor"

At one stage, the gateway did not pass through any communication, not from my RS232 laptop nor from room thermostat to boiler. Even after power-cycle. I then (as a last resort) uploaded the "gateway.hex" file again into the Opentherm gateway, and things started working again. Only to fail again after a few days...
Can anybody give me hints or tips what can be the problem? Why is my Opentherm Gateway hanging? Is the PIC controller perhaps broken?
Thanks!