ekutner / home-connect-hass

Alternative (and improved) Home Connect integration for Home Assistant
MIT License
638 stars 62 forks source link

Device list arrives but not populated to HA #423

Closed kbalint closed 4 weeks ago

kbalint commented 1 month ago

Describe the bug

I see my devices' list arriving in the debug, but not being set up

Version of the custom_component

1.1.9

Debug log

2024-10-08 10:18:37.504 INFO (MainThread) [homeassistant.components.sensor] Setting up home_connect_alt.sensor
2024-10-08 10:18:37.505 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up home_connect_alt.binary_sensor
2024-10-08 10:18:37.505 INFO (MainThread) [homeassistant.components.select] Setting up home_connect_alt.select
2024-10-08 10:18:37.505 INFO (MainThread) [homeassistant.components.number] Setting up home_connect_alt.number
2024-10-08 10:18:37.505 INFO (MainThread) [homeassistant.components.button] Setting up home_connect_alt.button
2024-10-08 10:18:37.507 INFO (MainThread) [homeassistant.components.switch] Setting up home_connect_alt.switch
2024-10-08 10:18:37.508 INFO (MainThread) [homeassistant.components.time] Setting up home_connect_alt.time
2024-10-08 10:18:37.513 DEBUG (MainThread) [home_connect_async.homeconnect] Exiting SSE event stream
2024-10-08 10:18:37.513 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances (try=1 count=1)

2024-10-08 10:18:37.809 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances (try=1 count=1) [200 OK] ====>
{
  "data": {
    "homeappliances": [
      {
        "brand": "Bosch",
        "connected": false,
        "enumber": "WxxxxxxxxxY/01",
        "haId": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "name": "Washing machine",
        "type": "Washer",
        "vib": "WxxxxxxxxxY"
      },
      {
        "brand": "Bosch",
        "connected": false,
        "enumber": "Sxxxxxxxxxxx2",
        "haId": "xxxxxxxxxxxxxxxxxxxxxxx",
        "name": "Dishwasher",
        "type": "Dishwasher",
        "vib": "SxxxxxxxxxxE"
      },
      {
        "brand": "Bosch",
        "connected": false,
        "enumber": "Wxxxxxxxxxxx1",
        "haId": "xxxxxxxxxxxxxxxxxxx",
        "name": "Dryer",
        "type": "Dryer",
        "vib": "WxxxxxxxxxxxY"
      }
    ]
  }
}

2024-10-08 10:18:37.810 DEBUG (MainThread) [home_connect_async.homeconnect] Connecting to SSE stream

then the Status switches from INIT to READY and nothing happens. Tried with the existing Developer Key, created new, nada. I have the Home Connect app on 4 mobile devices, all wifis were turned off. All HC devices were turned on.

Please advice how to make it work. Thanks!

network info

HA is running in Docker on a Raspberry PI. The Pie has wifi and ethernet connection enabled; it's on the same network, AP and VLAN as the HC devices.

ekutner commented 1 month ago

Please attach the complete log file

kbalint commented 1 month ago

home-assistant_home_connect_alt_2024-10-08T14-56-01.263Z.zip

hi, here's the complete log file. however after some restarts and HA update it started working (there was a Bosch API downtime as well in this timeframe) so I still don't know what caused this issue in the first place.

ekutner commented 4 weeks ago

Happy to hear it's working now. I'm going to assume it was related to the HC service issues and go ahead and close this issue now. Feel free to reopen if the problem appears again, just please include a fresh log in that case.