home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.33k stars 30.27k forks source link

EcoNet: Missing / unavailable values in HA #70212

Closed ghvader closed 2 years ago

ghvader commented 2 years ago

The problem

sensor.electric_water_heater_availible_hot_water shows as "unavailable" in HA but I see the available levels in the android app. possible to fix?

sensor.electric_water_heater_tank_health is this sensor the element health or overall tank health? if overall, my app shows an "element health" possible to add a sensor for that?? if Element health, disregard request.

possible to add leak sensor value? mine show "leak sensor connected" but shows it in green, so I assume that green is a possible value vs leak detected (red i would assume).

Thanks!

What version of Home Assistant Core has the issue?

2022.4.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Rheem EcoNet

Link to integration documentation on our website

https://www.home-assistant.io/integrations/econet

Diagnostics information

not available

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

econet documentation econet source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @vangorra, @w1ll1am23, mind taking a look at this issue as it has been labeled with an integration (econet) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

w1ll1am23 commented 2 years ago

So, the availibile hot water was a typo and was fixed recently. You should have an availAble (A not I) entity.

I am not clear on what the health sensor is, I would assume its the element if thats what the app is showing.

I don't see anything on mine about my leak sensor, must be something on other models. It could be that it will just show up as an alert? If you enable debug logging we could review what the API is sending back for your unit.

ghvader commented 2 years ago

@w1ll1am23 thanks for the follow up. I do now see the correct entity after a reload. is this the correct format for getting a debug log? logs: custom_components.econet: debug

w1ll1am23 commented 2 years ago

Ahh that would help, sorry.

logger:
  logs:
    pyeconet: debug
ghvader commented 2 years ago

@w1ll1am23 log sanitized and attached econet.txt .

w1ll1am23 commented 2 years ago

Okay, so this looks just like mine. There is a value called "leak installed" I think all that indicates is that your unit has a leak sensor. Its set to a value of 1 or 'yes' that value is exposed through the pyeconet library but isnt used in HA. I don't believe it changes value at all. I think the only way to know a leak has happened is to look at the alert count sensor.

ghvader commented 2 years ago

@w1ll1am23 I confirmed what you said today. I threw some water on the sensor. alert count goes to 1 and back to 0 when you clear it. closing ticket. thanks!