OTGW random crashes

This Forum is about the Opentherm gateway (OTGW) from Schelte

Moderator: hvxl

Post Reply
sygys
Starting Member
Starting Member
Posts: 14
Joined: Mon Dec 27, 2021 4:28 pm

OTGW random crashes

Post by sygys »

Been using the otgw for a few years now. Last year mostly without any issues but lately i am experiencing random crashes. Both in slave and in master. When this happens the boiler will stay on a CS of 70 and keeps heating the water. it has been a cosy month with temperatures rising in out living room up to 27 degrees when we are not home! With the current gas price this is not something i like.

The strange thing is that in slave mode or even when the thing crashes, normally it will give the control to the thermostat but the last few crashes it stops reacting and does not give the control to the thermostat resulting in the boiler not receiving any more commands and when the CS was 70 it will stay 70. When it crashes the logs on the otmonitor stop. I also have the otgw hooked up to home assistant. In the past the integration would render all entities unavailable when the otgw crashes but now it just shows all the last values but doesnt update them anymore. So there is also no way for me to detect it and warn myself when it happens. Also shutting down the otgw doesnt show in home assistant its unavailable. It would be nice if this is fixed so that when there is no communication HA shows the device is unresponsive.

One more thing worth mentioning is the fact that in the past when the otgw crashed a red light came up on the board to show it was crashed now the green led stops flashing (the one showing there is normal communication) but no red error led is burning.

When removing power from the otgw and plug it back in fixed all the problems for a few days. Im not sure whats happening but i did log the otgw up to the point it stops responding. maybe someone can have a look?

Im not sure how much of the log is needed. I have a txt file of around 14MB (to big to add here)

Im running on version 5.3 (newer versions did not work in the past. it wouldnt recognize my thermostat and the thermostat would show no connection)
PIC: 16F88

If someone needs more log entries please let me know. there are 172.000 lines in there :D

Code: Select all

