ekutner / home-connect-hass

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

No Devices get added #354

Closed mr-gosh closed 3 months ago

mr-gosh commented 4 months ago

Describe the bug

When I add the home-connect Account according to the Readme - the link is successfull - but only 1 device and 3 entitites get created. thats it.

Version of the custom_component

Configuration

Debug log

2024-02-29 14:49:46.244 DEBUG (MainThread) [home_connect_async.api] 
HTTP GET /api/homeappliances (try=1 count=2)

2024-02-29 14:49:46.380 DEBUG (MainThread) [home_connect_async.api] HTTP GET /api/homeappliances (try=1 count=2) [200]
2024-02-29 14:49:49.867 ERROR (MainThread) [custom_components.home_connect_alt.button] {
  "global": {
    "api_host": "https://api.home-connect.com"
  },
  "7712c61cd5fc41306fffb147931c9b01": {
    "name_template": "$brand $appliance - $name",
    "delayed_ops": "default",
    "log_mode": 0,
    "appliance_settings": {},
    "sse_timeout": 15,
    "language": "en-GB",
    "translation_mode": "local",
    "entity_settings": {
      "BSH.Common.Option.FinishInRelative": {
        "type": "DelayedOperation",
        "unit": null,
        "class": "home_connect_alt__timespan"
      },
      "BSH.Common.Option.StartInRelative": {
        "type": "DelayedOperation",
        "unit": null,
        "class": "home_connect_alt__timespan"
      },
      "BSH.Common.Option.ElapsedProgramTime": {
        "unit": null,
        "class": "home_connect_alt__timespan"
      },
      "BSH.Common.Option.EstimatedTotalProgramTime": {
        "unit": null,
        "class": "home_connect_alt__timespan"
      },
      "BSH.Common.Option.RemainingProgramTime": {
        "unit": null,
        "class": "timestamp"
      },
      "BSH.Common.Status.DoorState": {
        "type": "Boolean",
        "class": "door",
        "icon": null,
        "on_state": "BSH.Common.EnumType.DoorState.Open"
      },
      "Refrigeration.Common.Status.Door.Freezer": {
        "type": "Boolean",
        "class": "door",
        "icon": null,
        "on_state": "Refrigeration.Common.EnumType.Door.States.Open"
      },
      "Refrigeration.Common.Status.Door.Refrigerator": {
        "type": "Boolean",
        "class": "door",
        "icon": null,
        "on_state": "Refrigeration.Common.EnumType.Door.States.Open"
      },
      "Connected": {
        "class": "connectivity"
      }
    },
    "primary_config_entry": true,
    "homeconnect": "<not serializable>",
    "services": "<not serializable>",
    "auth": "<not serializable>"
  }
}
2024-02-29 14:49:49.869 ERROR (MainThread) [custom_components.home_connect_alt.button] {
  "appliances": {},
  "_disabled_appliances": [],
  "_sse_timeout": 15
}
2024-02-29 14:49:57.352 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-02-29 14:50:52.352 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2024-02-29 14:51:18.273 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
ekutner commented 4 months ago

The API didn't return any appliances. Please see troubleshooting suggestions in the FAQ in the README.

ekutner commented 4 months ago

Not sure what the mqtt server has to do with it 🦋 as long as it's working that's good.

mr-gosh commented 4 months ago

Not sure what the mqtt server has to do with it 🦋 as long as it's working that's good.

Commented the wrong bug - this one is still open. But I will walk through the troubleshooting guide once more and comment with the results here.

mr-gosh commented 3 months ago

Please re-open the bug. I walked through all troubleshooting steps and also tried a lot of the suggested steps here https://community.home-assistant.io/t/home-connect-integration-error/440268/60

I can definitely see both appliances in the app without wlan I tried another browser, without ad-blocking software in a private browsing mode There are no errors in the interface

ekutner commented 3 months ago

ok, then please enable debug logging, then set Log Level to 7 in the integration options and upload the full log file.

mr-gosh commented 3 months ago

Ok - i found the error. Siemens switched to the new login mechanism and I had the old integration in another account than the new singlekeyid - there I needed to create a new developer account.

So it worked on the other account just because it was created before the singlekeyid was deployed... - sorry but that was difficult to identify!