[HomeConnect] HomeAppliance is offline error


I’ve been using HomeConnect integration to communicate with my Bosh dishwasher over half year without any problems, but for couple of days any entity related to it is unavailable. In the HA logs the only error(s) I see is:

Error while trying to turn on device: {'key': 'SDK.Error.HomeAppliance.Connection.Initialization.Failed', 'description': 'HomeAppliance is offline'}

when I’m sending command. I have checked wifi connection, ping’s are OK.
The strange thing is that I can communicate with dishwasher using official HomeConnect android app (I can turn it on/off and change settings).

Any ideas how to diagnose and solve that?

System Health

version: core-2021.8.8
installation_type: Home Assistant Container
dev: false
hassio: false
docker: true
user: root
virtualenv: false
python_version: 3.9.6
os_name: Linux
os_version: 5.4.0-80-generic
arch: x86_64
timezone: Europe/Warsaw

GitHub API: ok
Github API Calls Remaining: 4610
Installed Version: 1.13.2
Stage: running
Available Repositories: 937
Installed Repositories: 19

can_reach_server: ok
requests_remaining: 883
requests_per_day: 1000

dashboards: 2
resources: 4
views: 7
mode: storage

Same here. Not exactly sure when it started but i think it came with the first beta of 2021.9.0
Devices are available through the HomeConnect App but unavailable in HA.

Sometimes they are available for a few hours after a restart of HA.

But i cannot find any errors in the log

Update: I was able to partially fix the problem by downgrading the component to 2021.8.8

I’m able to control the devices now for example on or off , control lights or change the program but the status won’t be reported back which makes it kinda useless

Found something in the logs. Did something on the api change? Works for around a day before the token expires which seems to match the documentation

Logger: homeconnect
Source: /usr/local/lib/python3.9/site-packages/homeconnect/api.py:72
First occurred: 19:52:38 (1 occurrences)
Last logged: 19:52:38

Token expired.

Having same issue. Don’t think it’s directly related to HA integration. When I manually consume the GET /homeappliances (API Documentation | Home Connect Developer Program) I see that the “connected” flag is false. For me, fastest way to get it connected again is to remove power from dishwasher in order to get a cold reboot. The home connect android app seems to have a fallback to connect to dishwasher through a local API, which is why that one sometimes still works.

Same here. Has anyone found a way to solve this? Puzzles me…

I have the same issue! Hooking up! :slight_smile: