Closed PierreAronnax closed 2 years ago
Thank you for the report. It is indeed caused by #44, combined with the fact that the gateway apparently forwards Unknown Data ID
messages from the boiler as Write Ack
messages. I have made an inquiry (awaiting mod approval) about this behavior, and will fix this problem after I get feedback from there to make sure the fix makes sense.
This behavior is specific for Room Setpoint. From gateway.asm:
We don't want an überclever thermostat to stop sending these
messages, so make sure we always return an acknowledgement
I agree that it should acknowledge the received value from the thermostat, however you cannot require that users upgrade to new (not yet exising) gateway firmware after updating a library, for functionality that used to work before.
I think it is safe to always ignore 0 from both directions, since 0 also indicates no remote override is to be applied.
Also, shouldn't any fix be duplicated to MSG_TRSET2
?
Thanks for the additional info. I wanted to be sure I understood the behavior before preparing a fix, and with this information I do. Either way the fix would have been backwards compatible, but with the info from gateway.asm we can safely assume it will not change in future versions.
@PierreAronnax I have prepared a fix, but I am unable to test as my boiler supports the message ID. Would you be willing to help out with that?
More than happy to help. I run Home Assistant on a Synology NAS in a Docker Container. Please tell me what to do.
As long as you have access to the files in the container we should be able to test.
All that needs to be done is to replace the existing messageprocessor.py
and messages.py
in the container with this one and this one.
You may want to back up the existing files first to recover in case of problems. If the fix is OK the changed files should be overwritten automatically when HA is updated with the new pyotgw version.
I have updated both files and can confirm it is working for me with Home Assistant 2022.11.2 and firmware 5.5 :)
Also, Schelte has released version 5.6 that has also fixed this problem (tested that this morning, downgraded and reproduced the issue first for this test)
After updating Home Assistant to 2022.11.2 the Room Setpoint on the thermostat side is now 0 Likely due to #44
Log from Opentherm Monitor:
After updating at 11:00 (and downgrading again later).