Home Connect integration error

Any news about Home Connect Integration?

Could not go the last step after login and ‘Link account to Home Assistant’ (I’m using http://[internal-adress]:8123), I’m only get an Error Popup and integration ist canceling.

I have the same issue - just get the white popup with “error” and I can’t even start over becuase it always goes straight to that from now on.

Edit: Yup - me too had the capital letter in my mail address… works now…

Doesn’t work for me either. Getting the invalid userid issue and tried all above solutions but none have worked.

I had the same problem after i used following URL Link to Application Credentials – My Home Assistant it worked without problem

2 Likes

My experience seems altogether different - I have been successfully using this integration for months (since mid 2022) and all of a sudden everything just stopped :frowning:

My only way forward was to delete everything including my Home Connect Developer account and start again as though I was setting up the first time.

Have tried almost everything (including fully removing my developer account, going into Chrome incognito mode etc), but nothing seems to work. Just to check: what are you using as “name” in the integration?

Worked for me as well.
I navigated to: http://homeassistant.local:8123/config/application_credentials

deleted the Home Connect Entity, logged out of the developer portal and added the integration again.
Then it worked like a charm!

Thanks @janstenpickle, I was going round in circles with all the info and your summary post nails it. Working with 5 min of reading it :slight_smile:

1 Like

For anyone struggling with this, here’s the steps that resolved it for me.

  1. Ensure that default_config: and my: are not present in configuration.yaml - both of these messed up my callback URL, when clicking the link it would have the incorrect callback URL (default) every time
  2. Verify your callback URL is working by testing https:///auth/external/callback. You should get a “missing state parameter” message.
  3. On home connect developer when setting up your application, name it “HomeAssistant”. Ensure that your callback URL is https:///auth/external/callback.
  4. When adding the integration to home assistant, do so in a fresh incognito tab on chrome to ensure no cookies. The first field (name) will be “HomeAssistant” and copy/paste in the client ID/secret from step 3. It should work and direct you through the final steps of setting it up (logging into various accounts and authorizing)

Since the connection was done in a fresh incognito chrome window, it did not matter that I was currently logged into both the developer account and the home connect one digital ID all on the same computer.

3 Likes

I’ve successfully configured Home Connect after I not just signed out of developer account but deleted all the cookies realted to the developer page!

For me it helped to remove default_config:

but that’s not a good solution.

For me it helped too to remove default_config: from the configuration.yaml.
Then I proceeded to register the integration.
As soon as my devices were visible, I re-added the default_config: line and restarted HA.
So far the devices from HomeConnect are still visible.

hello,

I just got a bosch induction hob, registered on Home Connect and all is working on the app, so I am trying to integrate with HA, then I created a developer account on HC, created a new application and tried to install the HC integration on HA, I still get the "error": "unauthorized_client", I tried to logout from developer portal, tried with another browser, disabled default_config, but without any luck, I am using duckdns to access my HA from internet and used my public domain as URI on Home Connect.
What I noticed from the error, decoding the jwt token I still see the call to /redirect/oauth instead of /auth/external/callback , is this a known issue?

Trying to following your step but i have a doubt. When you talk about the callback link https:///auth/external/callback. Should i put https://192.xx.x.xxx:8123/auth/external/callback??? Because i have it under http and not https! thanks!

yes, I use https://MYDOMAIN.duckdns.org:MYPORT/auth/external/callback because I expose it with https only, but I think you can use http as well

Thanks for your help! Was really stupid. With duckdns it works!

for me it still doesn’t work, can you please describe step by step what you did?
the only difference that I have from the official documentation is the HA port that I use, it is not the standard one.

Had it working but after the update to home connect ( no alt) te application seems not configurable. Is there any instruction on how To remove and reinstall from scratch? I tried removing manually but somehow no success. Any help is appreciated.

You have to remove your credentials first. Go to Setting → Integrations.
Then in the right top of the screen click on the 3 dots. and select “Applications Credentials”. Click on the selecter icon to make them selectable. Then remove the credentials you added for Home Connect.
Now you can start all over adding Home Connect tomyour integrations.

Hi, I had the same issue.

There are two ways to fix it:

  1. Use My Home integration (which is used by default for Home Connect integration). You just need to go to https://my.home-assistant.io/ and make sure your Home Assistant url is set there, for example: http://homeassistant:8123/ . Next go to https://developer.home-connect.com/ and make sure that Redirect URIs is set to https://my.home-assistant.io/redirect/oauth . Log out from Home Connect for Developers. Wait ~20minutes if you applied any changes there. And now you can start Home Connect Integration. Some people suggest to use private profile in web browser for integration process but in my case it was not needed.

  2. Don’t use My Home integration. You need to disable it in default_config in configuraiton.yaml. To achieve this I used
    https://github.com/tronikos/default_config_disabler . In addition make sure there is no my: in configuration.yaml. Next go to https://developer.home-connect.com/ and make sure that Redirect URIs is set to <your home assistant url>/auth/external/callback, for example: http://homeassistant:8123/auth/external/callback . Log out from Home Connect for Developers. Wait ~20minutes if you applied any changes there. And now you can start Home Connect Integration. Some people suggest to use private profile in web browser for integration process but in my case it was not needed. I noticed that some integrations are not working correctly when default_config_disabler is disabling My Home integration, so after setting up Home Connect integration I enabled My Home integration in default_config_disabler.