Page 1 of 1
Control setpoint override issue
Posted: Fri Oct 11, 2024 4:08 pm
by tomecki
Hi all,
I'm using De Dietrich Smart TC (with OT bridge) thermostat with De Dietrich Lumea MPX boiler.
I made simple script for setting control setpoint and sending this value each 30 seconds (if needed).
The problem is that OTGW sometimes writing value 7 degrees to the boiler, below log from otmonitor:
Code: Select all
09:20:43.989362 CS: 29.26
09:20:44.761058 T00110000 Read-Data Relative modulation level: 0.00
09:20:44.886599 BC0110000 Read-Ack Relative modulation level: 0.00
09:20:45.769461 T80190000 Read-Data Boiler water temperature: 0.00
09:20:45.879515 BC0191FB2 Read-Ack Boiler water temperature: 31.70
09:20:46.758081 T90181619 Write-Data Room temperature: 22.10
09:20:46.885251 B50181619 Write-Ack Room temperature: 22.10
09:20:47.775733 T80000200 Read-Data Status: 00000010 00000000
09:20:47.779966 R00000300 Read-Data Status: 00000011 00000000
09:20:47.885197 B40000002 Read-Ack Status: 00000000 00000010
09:20:47.889414 AC0000202 Read-Ack Status: 00000010 00000010
09:20:48.781486 T90010700 Write-Data Control setpoint: 7.00
09:20:48.785161 R90011D43 Write-Data Control setpoint: 29.26
09:20:48.908619 B50011D43 Write-Ack Control setpoint: 29.26
09:20:48.915651 A50010700 Write-Ack Control setpoint: 7.00
Last year everything is working properly, OTGW was setting value 7 in the boiler after a minute of last CS command received.
I don't know if this behavior - sending 7.00 after my CS value is proper.
I was not making any firmware updates.
Can anybody help how to debug this issue further or how to proceed to fix this behavior?
Thanks in advance.
Below I attached pictures how this was working and how it is working actually (yellow - control set temperature read from boiler, blue - control set temperature send by CS command).

- works.png (5.49 KiB) Viewed 3131 times

