Led function "C" issue with FW 5.5 and 5.6

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

Moderator: hvxl

mike7
Member
Member
Posts: 102
Joined: Mon Dec 02, 2013 8:45 am

Led function "C" issue with FW 5.5 and 5.6

Post by mike7 »

Hi,

I've got an issue with configuration LED for function =C (Comfort mode (Domestic Hot Water Enable) is on). Led doesn't indicate the required state but led is functional and indicates other functions.
hvxl
Senior Member
Senior Member
Posts: 1990
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Led function "C" issue with FW 5.5 and 5.6

Post by hvxl »

Can you elaborate in which circumstances the LED doesn't work as you expect? In my testing, it properly reflects the DHW enable bit (ID0:HB1).

If that is not the case for you, can you run command DP=A2 and collect a log that includes a few occurrences of MsgID 0?
Schelte
mike7
Member
Member
Posts: 102
Joined: Mon Dec 02, 2013 8:45 am

Re: Led function "C" issue with FW 5.5 and 5.6

Post by mike7 »

Thank you for spending time.

My current configuration:
Result = PR: L=FTWMCH
Result = PR: G=30
Firmware - 5.6

if I change LE to other setting - it is working.

Code: Select all

22:08:16.878104  T10014B00  Write-Data  Control setpoint: 75.00
22:08:16.886488  A2=02
22:08:17.009971  BD0014B00  Write-Ack   Control setpoint: 75.00
22:08:17.016471  A2=02
22:08:17.336009  T00114400  Read-Data   Relative modulation level: 68.00
22:08:17.343187  A2=02
22:08:17.459252  BC0114400  Read-Ack    Relative modulation level: 68.00
22:08:17.465086  A2=02
22:08:17.792192  T80304123  Read-Data   DHW setpoint boundaries: 65 35
22:08:17.804581  R80190000  Read-Data   Boiler water temperature: 0.00
22:08:17.811978  A2=02
22:08:17.909203  B4019387F  Read-Ack    Boiler water temperature: 56.50
22:08:17.920321  A40304123  Read-Ack    DHW setpoint boundaries: 65 35
22:08:17.927356  A2=02
22:08:18.228548  T8000130A  Read-Data   Status: 00010011 00001010
22:08:18.238017  A2=02
22:08:18.343190  BC000000A  Read-Ack    Status: 00000000 00001010
22:08:18.350324  A2=02
22:08:18.664795  T10014B00  Write-Data  Control setpoint: 75.00
22:08:18.671906  A2=02
22:08:18.798053  BD0014B00  Write-Ack   Control setpoint: 75.00
22:08:18.806350  A2=02
22:08:19.121519  T00114400  Read-Data   Relative modulation level: 68.00
22:08:19.129621  A2=02
22:08:19.243089  BC0114400  Read-Ack    Relative modulation level: 68.00
22:08:19.250302  A2=02
22:08:19.578812  T00315019  Read-Data   Max CH setpoint boundaries: 80 25
22:08:19.589964  R00120000  Read-Data   CH water pressure: 0.00
22:08:19.596816  A2=02
22:08:19.698157  B40120199  Read-Ack    CH water pressure: 1.60
22:08:19.710358  AC0315019  Read-Ack    Max CH setpoint boundaries: 80 25
22:08:19.717400  A2=02
22:08:20.034644  T8000130A  Read-Data   Status: 00010011 00001010
22:08:20.043126  A2=02
22:08:20.141434  BC000000A  Read-Ack    Status: 00000000 00001010
22:08:20.148483  A2=02
hvxl
Senior Member
Senior Member
Posts: 1990
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Led function "C" issue with FW 5.5 and 5.6

Post by hvxl »

