Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room Setpoint is 0 #46

Closed
PierreAronnax opened this issue Nov 12, 2022 · 7 comments · Fixed by #48
Closed

Room Setpoint is 0 #46

PierreAronnax opened this issue Nov 12, 2022 · 7 comments · Fixed by #48

Comments

@PierreAronnax
Copy link

PierreAronnax commented Nov 12, 2022

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:

11:51:10.945745	T10101200	Write-Data	Room setpoint (MsgID=16): 18.00
11:51:10.997147	B70100000	Unk-DataId	Room setpoint (MsgID=16): 0.00
11:51:11.016209	AD0100000	Write-Ack 	Room setpoint (MsgID=16): 0.00

11:53:15.372293	T10101200	Write-Data	Room setpoint (MsgID=16): 18.00
11:53:15.422900	B70100000	Unk-DataId	Room setpoint (MsgID=16): 0.00
11:53:15.467431	AD0100000	Write-Ack 	Room setpoint (MsgID=16): 0.00

After updating at 11:00 (and downgrading again later).
Schermafbeelding 2022-11-12 om 13 59 38

@mvn23
Copy link
Owner

mvn23 commented Nov 12, 2022

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.

@PierreAronnax
Copy link
Author

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?

@mvn23
Copy link
Owner

mvn23 commented Nov 14, 2022

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.

@mvn23
Copy link
Owner

mvn23 commented Nov 16, 2022

@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?

@PierreAronnax
Copy link
Author

More than happy to help. I run Home Assistant on a Synology NAS in a Docker Container. Please tell me what to do.

@mvn23
Copy link
Owner

mvn23 commented Nov 20, 2022

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.

@PierreAronnax
Copy link
Author

PierreAronnax commented Nov 20, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants