Page 1 of 1
OTmonitor reports incorrect value for Date message
Posted: Thu Dec 11, 2014 6:50 pm
by Bororo
Hi Schelte,
I just connect OTGW between Siemens QAA73 Thermostat and Geminox THRi 2-17 M75 and found this strange settings for "Day of week and time of day" and "Date" :
Why I see Oct 11 and Saturday there?
I tried to use "Send the current date to the gateway" function, but no change.
Best regards,
Ivan
Re: OTmonitor reports incorrect value for Date message
Posted: Thu Dec 11, 2014 9:15 pm
by yjb
Not sure if this is related, but I have the "time injection" option enabled, which used to work ok, but it failed on 7 dec:
Code: Select all
12:57:00.001068 Command: SC=12:57/7
12:58:00.000645 Command: SC=12:58/7
12:59:00.001212 Command: SC=12:59/7
Even injecting it manually doesn't seem to work:
Code: Select all
20:11:37.159175 Command (via websocket from 84.107.138.62:61590): SC=20:12/5
20:11:37.187292 SC: 20:12/5
20:11:37.209211 BC01C2600 Read-Ack Return water temperature: 38.00
20:11:37.790218 T800500CB Read-Data Application-specific flags: 00000000 203
20:11:38.175948 R801C0000 Read-Data Return water temperature: 0.00
20:11:38.283822 BC01C2600 Read-Ack Return water temperature: 38.00
20:11:38.781405 T800500CB Read-Data Application-specific flags: 00000000 203
20:11:39.249244 R80190000 Read-Data Boiler water temperature: 0.00
20:11:39.356315 BC0192900 Read-Ack Boiler water temperature: 41.00
And again
Code: Select all
20:14:10.506865 BD0010A00 Write-Ack Control setpoint: 10.00
20:14:10.559087 Command (via websocket from 84.107.138.62:61590): SC=20:17/5
20:14:10.587640 SC: 20:17/5
20:14:10.790828 T800500CB Read-Data Application-specific flags: 00000000 203
20:14:11.472455 R801C0000 Read-Data Return water temperature: 0.00
20:14:11.580523 BC01C2600 Read-Ack Return water temperature: 38.00
Tried to reboot the gateway, but that didn't work. It's not very important I think, but still...
Re: OTmonitor reports incorrect value for Date message
Posted: Thu Dec 11, 2014 10:36 pm
by hvxl
Bororo wrote:Why I see Oct 11 and Saturday there?
Probably because that's what the thermostat sent or the boiler returned. Check the message log for MsgIDs 20 and 21.
Re: OTmonitor reports incorrect value for Date message
Posted: Thu Dec 11, 2014 10:47 pm
by hvxl
yjb wrote:Not sure if this is related, but I have the "time injection" option enabled, which used to work ok, but it failed on 7 dec:
12:57:00.001068 Command: SC=12:57/7
12:58:00.000645 Command: SC=12:58/7
12:59:00.001212 Command: SC=12:59/7
You don't appear to have any communication with the gateway here. Notice how you don't get any message for several minutes.
yjb wrote:Even injecting it manually doesn't seem to work:
20:11:37.159175 Command (via websocket from 84.107.138.62:61590): SC=20:12/5
20:11:37.187292 SC: 20:12/5
In what way doesn't that seem to work? The gateway correctly acknowledges the command. (You don't show enough logs to be able to determine whether or not it returns the correct value in response to MsgID 20.)
Re: OTmonitor reports incorrect value for Date message
Posted: Thu Dec 11, 2014 11:14 pm
by yjb
Sorry schelte:
The 1st log is just a summary from the log by doing a "grep "Command: SC"", it was just to demonstrate the last few instances that the command was executed by otmonitor. After that I never san it again while it is configured to do so:
Code: Select all
/opt/opentherm//otmonitor --daemon -f /opt/opentherm/otmonitor.conf
and:
Code: Select all
cat /opt/opentherm/otmonitor.conf
<SNIP>clock {
year false
date false
auto true
}
<SNIP>
For the rest: because the timestamp in the log did not reflect the new time, I assumed it was not accepted.
Not sue how much log I need to provide, let's give this a try, otherwise I can send you an entire days worth of logs
Code: Select all
22:09:05.410952 Command (via websocket from 192.168.0.179:56223): SC=22:15/5
22:09:05.439462 SC: 22:15/5
22:09:06.215888 R80190000 Read-Data Boiler water temperature: 0.00
22:09:06.314707 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:07.266769 R10010A00 Write-Data Control setpoint: 10.00
22:09:07.306717 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:08.314770 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:08.340864 R801C0000 Read-Data Return water temperature: 0.00
22:09:08.448828 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:09.305490 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:09.414423 R00120000 Read-Data CH water pressure: 0.00
22:09:09.521476 B60120000 Data-Inv CH water pressure: 0.00
22:09:10.314398 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:10.487437 R80190000 Read-Data Boiler water temperature: 0.00
22:09:10.595469 B40192200 Read-Ack Boiler water temperature: 34.00
22:09:11.305850 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:11.561846 R801C0000 Read-Data Return water temperature: 0.00
22:09:11.669838 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:12.313552 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:12.635603 R001B0000 Read-Data Outside temperature: 0.00
22:09:12.742714 B601B0000 Data-Inv Outside temperature: 0.00
22:09:13.305516 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:13.316542 R800500CB Read-Data Application-specific flags: 00000000 203
22:09:13.707528 R900E6400 Write-Data Maximum relative modulation level: 100.00
22:09:13.815546 B500E6400 Write-Ack Maximum relative modulation level: 100.00
22:09:14.313320 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:14.782432 R00000000 Read-Data Status: 00000000 00000000
22:09:14.889339 BC0000000 Read-Ack Status: 00000000 00000000
22:09:15.305230 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:15.854282 R10010A00 Write-Data Control setpoint: 10.00
22:09:15.962263 BD0010A00 Write-Ack Control setpoint: 10.00
22:09:16.313777 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:16.928719 R801C0000 Read-Data Return water temperature: 0.00
22:09:17.036708 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:17.305616 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:18.002458 R00120000 Read-Data CH water pressure: 0.00
22:09:18.111650 B60120000 Data-Inv CH water pressure: 0.00
22:09:18.313641 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:19.075360 R80190000 Read-Data Boiler water temperature: 0.00
22:09:19.183389 B40192200 Read-Ack Boiler water temperature: 34.00
22:09:19.234332 Error 03
22:09:19.269314 Error 03
22:09:19.353314 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:19.478362 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:19.806412 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:20.274213 R001B0000 Read-Data Outside temperature: 0.00
22:09:20.382275 B601B0000 Data-Inv Outside temperature: 0.00
22:09:20.798109 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:20.809585 R800500CB Read-Data Application-specific flags: 00000000 203
22:09:21.019434 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:21.030488 R800500CB Read-Data Application-specific flags: 00000000 203
22:09:21.390204 R801C0000 Read-Data Return water temperature: 0.00
22:09:21.498207 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:21.823168 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:22.455725 R80190000 Read-Data Boiler water temperature: 0.00
22:09:22.563822 B40192200 Read-Ack Boiler water temperature: 34.00
22:09:22.859493 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:23.524483 R80380000 Read-Data DHW setpoint: 0.00
22:09:23.631597 BE0380000 Data-Inv DHW setpoint: 0.00
22:09:23.823595 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:24.586391 R801C0000 Read-Data Return water temperature: 0.00
22:09:24.696382 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:24.858195 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:25.654788 R00000000 Read-Data Status: 00000000 00000000
22:09:25.761807 BC0000000 Read-Ack Status: 00000000 00000000
22:09:25.796783 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:26.723341 R10010A00 Write-Data Control setpoint: 10.00
22:09:26.805354 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:27.797611 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:27.823643 R00110000 Read-Data Relative modulation level: 0.00
22:09:27.931545 BC0110000 Read-Ack Relative modulation level: 0.00
22:09:28.805138 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:28.897854 R801C0000 Read-Data Return water temperature: 0.00
22:09:29.004810 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:29.796736 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:29.971833 R801C0000 Read-Data Return water temperature: 0.00
22:09:30.080853 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:30.832789 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:31.038867 R80190000 Read-Data Boiler water temperature: 0.00
22:09:31.145790 B40192200 Read-Ack Boiler water temperature: 34.00
22:09:31.796735 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:32.101833 R80380000 Read-Data DHW setpoint: 0.00
22:09:32.208857 BE0380000 Data-Inv DHW setpoint: 0.00
22:09:32.805791 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:33.175804 R801C0000 Read-Data Return water temperature: 0.00
22:09:33.283804 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:33.796759 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:34.248787 R00000000 Read-Data Status: 00000000 00000000
22:09:34.355759 BC0000000 Read-Ack Status: 00000000 00000000
22:09:34.805765 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:35.322770 R10010A00 Write-Data Control setpoint: 10.00
22:09:35.429879 BD0010A00 Write-Ack Control setpoint: 10.00
22:09:35.795766 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:36.395755 R00110000 Read-Data Relative modulation level: 0.00
22:09:36.502794 BC0110000 Read-Ack Relative modulation level: 0.00
22:09:36.805801 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:37.469809 R801C0000 Read-Data Return water temperature: 0.00
22:09:37.577837 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:37.796687 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:38.543769 R801C0000 Read-Data Return water temperature: 0.00
22:09:38.650868 BC01C2000 Read-Ack Return water temperature: 32.00
22:09:38.804799 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:39.616734 R80190000 Read-Data Boiler water temperature: 0.00
22:09:39.723747 B40192200 Read-Ack Boiler water temperature: 34.00
22:09:39.795687 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:40.689771 R80380000 Read-Data DHW setpoint: 0.00
22:09:40.804787 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:41.730862 R801C0000 Read-Data Return water temperature: 0.00
22:09:41.808690 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:42.817744 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:42.829699 R00120000 Read-Data CH water pressure: 0.00
22:09:42.935762 B60120000 Data-Inv CH water pressure: 0.00
22:09:43.808763 T800500CB Read-Data Application-specific flags: 00000000 203
22:09:43.900834 R80190000 Read-Data Boiler water temperature: 0.00
22:09:44.008689 B40192200 Read-Ack Boiler water temperature: 34.00
Also just noticed that I get a "Fout 203" on my Celcia-20. But that might not be related.
Last, no rush from my side, all seems to be working fine. And I don't think that the time will make that much of a difference.
EDIT:
Power off of the gateway as well as the boiler cleared the 203 error, and guess what: I now also see the automatic time updates reappearing:
Code: Select all
22:32:59.429652 BC000030A Read-Ack Status: 00000011 00001010
22:33:00.000636 Command: SC=22:33/4
22:33:00.028941 SC: 22:33/4
22:33:00.392907 T10015500 Write-Data Control setpoint: 85.00
Re: OTmonitor reports incorrect value for Date message
Posted: Thu Dec 11, 2014 11:44 pm
by hvxl
The gateway basically only reports which opentherm messages it sends and receives. The timestamp in the log is added by otmonitor and reflects the time a report was received according to the clock of the PC otmonitor is running on. Also the translation of the opentherm messages is provided by otmonitor. So the gateway really only produces the second column you see in the logs.
The SC command tells the gateway which values to return in response to MsgID 20 in roughly the next minute. It has no effect on the timestamp added by otmonitor.
Read
http://otgw.tclcode.com/firmware.html#operation to get a better understanding of which information the gateway provides and what the different commands do.
According to the equipment matrix, the Celcia 20 never requests MsgID 20, so sending the time to the gateway is not going to be very useful in that configuration.
Re: OTmonitor reports incorrect value for Date message
Posted: Fri Dec 12, 2014 8:23 pm
by yjb
Thanks for explaining Schelte. I was aware of the equipment table, I just didn't realize that I couldn't set the time for the Celcia-20.