plugwise / plugwise-beta

Custom-component / development version of the Plugwise Home Assistant platform
MIT License
24 stars 8 forks source link

[BUG]: `opentherm_heating` incorrectly enabled when using only hot tap water with Plugwise Anna thermostat #250

Closed Meessen1 closed 2 years ago

Meessen1 commented 2 years ago

Describe the bug.

The opentherm_heating state should only be enabled when heating (Anna radiator icon), but it also enabled when using just hot tap water (Anna tap icon). This might be a problem specific to Anna as in this discussion it is indicated that it works correctly for Adam.

When just tapping hot water opentherm_heating opentherm_flame_state opentherm_dhw_state are enabled. When just heating opentherm_heating opentherm_flame_state are enabled.

Because of this I cannot create a reliable automation for enabling the floor heating pump when the thermostat is heating. Additionally the HA Anna UI card shows that the system is heating when using hot tap water.

Attached:

What version of Home Assistant Core has the issue?

core-2022.3.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

How did you install plugwise-beta?

Home Assistant Core

What kind of Plugwise device is having issues?

Smile: Anna

What firmware version is your Plugwise product at?

4.0.27

Logging

No response

Diagnostics information

AnnaLogs.zip

Additional information

No response

bouwew commented 2 years ago

Thanks for providing the data, I'll take a look at it now.

bouwew commented 2 years ago

Ok, I've looked at the data. And I indeed found a bug in the plugwise-backend library.

I will fix this bug in the backend. But it will take some time before this ends up in HA Core. I would assume the fix will be in Core release 2022.4.

If you want to test this earlier, you can test it by installing Plugwise-beta. If you are interested in doing that, let me know and I'll inform you about which pw-beta version to test.

Meessen1 commented 2 years ago

Thanks for picking this up so quickly.

I can try to install the beta. It will be my first time using a custom component but should get it working I hope. Which version should I use?

bouwew commented 2 years ago

Please test plugwise-beta v0.21.5a1

Installation instructions are here: https://github.com/plugwise/plugwise-beta/blob/main/README.md Scroll down to How to Install.

If you don't use HACS, the files are here https://github.com/plugwise/plugwise-beta/releases/tag/v0.21.5a1

Meessen1 commented 2 years ago

It is working correctly with this new version, thank you.

Initially I had some problems getting it to run; wasn't receiving data and the Anna screen went blank, but a reboot of Anna fixed that.

bouwew commented 2 years ago

Thanks for testing! And nice to hear that it's working :)

bouwew commented 2 years ago

Closing this issue as the solution is available in both Plugwise-beta and in Core Plugwise of HA Core 2022.4.0b0.