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
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?
For anyone struggling with this, here’s the steps that resolved it for me.
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
Verify your callback URL is working by testing https:///auth/external/callback. You should get a “missing state parameter” message.
On home connect developer when setting up your application, name it “HomeAssistant”. Ensure that your callback URL is https:///auth/external/callback.
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.
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.
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!
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.
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.
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.
This is the solution if you have already integrated home connect and have created a new app at https://developer.home-connect.com/. Then, of course, the credentials are no longer valid.