Page 1 of 1

Room temperature response

PostPosted: Wed Jan 11, 2017 2:47 pm
by butyl
This days I have happily finished OTG assembly and it seems to be working well.
But I have noticed that there is "Unk-DataId Room temperature: 0.00" response from the boiler in the log. Consequently the termostat stops sending the writes to the boiler.
Code: Select all
18:59:48.427607  T90181800  Write-Data  Room temperature: 24.00
18:59:48.571466  BF0180000  Unk-DataId  Room temperature: 0.00
I have read that it is perhaps possible to influence it using AA and UI commands.
Can someone help me how to influence the answer returned to the thermostat, please.

Re: Room temperature response

PostPosted: Wed Jan 11, 2017 8:36 pm
by D_Hailsham
unk-DataID means Unknown Data ID, i.e the boiler does not recognise the ID. So the Gateway stops sending the ID.

Are you talking about ID9 or ID16?

Re: Room temperature response

PostPosted: Wed Jan 11, 2017 10:25 pm
by marcelr
It's ID 24. (0x18), only sent to a boiler so it can display it. It's not used for control or anything. Not every boiler supports it.

Re: Room temperature response

PostPosted: Thu Jan 12, 2017 10:05 am
by butyl
marcelr wrote:It's ID 24. (0x18), only sent to a boiler so it can display it. It's not used for control or anything. Not every boiler supports it.

Thank you for answer.
I understand the Room temperature value is not used for control or any function. There is no need to let the boiler show the room temperature.
But I need that the thermostat do not stop sending Room temperature value. I need to record room temperature value continuously.

So how can I influence the answer returning to the thermostat? Can you (or someone) help me, please?

Re: Room temperature response

PostPosted: Fri Jan 13, 2017 10:10 am
by butyl
I discovered that thermostat does not stop sending "Write-Data Room temperature" command after receiving "Write-Ack" response from gateway on first occurance:
Code: Select all
08:57:02.729497  T90181700  Write-Data  Room temperature: 23.00
08:57:03.024762  BF0180000  Unk-DataId  Room temperature: 0.00
08:57:03.035733  AD0180001  Write-Ack   Room temperature: 0.00

The SR=24:0.0 command must be sent before thermostat sends first "Write-Data Room temperature" command after its initialisation.
Phisical thermostat reconnecting after the SR command is not the best solution.
Is there any way how to automaticaly send the SR command before the termostat reconnect or after power up of the opentherm gateway?
Is there possibility to force the OTG remember SR settings?

Re: Room temperature response

PostPosted: Fri Jan 13, 2017 10:42 pm
by hvxl
Unfortunately there is not enough EEPROM data storage left in the PIC to store all SR commands. So the best solution is probably for some external program that monitors the OTGW output to look for "OpenTherm Gateway" and whenever that appears, send the SR command.

Re: Room temperature response

PostPosted: Tue Jan 24, 2017 11:57 am
by butyl
Big thanks for great design, programming effort and support, Schelte.
Finally I've decided to make changes directly on the Gateway program. I've added few lines in the "special treatment" section:
Code: Select all
MessageID24   btfsc   MsgResponse
      goto   messageack   ;Turn request into acknowledgement
      goto   WordResponse


It seems to be the best solution for me now.