freitdav / BDRthermostatHA

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

Home Assistant 2023.6.3 update #46

Open 111lisu opened 1 year ago

111lisu commented 1 year ago

Home Assistant 2023.6.3, Supervisor 2023.06.2 Operating System 10.3 I have a problem after updating

2023-06-25 16:30:49.860 ERROR (SyncWorker_0) [custom_components.bdr_thermostat.BdrAPI] ERROR with post request to https://ruapi.remoteapp.bdrthermea.com/v1.0/pairings: 480
2023-06-25 16:30:50.802 ERROR (MainThread) [root] Error pairing integration with BDR
2023-06-25 16:30:50.809 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry BDR Thermostat for bdr_thermostat
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/bdr_thermostat/__init__.py", line 59, in async_setup_entry
    await api.bootstrap()
  File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 47, in bootstrap
    await self._pair()
  File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 91, in _pair
    raise Exception('Error pairing integration with BDR')
Exception: Error pairing integration with BDR

after pairing again:

2023-06-25 18:35:42.864 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry BDR Thermostat for bdr_thermostat
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/bdr_thermostat/__init__.py", line 59, in async_setup_entry
    await api.bootstrap()
  File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 46, in bootstrap
    await self._login()
  File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 74, in _login
    raise Exception('ERROR logging to BDR. Perhaps wrong password??')
Exception: ERROR logging to BDR. Perhaps wrong password??

Does anyone have similar?

PaPe3 commented 1 year ago

yes, the repository is completely non-functional

florisheyvaert commented 1 year ago

Same issue here

lukenova88 commented 1 year ago

same issue here

ladaan commented 1 year ago

I think it is related to a modification of the API on the service side. I came to this issue when the "Smart TC" app stopped working and only "De Dietrich Smart" app was available. The same issue was also on HA 2023.1 before I upgraded to the latest HA where the issue still persists. The positive is The De Dietrich Smart displays the "hot water" temperature so it might be also available in the new BDRthermostatHA? Where to get the API definition? Did anybody manage to get it? I will try to contact the developer of "De Dietrich Smart" app anyway.

freitdav commented 1 year ago

Hi guys, @ladaan is right. Due to API changes and transition to new De Dietrich Smart app, I am now unable to fix the issue. In my region, the new app is not yet rolled out and I can not proceed with testing the new API. So, right now, consider the integration deprecated and hopefully we will be able to transform to the new app soon. Thank you for understanding.

ladaan commented 1 year ago

Hi freitdav, do you have current API definition that I could try to play with it? In the meanwhile I might get something from the app@dedietrichthermique.com and try to play with it a bit. Thank you.

ladaan commented 1 year ago

Here is a message from Chris from BDR thermea. "We are not offering an open api for our service. This is still on the roadmap, but not for this year. De Dietrich Smart is working on a different server environment, so we changed also the api’s. That’s also the reason that the HA stopped working." Not a good sign..

freitdav commented 1 year ago

@ladaan Thank you for being proactive in this matter. They never offered open API, so it means that all the work behind this integration must be repeated and everything refactored. As I stated before, I currently can't even test it out because they did not enable new Smart app in my region.

jeroenvdd commented 1 year ago

Here is a message from Chris from BDR thermea. "We are not offering an open api for our service. This is still on the roadmap, but not for this year. De Dietrich Smart is working on a different server environment, so we changed also the api’s. That’s also the reason that the HA stopped working." Not a good sign..

that's indeed a bad sign, I have a reply from 2019 that they were testing direct google assistant integration too, well that's a shame had 4 thermostats working perfectly in HA that will need to be replaced now :)

jeroenvdd commented 1 year ago

I've just found this repo: https://github.com/msvisser/remeha_home

this one works with the new remeha api!