11:10:35.786435  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:10:36.180513  T00390000  Read-Data   Max CH water setpoint (MsgID=57): 0.00
11:10:36.327401  B40394600  Read-Ack    Max CH water setpoint (MsgID=57): 70.00
11:10:36.715631  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:10:36.822524  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:10:37.256803  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:10:37.386067  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:10:37.801758  T80640000  Read-Data   Remote override function (MsgID=100): 00000000
11:10:37.832459  R007B0000  Read-Data   DHW burner operation hours (MsgID=123): 0
11:10:37.959431  BC07B0138  Read-Ack    DHW burner operation hours (MsgID=123): 312
11:10:37.986568  A40640000  Read-Ack    Remote override function (MsgID=100): 00000000
11:10:38.327917  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:10:38.436390  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:10:38.865200  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:10:39.003099  BC0191C00  Read-Ack    Boiler water temperature (MsgID=25): 28.00
11:10:39.408433  T80730000  Read-Data   OEM diagnostic code (MsgID=115): 0
11:10:39.561433  BC07300CB  Read-Ack    OEM diagnostic code (MsgID=115): 203
11:10:39.943681  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:10:40.057618  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:10:40.478593  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:10:40.623358  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:10:40.992297  PR: I=00
11:10:41.163479  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:10:41.199533  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:10:41.264554  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:10:41.274934  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:10:41.706848  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:10:41.717431  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:10:41.822443  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:10:41.839799  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:10:42.237697  T80020000  Read-Data   Master configuration (MsgID=2): 00000000 0
11:10:42.251222  R00740000  Read-Data   Burner starts (MsgID=116): 0
11:10:42.385799  B4074ED4A  Read-Ack    Burner starts (MsgID=116): 60746
11:10:42.395379  A40020000  Read-Ack    Master configuration (MsgID=2): 00000000 0
11:10:42.769059  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:10:42.864750  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:10:43.300518  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:10:43.431938  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:10:43.838812  T00030000  Read-Data   Slave configuration (MsgID=3): 00000000 0
11:10:43.995755  B40034183  Read-Ack    Slave configuration (MsgID=3): 01000001 131
11:10:44.376099  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:10:44.482843  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:10:44.912170  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:10:45.050265  BC0191C00  Read-Ack    Boiler water temperature (MsgID=25): 28.00
11:10:45.449447  T00060000  Read-Data   Remote parameter flags (MsgID=6): 00000000 00000000
11:10:45.607950  B40060301  Read-Ack    Remote parameter flags (MsgID=6): 00000011 00000001
11:10:45.986951  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:10:46.099716  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:10:46.530252  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:10:46.668714  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:10:47.217238  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:10:47.231398  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:10:47.307171  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:10:47.317033  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:10:47.750594  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:10:47.770808  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:10:47.872295  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:10:47.882683  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:10:48.285351  T00090000  Read-Data   Remote override room setpoint (MsgID=9): 0.00
11:10:48.324395  R00770000  Read-Data   DHW burner starts (MsgID=119): 0
11:10:48.436330  BC0776A74  Read-Ack    DHW burner starts (MsgID=119): 27252
11:10:48.446774  AC0090000  Read-Ack    Remote override room setpoint (MsgID=9): 0.00
11:10:48.811523  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:10:48.909962  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:10:49.352410  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:10:49.481753  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:10:49.887381  T00300000  Read-Data   DHW setpoint boundaries (MsgID=48): 0 0
11:10:50.041144  BC0303C1E  Read-Ack    DHW setpoint boundaries (MsgID=48): 60 30
11:10:50.423449  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:10:50.529227  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:10:50.960750  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:10:51.016218  PR: I=00
11:10:51.091270  BC0191C00  Read-Ack    Boiler water temperature (MsgID=25): 28.00
11:10:51.498291  T80310000  Read-Data   Max CH setpoint boundaries (MsgID=49): 0 0
11:10:51.653787  B40315500  Read-Ack    Max CH setpoint boundaries (MsgID=49): 85 0
11:10:52.040826  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:10:52.148452  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:10:52.572703  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:10:52.709385  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:10:53.259927  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:10:53.273153  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:10:53.360124  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:10:53.369693  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:10:53.803822  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:10:53.816480  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:10:53.918131  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:10:53.936136  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:10:54.323804  T00740000  Read-Data   Burner starts (MsgID=116): 0
11:10:54.466466  B4074ED4A  Read-Ack    Burner starts (MsgID=116): 60746
11:10:54.861029  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:10:54.961985  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:10:55.405705  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:10:55.521206  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:10:55.942136  T00770000  Read-Data   DHW burner starts (MsgID=119): 0
11:10:56.088083  BC0776A74  Read-Ack    DHW burner starts (MsgID=119): 27252
11:10:56.473614  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:10:56.575689  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:10:57.010479  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:10:57.138977  B40191B00  Read-Ack    Boiler water temperature (MsgID=25): 27.00
11:10:57.548594  T00780000  Read-Data   Burner operation hours (MsgID=120): 0
11:10:57.705009  B40780E4E  Read-Ack    Burner operation hours (MsgID=120): 3662
11:10:58.085910  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:10:58.193563  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:10:58.623207  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:10:58.755922  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:10:59.307748  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:10:59.321644  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:10:59.401118  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:10:59.411234  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:10:59.850980  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:10:59.860872  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:10:59.961831  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:10:59.971331  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:11:00.372241  T007B0000  Read-Data   DHW burner operation hours (MsgID=123): 0
11:11:00.519596  BC07B0138  Read-Ack    DHW burner operation hours (MsgID=123): 312
11:11:00.909554  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:11:01.006208  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:11:01.043989  PR: I=00
11:11:01.450971  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:11:01.574030  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:11:02.002672  T007D0000  Read-Data   OpenTherm version Slave (MsgID=125): 0.00
11:11:02.016197  R00780000  Read-Data   Burner operation hours (MsgID=120): 0
11:11:02.142038  B40780E4E  Read-Ack    Burner operation hours (MsgID=120): 3662
11:11:02.151670  AC07D0300  Read-Ack    OpenTherm version Slave (MsgID=125): 3.00
11:11:02.522171  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:11:02.628490  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:11:03.064823  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:11:03.186105  B40191B00  Read-Ack    Boiler water temperature (MsgID=25): 27.00
11:11:03.596096  T807F0000  Read-Data   Slave product version (MsgID=127): 0 0
11:11:03.642557  CS: 36.00
11:11:03.747872  BC07F0326  Read-Ack    Slave product version (MsgID=127): 3 38
11:11:04.132926  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:11:04.239518  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:11:04.670711  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:11:04.802413  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:11:05.361575  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:11:05.374460  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:11:05.392390  CH: 0
11:11:05.516712  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:11:05.526991  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:11:05.894530  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:11:05.907313  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:11:06.010179  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:11:06.027313  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:11:06.420791  T80800000  Read-Data   Message ID 128 (MsgID=128): 0
11:11:06.560637  B40800000  Read-Ack    Message ID 128 (MsgID=128): 0
11:11:06.958007  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:11:07.058776  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:11:07.495322  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:11:07.618230  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:11:08.032378  T00050000  Read-Data   Application-specific flags (MsgID=5): 00000000 0
11:11:08.177166  BC0050000  Read-Ack    Application-specific flags (MsgID=5): 00000000 0
11:11:08.569945  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:11:08.671264  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:11:09.107237  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:11:09.231971  B40191B00  Read-Ack    Boiler water temperature (MsgID=25): 27.00
11:11:09.645565  T100E0000  Write-Data  Maximum relative modulation level (MsgID=14): 0.00
11:11:09.794422  BD00E0000  Write-Ack   Maximum relative modulation level (MsgID=14): 0.00
11:11:10.188246  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:11:10.286627  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:11:10.722656  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:11:10.852268  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:11:11.064042  PR: I=00
11:11:11.410513  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:11:11.423662  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:11:11.562647  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:11:11.590760  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:11:11.942010  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:11:11.955694  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:11:12.059292  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:11:12.075780  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:11:12.468356  T000F0000  Read-Data   Boiler capacity and modulation limits (MsgID=15): 0 0
11:11:12.608007  BC00F1C19  Read-Ack    Boiler capacity and modulation limits (MsgID=15): 28 25
11:11:13.005481  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:11:13.103151  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:11:13.545007  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:11:13.666892  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:11:14.080098  T90101300  Write-Data  Room setpoint (MsgID=16): 19.00
11:11:14.224447  B50101300  Write-Ack   Room setpoint (MsgID=16): 19.00
11:11:14.621086  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:11:14.715873  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:11:15.154713  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:11:15.278510  B40191B00  Read-Ack    Boiler water temperature (MsgID=25): 27.00
11:11:15.695172  T90181391  Write-Data  Room temperature (MsgID=24): 19.57
11:11:15.840736  B50181391  Write-Ack   Room temperature (MsgID=24): 19.57
11:11:16.229918  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:11:16.333027  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:11:16.771397  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:11:16.900922  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:11:17.458858  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:11:17.471949  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:11:17.611125  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:11:17.640900  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:11:17.992086  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:11:18.010544  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:11:18.101912  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:11:18.111903  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:11:18.518596  T001D0000  Read-Data   Solar storage temperature (MsgID=29): 0.00
11:11:18.653275  BC01D0000  Read-Ack    Solar storage temperature (MsgID=29): 0.00
11:11:19.060609  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:11:19.217019  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:11:19.592231  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:11:19.708280  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:11:20.134905  T001E0000  Read-Data   Solar collector temperature (MsgID=30): 0
11:11:20.270166  BC01E0000  Read-Ack    Solar collector temperature (MsgID=30): 0
11:11:20.667918  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:11:20.767696  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:11:21.094036  PR: I=00
11:11:21.210635  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:11:21.324860  BC0191C00  Read-Ack    Boiler water temperature (MsgID=25): 28.00
11:11:21.742387  T80383C00  Read-Data   DHW setpoint (MsgID=56): 60.00
11:11:21.887138  B40383C00  Read-Ack    DHW setpoint (MsgID=56): 60.00
11:11:22.279739  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:11:22.378222  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:11:22.820371  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:11:22.943512  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:11:23.507791  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:11:23.520888  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:11:23.661297  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:11:23.672967  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:11:24.040847  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:11:24.054738  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:11:24.148340  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:11:24.158907  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:11:24.569804  T00390000  Read-Data   Max CH water setpoint (MsgID=57): 0.00
11:11:24.706743  B40394600  Read-Ack    Max CH water setpoint (MsgID=57): 70.00
11:11:25.104308  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:11:25.262381  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:11:25.641608  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:11:25.754333  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:11:26.189611  T80640000  Read-Data   Remote override function (MsgID=100): 00000000
11:11:26.202567  R007B0000  Read-Data   DHW burner operation hours (MsgID=123): 0
11:11:26.331327  BC07B0138  Read-Ack    DHW burner operation hours (MsgID=123): 312
11:11:26.341318  A40640000  Read-Ack    Remote override function (MsgID=100): 00000000
11:11:26.719780  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:11:26.809629  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:11:27.253299  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:11:27.375182  BC0191C00  Read-Ack    Boiler water temperature (MsgID=25): 28.00
11:11:27.790753  T80730000  Read-Data   OEM diagnostic code (MsgID=115): 0
11:11:27.933786  BC07300CB  Read-Ack    OEM diagnostic code (MsgID=115): 203
11:11:28.327909  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:11:28.426783  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:11:28.865432  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:11:28.989259  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:11:29.554371  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:11:29.581804  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:11:29.706829  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:11:29.717247  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:11:30.088830  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:11:30.104947  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:11:30.195723  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:11:30.205742  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:11:30.632188  T80020000  Read-Data   Master configuration (MsgID=2): 00000000 0
11:11:30.647039  R00740000  Read-Data   Burner starts (MsgID=116): 0
11:11:30.761336  B4074ED4A  Read-Ack    Burner starts (MsgID=116): 60746
11:11:30.779267  A40020000  Read-Ack    Master configuration (MsgID=2): 00000000 0
11:11:31.119671  PR: I=00
11:11:31.152695  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:11:31.309786  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:11:31.689682  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:11:31.806864  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:11:32.226931  T00030000  Read-Data   Slave configuration (MsgID=3): 00000000 0
11:11:32.363972  B40034183  Read-Ack    Slave configuration (MsgID=3): 01000001 131
11:11:32.773517  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:11:32.926294  B40130000  Read-Ack    DHW flow rate (MsgID=19): 0.00
11:11:33.303742  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:11:33.425361  BC0191C00  Read-Ack    Boiler water temperature (MsgID=25): 28.00
11:11:33.840208  T00060000  Read-Data   Remote parameter flags (MsgID=6): 00000000 00000000
11:11:33.981856  B40060301  Read-Ack    Remote parameter flags (MsgID=6): 00000011 00000001
11:11:34.377570  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:11:34.473267  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:11:34.919279  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:11:35.042336  B401C1D00  Read-Ack    Return water temperature (MsgID=28): 29.00
11:11:35.600066  T00000300  Read-Data   Status (MsgID=0): 00000011 00000000
11:11:35.634844  R80000200  Read-Data   Status (MsgID=0): 00000010 00000000
11:11:35.750097  B40000200  Read-Ack    Status (MsgID=0): 00000010 00000000
11:11:35.771191  AC0000300  Read-Ack    Status (MsgID=0): 00000011 00000000
11:11:36.140233  T90014600  Write-Data  Control setpoint (MsgID=1): 70.00
11:11:36.153969  R10012400  Write-Data  Control setpoint (MsgID=1): 36.00
11:11:36.246315  BD0012400  Write-Ack   Control setpoint (MsgID=1): 36.00
11:11:36.256043  A50014600  Write-Ack   Control setpoint (MsgID=1): 70.00
11:11:36.674504  T00090000  Read-Data   Remote override room setpoint (MsgID=9): 0.00
11:11:36.686508  R00770000  Read-Data   DHW burner starts (MsgID=119): 0
11:11:36.811999  BC0776A74  Read-Ack    DHW burner starts (MsgID=119): 27252
11:11:36.822120  AC0090000  Read-Ack    Remote override room setpoint (MsgID=9): 0.00
11:11:37.202122  T00110000  Read-Data   Relative modulation level (MsgID=17): 0.00
11:11:37.355798  BC0110000  Read-Ack    Relative modulation level (MsgID=17): 0.00
11:11:37.738096  T00120000  Read-Data   CH water pressure (MsgID=18): 0.00
11:11:37.852944  B40120199  Read-Ack    CH water pressure (MsgID=18): 1.60
11:11:38.275730  T00300000  Read-Data   DHW setpoint boundaries (MsgID=48): 0 0
11:11:38.416950  BC0303C1E  Read-Ack    DHW setpoint boundaries (MsgID=48): 60 30
11:11:38.812992  T80130000  Read-Data   DHW flow rate (MsgID=19): 0.00
11:11:38.972711  B40130819  Read-Ack    DHW flow rate (MsgID=19): 8.10
11:11:39.350324  T80190000  Read-Data   Boiler water temperature (MsgID=25): 0.00
11:11:39.470032  BC0191C00  Read-Ack    Boiler water temperature (MsgID=25): 28.00
11:11:39.888607  T80310000  Read-Data   Max CH setpoint boundaries (MsgID=49): 0 0
11:11:40.027340  B40315500  Read-Ack    Max CH setpoint boundaries (MsgID=49): 85 0
11:11:40.430556  T801A0000  Read-Data   DHW temperature (MsgID=26): 0.00
11:11:40.521546  B401A0000  Read-Ack    DHW temperature (MsgID=26): 0.00
11:11:40.963985  T801C0000  Read-Data   Return water temperature (MsgID=28): 0.00
11:11:41.059901  B401C1B00  Read-Ack    Return water temperature (MsgID=28): 27.00
hvxl
Senior Member
Senior Member
Posts: 1967
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OTGW random crashes