- not_working.png (7.71 KiB) Viewed 3131 times
Re: Control setpoint override issue
Posted: Fri Oct 11, 2024 6:23 pm
by hvxl
Your log shows that the OTGW is sending 29.26 to the boiler, as requested.
Re: Control setpoint override issue
Posted: Fri Oct 11, 2024 9:55 pm
by tomecki
Thanks hvxl for quick reply.
And what is second Write-Ack in logs with ID A50010700?
I recorded more data and analyzed and I see now issue in logs.
On 21:59:41.213922 there is a CS command, and OTGW sent properly 3 times (21:59:42.790232, 21:59:47.797588, 21:59:52.787725) and then seems OTGW didn't overwrite 2 times control setpoint frames (22:00:00.094434, 22:00:06.112601).
Below log:
Code: Select all
21:59:41.213922 CS: 50.82
21:59:41.253434 T80000200 Read-Data Status: 00000010 00000000
21:59:41.259491 R00000300 Read-Data Status: 00000011 00000000
21:59:41.394165 B40000002 Read-Ack Status: 00000000 00000010
21:59:41.399085 AC0000202 Read-Ack Status: 00000010 00000010
21:59:41.565913 T80000200 Read-Data Status: 00000010 00000000
21:59:41.571988 R00000300 Read-Data Status: 00000011 00000000
21:59:41.690485 B40000002 Read-Ack Status: 00000000 00000010
21:59:41.699124 AC0000202 Read-Ack Status: 00000010 00000010
21:59:41.862877 T80000200 Read-Data Status: 00000010 00000000
21:59:41.868515 R00000300 Read-Data Status: 00000011 00000000
21:59:41.987622 B40000002 Read-Ack Status: 00000000 00000010
21:59:41.999553 AC0000202 Read-Ack Status: 00000010 00000010
21:59:42.782590 T90010700 Write-Data Control setpoint: 7.00
21:59:42.790232 R900132D2 Write-Data Control setpoint: 50.82
21:59:42.907170 B500132D2 Write-Ack Control setpoint: 50.82
21:59:42.913698 A50010700 Write-Ack Control setpoint: 7.00
21:59:43.783738 T00110000 Read-Data Relative modulation level: 0.00
21:59:43.893100 BC0110000 Read-Ack Relative modulation level: 0.00
21:59:44.784623 T80190000 Read-Data Boiler water temperature: 0.00
21:59:44.892728 BC0192900 Read-Ack Boiler water temperature: 41.00
21:59:45.787481 T001B0000 Read-Data Outside temperature: 0.00
21:59:45.898208 B601B0000 Data-Inv Outside temperature: 0.00
21:59:46.787252 T80000200 Read-Data Status: 00000010 00000000
21:59:46.795092 R00000300 Read-Data Status: 00000011 00000000
21:59:46.880973 B40000002 Read-Ack Status: 00000000 00000010
21:59:46.891257 AC0000202 Read-Ack Status: 00000010 00000010
21:59:47.790089 T90010700 Write-Data Control setpoint: 7.00
21:59:47.797588 R900132D2 Write-Data Control setpoint: 50.82
21:59:47.902286 B500132D2 Write-Ack Control setpoint: 50.82
21:59:47.911418 A50010700 Write-Ack Control setpoint: 7.00
21:59:48.784885 T00110000 Read-Data Relative modulation level: 0.00
21:59:48.902747 BC0110000 Read-Ack Relative modulation level: 0.00
21:59:49.794546 T80190000 Read-Data Boiler water temperature: 0.00
21:59:49.902480 B4019254C Read-Ack Boiler water temperature: 37.30
21:59:50.790777 T900E6400 Write-Data Maximum relative modulation level: 100.00
21:59:50.931985 B500E6400 Write-Ack Maximum relative modulation level: 100.00
21:59:51.791423 T80000200 Read-Data Status: 00000010 00000000
21:59:51.796869 R00000300 Read-Data Status: 00000011 00000000
21:59:51.896900 B40000002 Read-Ack Status: 00000000 00000010
21:59:51.903841 AC0000202 Read-Ack Status: 00000010 00000010
21:59:52.787335 T90010700 Write-Data Control setpoint: 7.00
21:59:52.787725 R900132D2 Write-Data Control setpoint: 50.82
21:59:52.912590 B500132D2 Write-Ack Control setpoint: 50.82
21:59:52.913249 A50010700 Write-Ack Control setpoint: 7.00
21:59:53.793374 T00110000 Read-Data Relative modulation level: 0.00
21:59:53.936389 BC0112800 Read-Ack Relative modulation level: 40.00
21:59:54.798180 T80190000 Read-Data Boiler water temperature: 0.00
21:59:54.909214 B40192319 Read-Ack Boiler water temperature: 35.10
21:59:55.798474 T90101500 Write-Data Room setpoint: 21.00
21:59:55.930107 B50101500 Write-Ack Room setpoint: 21.00
21:59:56.796436 T80000200 Read-Data Status: 00000010 00000000
21:59:56.797022 R00000300 Read-Data Status: 00000011 00000000
21:59:56.906086 BC000000A Read-Ack Status: 00000000 00001010
21:59:56.906722 A4000020A Read-Ack Status: 00000010 00001010
21:59:57.078295 T80000200 Read-Data Status: 00000010 00000000
21:59:57.079355 R00000300 Read-Data Status: 00000011 00000000
21:59:57.203296 BC000000A Read-Ack Status: 00000000 00001010
21:59:58.344571 ýOpenTherm Gateway 6.5
21:59:58.596038 T80000200 Read-Data Status: 00000010 00000000
21:59:58.729280 BC000000A Read-Ack Status: 00000000 00001010
21:59:58.891013 T80000200 Read-Data Status: 00000010 00000000
21:59:59.002289 BC000000A Read-Ack Status: 00000000 00001010
21:59:59.174289 T80000200 Read-Data Status: 00000010 00000000
21:59:59.297953 BC000000A Read-Ack Status: 00000000 00001010
22:00:00.094434 T90010700 Write-Data Control setpoint: 7.00
22:00:00.209192 B50011900 Write-Ack Control setpoint: 25.00
22:00:00.343753 SC: 22:00/5
22:00:01.092824 T00110000 Read-Data Relative modulation level: 0.00
22:00:01.202553 BC0112800 Read-Ack Relative modulation level: 40.00
22:00:02.345100 OpenTherm Gateway 6.5
22:00:02.608027 T80190000 Read-Data Boiler water temperature: 0.00
22:00:02.716558 B40192A7F Read-Ack Boiler water temperature: 42.50
22:00:03.612819 T901815B0 Write-Data Room temperature: 21.69
22:00:03.736339 B501815B0 Write-Ack Room temperature: 21.69
22:00:04.607171 T80000200 Read-Data Status: 00000010 00000000
22:00:04.746942 BC0000000 Read-Ack Status: 00000000 00000000
22:00:04.919197 T80000200 Read-Data Status: 00000010 00000000
22:00:05.028488 BC0000000 Read-Ack Status: 00000000 00000000
22:00:05.201941 T80000200 Read-Data Status: 00000010 00000000
22:00:05.332064 BC0000000 Read-Ack Status: 00000000 00000000
22:00:06.112601 T90010700 Write-Data Control setpoint: 7.00
22:00:06.223702 B50011900 Write-Ack Control setpoint: 25.00
Do you know why this happened or any settings can cause this?
Re: Control setpoint override issue
Posted: Fri Oct 11, 2024 10:59 pm
by hvxl
As explained on
the website, a report where the first letter is an 'A' is a response from the OTGW to the thermostat. The thermostat requested a control setpoint of 7.00 ('T' message). The OTGW changed that to 50.82 before sending it to the boiler ('R' message). The boiler acknowledged the request from the OTGW ('B' message). But if the OTGW would send that to the thermostat, it might get confused because it asked for 7.00. This is why the OTGW acknowledges the request from the thermostat with the value it requested ('A' message).
At 21:59:58.344571 and 22:00:02.345100 the OTGW reports the firmware name and version it is running. This is an indication that it experienced a reset. The CS command is not retained across a reset, which is why the OTGW doesn't modify the control setpoint a few times. However, the OTGW should not spontaneously reset. Use the PR=Q command to check the reason for the reset.
Re: Control setpoint override issue
Posted: Sat Oct 12, 2024 8:49 am
by tomecki
Thank you hvxl for all explanations.
I checked reset reason and I got:
Code: Select all
08:44:13.910083 Command: PR=Q
08:44:14.545856 PR: Q=B
According to documentation:
B - Brown out (supply voltage dropped below 4.35V on PIC16F88 or 2.7V on PIC16F1847)
I also checked if reset is happening when only thermostat setting control setpoint and in this situation there is no reset.
My HW is from Nodo:
https://www.nodo-shop.nl/en/featured/21 ... teway.html
and with Wemos D1 WiFi.
I will try to change power supply and check if this will still occur.
Re: Control setpoint override issue
Posted: Mon Oct 14, 2024 12:39 pm
by tomecki
Hi again,
I change power supply and USB cable and second day everything is working fine.
Thanks a lot to hvxl for helping in fixing this issue.