Closed MittaAxt closed 1 year ago
Try using your internal address in my.home-assistant.io and make sure you follow the instructions to the letter. Also look for previous issues reporting the same problems. This kind of problem is always the result of a configuration error.
I tried it already, with just using the IP, same result (even if I would expect a different error message, due to a certificate error). I've googled several hours before posting and none of the found "solutions" helped.
I'm running out of ideas, on what could be misconfigured
Just to be on the safe side, I do not need to have a HA Cloud (Nabu Casa) subscription, correct?
You don not need a nabu casa subscription. Read this issue #103 Make sure you use you HA internal address both for adding the integration and for setting the HA instance address in my.home-assistant.io
If this doesn't help then please post a screenshot of your HC app config, a screenshot of the my.home-assistant.io page you landed on after completing the authentication process and the full URL of that page (copy from the browser).
looks like it had sth to do with the mail, even if I read that before registering, seems that some autocorrect might have upped the first letter of the mail. I've deleted all accounts and re-registered with the same mail but different +aliases and also used a different developer portal account "name". Got it registered.
I solved it by changing the registration email on home connect and on developers, in short, your email MUST be ALL lowercase
Now i have this error:
Logger: custom_components.home_connect_alt Source: /config/custom_components/home_connect_alt/init.py:132 Integration: Home Connect Alt (documentation, issues) First occurred: 18:43:46 (1 occurrences) Last logged: 18:43:46
Failed to load data for the HomeConnect object Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/home_connect_async/homeconnect.py", line 139, in async_load_data response = await self._api.async_get('/api/homeappliances') File "/usr/local/lib/python3.10/site-packages/home_connect_async/api.py", line 118, in async_get return await self._async_request('GET', endpoint) File "/usr/local/lib/python3.10/site-packages/home_connect_async/api.py", line 113, in _async_request raise HomeConnectError("Failed to get a valid response from Home Connect server", 902) home_connect_async.common.HomeConnectError: ('Failed to get a valid response from Home Connect server', 902, None, None, None)
Describe the bug
New setup with latest HA 2023.4 failing at the end of the integration setup with a 400 bad request I tried to setup the integration for the first time today and created a developer account, created a new application, added
https://my.home-assistant.io/redirect/oauth
as redirect URL and used the same mail address as user as I'm using in the home connect app. My dryer is configured in the app already and has also access to the internet, checked while using 4G and the home connect app is able to talk to the dryer. At the end of the integration setup, while getting back from the "Link account to home assistant" page (which shows my public URL and port as instance URL), the integration setup just shows "Error"I assume it has sth to do with the oauth overall and maybe not specific with this integration, but as this is the only integration that I'm using, which uses oauth, I can't say if there is sth missing or maybe wrong with 2023.4
I've restarted HA several times already, deleted and recreated the app in the developer portal and updated the id and secret accordingly in the configuration.yaml, but it always behaves the same.
Version of the custom_component
0.6.1
Configuration
Debug log