Post by hvxl »

An issue that develops or deteriorates over time without any deliberate changes being made to a system usually indicates a hardware issue. Your log shows nothing special is going on before logging stops.

My first suspicion would be that the power supply or USB cable is going bad. Which hardware version of the OTGW do you have? There were a few versions that were very particular about the power supply and cable being used. I suggest to try using a different power supply and cable.

What do you mean by slave- and master mode? In gateway mode, the OTGW is both master for the boiler and slave to the thermostat. In monitor mode it simply functions as a conduit.

You didn't report the issues you now mention with versions after 5.3. Neither did anyone else. None of the changes that were made to the code after version 5.3 has any relation to detecting a thermostat. The last change in that area went into firmware 5.2.
Schelte
sygys
Starting Member
Starting Member
Posts: 14
Joined: Mon Dec 27, 2021 4:28 pm

Re: OTGW random crashes

Post by sygys »

Thanks for the reply and I will look into this. The only other thing I could think of that maybe could cause this is the otgw integration in home assistant but I'm not sure if any changes have been made to the integration in core version 2023.11.x

About slave and master i guess I'm using the wrong terminology. With slave I mean the thermostat is in control and with master the otgw itself. With monitor mode i would guess the otgw not doing much more then passing through the info of the thermostat. Thinking about it, it makes sense this could be a power supply issue. It does seem to happen though when dhw hot water is taken from the boiler. But I have to test this more. The big problem is the fact that I can't just test it and go away for the whole day. If the otgw keeps crashing with the boiler having a setpoint of 70 degrees then it will keep heating until I reset the otgw. And since I can't program it to give me a notification when the sensor becomes unavailable or even put in a smartplug to reset the otgw when it becomes unresponsive this is a high risk procedure of testing what the problem is.

