ekutner / home-connect-hass

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

HomeAssistant Home Connect Alt #197

Closed edegraaff closed 1 year ago

edegraaff commented 1 year ago

Describe the bug

I folowed the instructions and on my phone and pc i get this error: error": "unauthorized_client", "error_description": "client not authorized for this oauth flow (grant_type)",

Version of the custom_component

System Information

version core-2023.3.6
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.10.10
os_name Linux
os_version 4.4.180+
arch x86_64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4816 Installed Version | 1.31.0 Stage | running Available Repositories | 1247 Downloaded Repositories | 13
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 1 -- | -- resources | 4 views | 6 mode | storage
Recorder oldest_recorder_run | 8 maart 2023 om 16:17 -- | -- current_recorder_run | 25 maart 2023 om 20:44 estimated_db_size | 337.59 MiB database_engine | sqlite database_version | 3.38.5

Configuration


# EdG 25-03-2023 https://github.com/ekutner/home-connect-hass
home_connect_alt:
  client_id: 756650C0786597C6F5D9458C746F9D2B95FE0secret
  client_secret: 7570395442A8ECAD18D09C4384F475A8Csecret

# https://www.home-assistant.io/integrations/my activation
my:.

Debug log

Paste the exception info here
edegraaff commented 1 year ago

I Guess i made somewhere an error. The HAS is self hosted, the HAS is accessable from the internet with portforwarding, the APP is working fine. There are some firewall rules in place with geolocation rules.

labaland commented 1 year ago

I get this error message, is it the same error?`or how to fix? :)

Logger: homeassistant.setup
Source: setup.py:205

Setup failed for custom integration home_connect_alt: Requirements for home_connect_alt not found: ['home-connect-async==0.7.0-b10'].
ekutner commented 1 year ago

@labaland use the latest version

riksarchen commented 1 year ago

@ekutner Thank you so much for this integration. This should definitely replace the included in Home assistant.

Just for info for others, if you have used the included integration in home assistant you need to delete the credentials for that integration before you use this, otherwise you will get errors.

Can I send you a cup of coffe? :D

ekutner commented 1 year ago

No need, I'm just happy it worked out.