Your boiler fails to return the master status byte as prescribed by the OpenTherm spec: "The status exchange is a special form of conversation which should be initiated by the master by sending a READ-DATA(id=0,MasterStatus,00) message. The slave must respond with READ-ACK(id=0,MasterStatus,
SlaveStatus) to send back the Slave Status information in the same single conversation."
Schelte
mike7
Member
Member
Posts: 102
Joined: Mon Dec 02, 2013 8:45 am

Re: Led function "C" issue with FW 5.5 and 5.6

Post by mike7 »

Thank you for explanation.
BTW Opentherm Monitor indicates the mode, please don't correct that "error" in OT monitor )

PS Boiler is Baxi NUVOLA Duo-tec+
hvxl
Senior Member
Senior Member
Posts: 1990
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Led function "C" issue with FW 5.5 and 5.6

Post by hvxl »

Don't worry. OTmonitor was specifically made to process the mater status byte from the read-data message and the slave status byte from the read-ack message. I'll have a look if I can do the same in the OTGW firmware. The problem is that there are very few unused code words left, so I don't make any promises.
Schelte
mike7
Member
Member
Posts: 102
Joined: Mon Dec 02, 2013 8:45 am

Re: Led function "C" issue with FW 5.5 and 5.6

Post by mike7 »

Thank you.
It seems time has come to change to PIC16F1847 for me
hvxl
Senior Member
Senior Member
Posts: 1990
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Led function "C" issue with FW 5.5 and 5.6

Post by hvxl »

You don't need it for this problem. I managed to make a fix that only took one additional code word. Still 3 words left.
Schelte
mike7
Member
Member
Posts: 102
Joined: Mon Dec 02, 2013 8:45 am

Re: Led function "C" issue with FW 5.5 and 5.6

Post by mike7 »

Good News, thank you.

My thermostat supports MsgId 99, I want to play with operation mode control and other functions for PIC16F1847.
hvxl
Senior Member
Senior Member
Posts: 1990
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Led function "C" issue with FW 5.5 and 5.6

Post by hvxl »

Right, There was no way I could fit that functionality in a PIC16F88. So it would indeed require a PIC16F1847 to play with that. If you do, please let me know the results, because I don't have a thermostat that supports MsgID 99. So the implementation is just my best guess of how it could possibly work.
Schelte
mike7
Member
Member
Posts: 102
Joined: Mon Dec 02, 2013 8:45 am

Re: Led function "C" issue with FW 5.5 and 5.6

Post by mike7 »

hvxl wrote: Fri Dec 02, 2022 12:15 am You don't need it for this problem. I managed to make a fix that only took one additional code word. Still 3 words left.
Hi Schelte,
could you please share the fixed version )
hvxl
Senior Member
Senior Member
Posts: 1990
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Led function "C" issue with FW 5.5 and 5.6

Post by hvxl »

I'm not quite ready to release the new versions, but I can provide you with a pre-release. You used to have a PIC16F88, but you said you were going to switch to a PIC16F1847. Which firmware do you need?
Schelte
mike7
Member
Member
Posts: 102
Joined: Mon Dec 02, 2013 8:45 am

Re: Led function "C" issue with FW 5.5 and 5.6

Post by mike7 »

PIC16F1847 is on the way to me. Hope should come until year end and I'll get toy for holiday.
Please provide version for PIC16F88 I'll test it (but I'll be near the boiler only till Saturday).
hvxl
Senior Member
Senior Member
Posts: 1990
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Led function "C" issue with FW 5.5 and 5.6

Post by hvxl »

Please see the attachment.
Attachments
gateway-5.6.1.hex.gz
C-LED fix for mike7 only.
(9.59 KiB) Downloaded 103 times
Schelte
mike7
Member
Member
Posts: 102
Joined: Mon Dec 02, 2013 8:45 am

Re: Led function "C" issue with FW 5.5 and 5.6

Post by mike7 »

Thank you, the issue is solved. Will monitor for couple of days.
Are there other changes which I can check while I'm near the boiler and weather is not so cold?
Post Reply

Return to “Opentherm Gateway Forum”