But is it normal that the home assistant otgw integration just shows the last values when the otgw is offline even when you unplug it? I think it would be better to set all sensors to unavailable when the otgw is infact unavailable. Else there is no way in home assistant to check if the otgw is becoming unresponsive.

I'm not sure which version I have below a picture of the device:
https://photos.app.goo.gl/caNNm9FM3PtFFKuj8

This was taken when the otgw was unresponsive. All LED's burning on the photo were the ones that were active.
hvxl
Senior Member
Senior Member
Posts: 1967
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OTGW random crashes

Post by hvxl »

The OTGW crashes you saw in the past were due to a stack overflow. In that case the PIC would be reset by the watch dog timer. That problem was fixed in firmware 5.3. What you are seeing now looks like something very different.

You have a v2.3 board. It says so, right on the board. That is one of the versions that is quite finicky about its power supply.

I am completely oblivious about home assistant, so I can't tell you what is normal. The opentherm spec mandates that a message must be sent every second. If you can put a check on that, you can power-cycle the OTGW if you haven't seen any messages for a couple of minutes. If this cannot be done in home assistant with the existing OTGW integration, you can open a second connection to the USR-TCP232. By default it allows 4 simultaneous connections. Or you may be able to put a check on the boiler water temperature. When the heating is on, it should produce a regularly changing reading. This is one of the checks that I implemented on my home automation system.

Also, set your thermostat to away mode when you're not at home! Then it should never have to send a 70 degrees CS. At least not with a max relative modulation level above 0%.
Schelte
Post Reply

Return to “Opentherm Gateway Forum”