cotwild / home_connect

This is a quick n' dirty component for Home Assistant to read the state of a HOME CONNECT devices.
20 stars 0 forks source link

Washing machine sensors changed #3

Open golles opened 4 years ago

golles commented 4 years ago

Hi @cotwild, thanks a lot for this custom component, I was using it fine for a few months, but now I'm getting issues with 1 device. I've got a dishwasher (sbv) and a washing machine (wawh). For the washing machine sensor.bosch_wawh2643nl_program doesn't update anymore since February 5th 15:17:25. sensor.bosch_wawh2643nl_state doesn't update anymore since March 15th 23:20:49. (Not sure if these timestamps help to identify the issue, I got those from Grafana. Another thing I noticed is that sensor.bosch_wawh2643nl_elapsed isn't updating, I'm not using this sensor, but wanted to let you know as well.

For the dishwasher, everything seems to work fine

Schermafbeelding 2020-05-03 om 12 52 01

dishwasher was turned off, washing machine was running

Config:

❯ cat packages/home_connect.yaml 
sensor:
  - platform: home_connect
    refresh_token: "long_string"

Sources:

❯ pwd && git status
/some/path/to/hass/external/home_connect
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

Let me know if you need anything more from me to look into this, thanks again!

Edit: I actually noticed that this issue is written in the log:

Log Details (WARNING)
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:443
First occurred: 12:49:51 PM (1 occurrences)
Last logged: 12:49:51 PM

Entity sensor.bosch_wawh2643nl_state is incorrectly being triggered for updates while it is disabled. This is a bug in the home_connect integration.
golles commented 4 years ago

Actually my last edit triggered me that there might be something wrong in my setup. I think I've accidentally disabled the sensor.bosch_wawh2643nl_state, after enabling it, everything seems to work fine:

Schermafbeelding 2020-05-03 om 14 39 55

So only the sensor.bosch_wawh2643nl_elapsed isn't being set. Is this something you want to look into?