freitdav / BDRthermostatHA

BDR (Baxi, De Dietrich, Remeha) thermostat custom component integration for Home Assistant
GNU General Public License v3.0
48 stars 21 forks source link

Error setting up entry BDR Thermostat for bdr_thermostat #5

Closed HeLeo closed 2 years ago

HeLeo commented 2 years ago

Hi there, Ill installed the component with HACS After installation i get this error:

2022-08-10 20:25:02.719 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry BDR Thermostat for bdr_thermostat File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 103, in _sync_request File "/config/custom_components/bdr_thermostat/init.py", line 59, in async_setup_entry File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 46, in bootstrap File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 71, in _login File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 117, in async_post_request File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 105, in _sync_request

It is this version: Home Assistant 2022.8.3 Supervisor 2022.08.3 Operating System 8.4 Frontend-versie: 20220802.0 - latest

I'll hope you have a solution. Thanx Henk

MuadDib007 commented 2 years ago

Same issue here with a Remeha Thermostat which works fine with the Remeha eTwist app. Apparently Remeha is migrating users from the Etwist app to the Remeha Home app which might impact this addon For more information have a look here (Dutch): https://www.remeha.nl/product/etwist-app-vernieuwd

So I wonder, what is the setup of the users for which the addon works. What is the setup for users with this issue.

In my case I am a Remeha eTwist user and have the same issues:

2022-08-13 22:17:41.657 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry BDR Thermostat for bdr_thermostat File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 103, in _sync_request File "/config/custom_components/bdr_thermostat/__init__.py", line 59, in async_setup_entry File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 46, in bootstrap File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 71, in _login File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 117, in async_post_request File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 105, in _sync_request

mmoerdijk commented 2 years ago

Could you try with this version: https://github.com/freitdav/BDRthermostatHA/pull/6

pawelhulek commented 2 years ago

Hi I have similar issue with Dedietrich device.

Seems like connection issue on login. not sure if the url is correct.

Here is my exception:

requests.exceptions.InvalidSchema: No connection adapters were found for "('https://www.remoteapp.bdrthermea.com/user/baxi/login',)"

mmoerdijk commented 2 years ago

Could you try with the above mentioned PR? That fixes a typo in the url

MuadDib007 commented 2 years ago

In my case it is working fine now. Thank you (Also perhaps some user error as apparently my password was different from what I stored in my password tool.