midea_ac_lan icon indicating copy to clipboard operation
midea_ac_lan copied to clipboard

Removal of Status TBH and DHW will possible break Things - C3 type device - Heat Pump Wi-Fi Controller

Open erikgieseler opened this issue 2 years ago • 11 comments

HA core version

2023.10.3

Intergration version

0.3.22

Device type and model

C3 - Heat Pump Wi-Fi Controller 171H120F

Used App

SmartHome

The description of problem

Why were the sensors "binary_sensor.{DEVICEID}_status_tbh" and "binary_sensor.{DEVICEID}_status_dhw" has been removed in 0.3.22 ?

These were working as expected until now.

Due to the removal of the sensor, it is no longer possible, for example, to query whether the heat pump is running in hot water or heating mode. If I read the source code correctly, you can only see whether the hot water mode is activated or not.

1

2

The logs

No response

erikgieseler avatar Oct 16 '23 17:10 erikgieseler

This is the view from version 0.3.21. Heating and DHW (Warmwasser) modes are both enabled. On the screenshot you can see that currently only DHW is running, not Heating.

3

erikgieseler avatar Oct 16 '23 17:10 erikgieseler

I support that TBH status and DHW status were necessary features. Please restore these functions if possible. Currently, my DHW automation is broken.

vilkur avatar Oct 16 '23 21:10 vilkur

The version v0.3.22 includes two switches, tbh and dhw_power, which have the same functionality as status_tbh and status_dhw. Therefore, I have removed the latter two. You can use the status of these two switches in automation, can’t you?

georgezhao2010 avatar Oct 17 '23 04:10 georgezhao2010

Thanks for the advice, I’ll try to use the THB switch instead of the THB status in automation. But it turned out that the problem is that none of the switches, neither disinfection nor THB, can be turned off. If the THB relay is enabled via HA, it can only be disabled via the app and not via the HA switch.

vilkur avatar Oct 17 '23 05:10 vilkur

Thanks for the advice, I’ll try to use the THB switch instead of the THB status in automation. But it turned out that the problem is that none of the switches, neither disinfection nor THB, can be turned off. If the THB relay is enabled via HA, it can only be disabled via the app and not via the HA switch.

Well, I’ll take a look at this issue. Could you show me the logs where you turned tbh on/off in ha?

georgezhao2010 avatar Oct 17 '23 15:10 georgezhao2010

I also have the same problem with the TBH. home-assistant_midea_ac_lan_2023-10-17T15-26-10.281Z.log

erikgieseler avatar Oct 17 '23 15:10 erikgieseler

The version v0.3.22 includes two switches, tbh and dhw_power, which have the same functionality as status_tbh and status_dhw. Therefore, I have removed the latter two. You can use the status of these two switches in automation, can’t you?

You cannot combine the switch with the status of the DHW. Both must be separate. You can activate the DHW mode on the heat pump with the switch but this does not automatically mean that the heat pump will run directly and produce hot water. For that you need the DHW status. The same applies to the TBH switch and status. In version 0.3.21 this was implemented correctly.

erikgieseler avatar Oct 17 '23 15:10 erikgieseler

The version v0.3.22 includes two switches, tbh and dhw_power, which have the same functionality as status_tbh and status_dhw. Therefore, I have removed the latter two. You can use the status of these two switches in automation, can’t you?

You cannot combine the switch with the status of the DHW. Both must be separate. You can activate the DHW mode on the heat pump with the switch but this does not automatically mean that the heat pump will run directly and produce hot water. For that you need the DHW status. The same applies to the TBH switch and status. In version 0.3.21 this was implemented correctly.

OK, I got it.

georgezhao2010 avatar Oct 17 '23 16:10 georgezhao2010

please bring back those sensors :(

themayna avatar Oct 21 '23 06:10 themayna

The sensors are included in the master branch again. Simply download the version "master" again in the HACS menu under "Midea AC LAN". After the final release you can switch back to the normal version.

erikgieseler avatar Oct 21 '23 08:10 erikgieseler

I definitelly agree with this, the sensors dhw/heating/tbh status are critical for the automations with this device type, they never can't be combined in switches.

michaapyr avatar Oct 23 '23 07:10 michaapyr