freitdav / bdrthermostatha Goto Github PK
View Code? Open in Web Editor NEWBDR (Baxi, De Dietrich, Remeha) thermostat custom component integration for Home Assistant
License: GNU General Public License v3.0
BDR (Baxi, De Dietrich, Remeha) thermostat custom component integration for Home Assistant
License: GNU General Public License v3.0
new mobile app : probably api has changed by the way, any idea ?
appairing code not working
Hi,
I was able to connect to my Remeha etwist thermostat by for some reason not all of de info is vissible to me.
there are only 3 entities available
I also attach the config of the dashboard
See the log below
Logger: homeassistant.components.sensor
Source: custom_components/bdr_thermostat/BdrAPI.py:195
Integration: Sensor (documentation, issues)
First occurred: 09:47:34 (2 occurrences)
Last logged: 09:47:34
bdr_thermostat: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 477, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 702, in async_device_update
await task
File "/config/custom_components/bdr_thermostat/sensor.py", line 207, in async_update
status = await self._bdr_api.get_status()
File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status
api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"]
KeyError: 'statusUri'
Confirming that DeDietrich Naneo is working! Very Nice! Looked something like this for a long time ago :)
Notes from my side:
Also if you are planning to continue this development would be nice to have DHW(Boiler) internal and external temperature sensors implementation.
2023-02-26 21:44:24.804 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for bdr_thermostat using this method at custom_components/bdr_thermostat/__init__.py, line 62: hass.config_entries.async_setup_platforms(config_entry, PLATFORMS)
This will stop working in HASS 2023.3
Try to connect with my Remeha and eTwist getting this errors:
ERROR with post request to https://ruapi.remoteapp.bdrthermea.com/v1.0/pairings: 480
And
Error pairing integration with BDR
And
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 365, 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
Any idea why?
Hi,
My Baxi heat pump has 3 modes:
Whenever I set my Baxi into "Cooling" manually via the thermostat or the app, this integration comes up as "Unknown" mode in the UI. Moreover, I can't seem to be able to configure "Cooling" from here.The integration here only seems to support Off and Auto. Is there a way to add 'Cooling' as an hvac_mode?
System Info:
RU2
Version: 1.93.15
EHC04
Version: 2.4
MK2
Version 2.1
SCB-04
Version 1.2
Happy to do myself if anyone can provide some guidance?
Is there a chance to set the fireplace mode in the Smart TC° (Enable Fireplace.)
Page 19 - 3.7 https://www.dedietrich-heating.com/index.php/download/file?file=var/ddth/storage/original/application/ef260f95d78a748ca4337bfdd05da96e.pdf&filename=NOT-7720691-01_EN.pdf
I am getting in the logs exceptions like this:
ERROR with get request to https://ruapi.remoteapp.bdrthermea.com/v1.0/central-heating-zone/<SOME_ID>/status: 504
ERROR with get request to https://ruapi.remoteapp.bdrthermea.com/v1.0/system/water-pressure: 504
ERROR with get request to https://ruapi.remoteapp.bdrthermea.com/v1.0/system/flow-temperature: 504
ERROR with get request to https://ruapi.remoteapp.bdrthermea.com/v1.0/system/error-status: 504
2023-05-05 15:47:51.357 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration bdr_thermostat which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-05-05 15:54:07.759 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry BDR Thermostat for bdr_thermostat
File "/config/custom_components/bdr_thermostat/init.py", line 62, in async_setup_entry
2023-05-05 15:54:38.397 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry BDR Thermostat for bdr_thermostat
File "/config/custom_components/bdr_thermostat/init.py", line 62, in async_setup_entry
I am using the graph card on my dashboard for showing temperatures on the different floors in my house. Just the room temperature, which is provided through a climate-entity, cannot be used in the graph-card because it does not support the climate entity.
Would it be possible to move (or add), the temperature to a sensor-entity instead. This would make my temperature dashboard more consistent.
I loaded the integration and put the correct parameters but it gives pairing error.
mobile app works ...
Gives the same error both with the app pairing code and creating a new pairing code from the thermostat
Logger: custom_components.bdr_thermostat.BdrAPI
Source: custom_components/bdr_thermostat/BdrAPI.py:109
Integration: BDR Thermostat (documentation)
First occurred: 21:12:49 (1 occurrences)
Last logged: 21:12:49
ERROR with post request to https://ruapi.remoteapp.bdrthermea.com/v1.0/pairings: 480
Hi,
I can't seem to find this integration in HACS. Are others experiencing this as well?
Hi,
I'm running into an issue with setting up the thermostat. This is what it says:
Logger: homeassistant.config_entries
Source: config_entries.py:399
First occurred: 16:56:44 (2 occurrences)
Last logged: 17:09:38
Error setting up entry BDR Thermostat for bdr_thermostat
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 399, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/bdr_thermostat/init.py", line 62, in async_setup_entry
hass.config_entries.async_setup_platforms(config_entry, PLATFORMS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
Any help is appreciated!
When I change my temperature the status is first on Temporary Override. When change again it is set to Manual. Thats not how I like it because the clock schedules don't work anymore.
Regards, Niels.
Hi,
djibi
Home Assistant 2023.4.5
HA OS 9.5
DD vivadens mcr 24/28 bic plus
Sorry for the font size...
Logger: homeassistant.components.climate
Source: custom_components/bdr_thermostat/climate.py:108
Integration: Klimaat (documentation, issues)
First occurred: 15:15:11 (1 occurrences)
Last logged: 15:15:11
bdr_thermostat: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update
await task
File "/config/custom_components/bdr_thermostat/climate.py", line 108, in async_update
self._attr_extra_state_attributes["next_temp"] = next_switch[
KeyError: 'roomTemperatureSetpoint'
Hi, I've been trying hard for months to tweak the previous integrations that you've used for building this one, I was using the NodeRed version from Domaray as a baseline.
I don't know if it still works with the new API from Remeha but for me everything went to trash when I was forced to migrate...
I have contacted Remeha and ask them about their development roadmap and their support of the Home Assistant community with their new app, and if they would publish their API details.
I did not get all answers from them but a link to this integration:
https://github.com/msvisser/remeha_home
The seem to wish to support collaboration with the user community around Home Assistant, so I switched to this integration when I was forced to migrate to their new app and I must say it works well.
So, although I see you've been doing quite some effort with your integration I'd suggest you have a look at this other integration and maybe try to align if you think you have features that are missing in the other one.
I've just submitted a pull request to add what I was doing with the older API in NodeRed and it has been accepted and integrated. I think it's worth converging to a single integration so that we can all put out efforts in the same direction, so that we can put also some weight in front of Remeha developers.
For example I mentioned already to Remeha the lack of transparency of the API to retrieve the gas consumption historical data, that many people were already trying to get with the older API to no avail. And their decision to use m3 instead of kg. Together as a user community we should ask for both (for people using natural gas and those using propane gas bottles). Things like this.
Hope this helps!
Seems it is removed from the HACS-list? Or am I geting blind? :)
First of all, thanks for that app!
Then I have 2 zones in my Smart TC, one for heaters and the other one for the central heating system which is the one I need to control but by default the app takes the first zone which of course in not the one I need.
Is there a way to change the zone?
Kind regards
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
Hello,
After the integration in HA of the plugin I manage to get only two entities, the entity allowing to have the water temperature (sensor.bdr_thermostat_water_temperature) and the error report (sensor.bdr_thermostat_errors)
This is a de Dietrich installation, with a smart TC GTW-16. Everything works fine on the smart TC application, but I would like to be able to control it directly from HA to limit the number of applications and connect it to my other modules.
Here is a copy of my HA logs:
2022-11-05 19:04:56.210 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bdr_thermostat which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-11-05 19:05:02.530 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 291, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-11-05 19:05:02.538 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 328, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-11-05 19:05:02.539 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 175, in async_update consumptions = await self._bdr_api.get_consumptions() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 233, in get_consumptions api_endpoint = self.capabilities["producers"]["energyConsumptionUri"] KeyError: 'energyConsumptionUri' 2022-11-05 19:05:02.540 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 214, in async_update consumptions = await self._bdr_api.get_consumptions() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 233, in get_consumptions api_endpoint = self.capabilities["producers"]["energyConsumptionUri"] KeyError: 'energyConsumptionUri' 2022-11-05 19:05:02.548 ERROR (MainThread) [homeassistant.components.climate] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/climate.py", line 96, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-11-05 19:05:03.318 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 971, in json return complexjson.loads(self.text, **kwargs) File "/usr/local/lib/python3.10/site-packages/simplejson/__init__.py", line 525, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 97, in async_update water_pressure = await self._bdr_api.get_water_pressure() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 240, in get_water_pressure return await self.async_get_request(api_endpoint) File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 139, in async_get_request return response.json() if response else response File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 975, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2022-11-05 19:05:04.865 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Canon MG4200 series' for ipp integration not ready yet: Invalid response from API: Error occurred while communicating with IPP server.; Retrying in background 2022-11-05 19:05:48.931 ERROR (MainThread) [homeassistant.components.climate] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/climate.py", line 96, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-11-05 19:05:48.940 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 291, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-11-05 19:05:48.942 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 328, in async_update status = await self._bdr_api.get_status() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"] KeyError: 'statusUri' 2022-11-05 19:05:48.943 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 175, in async_update consumptions = await self._bdr_api.get_consumptions() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 233, in get_consumptions api_endpoint = self.capabilities["producers"]["energyConsumptionUri"] KeyError: 'energyConsumptionUri' 2022-11-05 19:05:48.944 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 214, in async_update consumptions = await self._bdr_api.get_consumptions() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 233, in get_consumptions api_endpoint = self.capabilities["producers"]["energyConsumptionUri"] KeyError: 'energyConsumptionUri' 2022-11-05 19:05:49.681 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update! Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 971, in json return complexjson.loads(self.text, **kwargs) File "/usr/local/lib/python3.10/site-packages/simplejson/__init__.py", line 525, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update await task File "/config/custom_components/bdr_thermostat/sensor.py", line 97, in async_update water_pressure = await self._bdr_api.get_water_pressure() File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 240, in get_water_pressure return await self.async_get_request(api_endpoint) File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 139, in async_get_request return response.json() if response else response File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 975, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2022-11-05 19:08:10.355 WARNING (MainThread) [zigpy.application] Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30D2) 2022-11-05 19:08:10.361 WARNING (MainThread) [zigpy.application] Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30D2) 2022-11-05 19:09:26.726 WARNING (MainThread) [zigpy.application] Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30D2) 2022-11-05 19:09:26.730 WARNING (MainThread) [zigpy.application] Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x30D2)
Merci à vous
Hello,
after the last update of the package under HACS the climate.bdr_thermostat entity (created by the previous installation) is no longer available and a new one with the name climate.bdr_circa has been created in its place.
it's correct?
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?
Can the api calls for the new home baxi en remeha app also be added?
Installed the integration with using a Remeha.
After a day or two, it keeps spamming errors that don't have a clear message:
2023-02-12 12:16:27.206 ERROR (MainThread) [custom_components.bdr_thermostat.climate] {'mode': 'manual', 'fireplaceModeOn': False, 'roomTemperature': {'value': 21.0, 'unit': '°C', 'min': 0.0, 'max': 50.0}, 'roomTemperatureSetpoint': {'value': 12.0, 'unit': '°C', 'min': 0.0, 'max': 60.0, 'increment': 0.1}, 'zoneActivity': 'standby', 'timeProgram': 1}
After enabling debug logging, I get warnings that sensors have the wrong classes:
2023-02-12 12:16:26.986 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.bdr_thermostat_burning_hours (<class 'custom_components.bdr_thermostat.sensor.BurningHoursSensor'>) is using native unit of measurement 'hours' which is not a valid unit for the device class ('duration') it is using; expected one of ['h', 'd', 'min', 's']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-12 12:16:27.195 WARNING (MainThread) [homeassistant.components.sensor] Sensor sensor.bdr_thermostat_errors has device class None, state class measurement and unit None thus indicating it has a numeric value; however, it has the non-numeric value: no-error (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-12 12:16:27.215 WARNING (MainThread) [homeassistant.components.sensor] Sensor sensor.bdr_thermostat_outside_temperature has device class temperature, state class measurement and unit thus indicating it has a numeric value; however, it has the non-numeric value: N/A (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-12 12:16:27.220 WARNING (MainThread) [homeassistant.components.sensor] Sensor sensor.bdr_thermostat_status has device class None, state class measurement and unit None thus indicating it has a numeric value; however, it has the non-numeric value: standby (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Any advice what could be the issue?
The sensors keep updating so there isn't any issue, besides the spamming of the error.
I want to take a look at the code later to see if I can improve the messages and the class of the sensors
Hi,
I've been trying to set preset_mode on my Baxi thermostat, but it seems to fail. Well rather, it seems to think ti changes, but then reverts back very quickly? In the example below, it was on schedule 1 and I tried to set it to "Manual":
ValueError: Sensor sensor.bdr_thermostat_status has device class None, state class measurement unit None and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: standby (<class 'str'>) 2023-05-29 22:09:04.186 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.bdr_planta_1 is taking over 10 seconds 2023-05-29 22:09:06.383 ERROR (SyncWorker_7) [custom_components.bdr_thermostat.BdrAPI] ERROR with get request to https://ruapi.remoteapp.bdrthermea.com/v1.0/central-heating-zone/020428F50025010/status: 504 2023-05-29 22:09:54.822 DEBUG (MainThread) [custom_components.bdr_thermostat.climate] Updating BDR status {'mode': 'schedule', 'fireplaceModeOn': False, 'roomTemperature': {'value': 24.0, 'unit': '°C', 'min': 0.0, 'max': 60.0}, 'roomTemperatureSetpoint': {'value': 16.0, 'unit': '°C', 'min': 0.0, 'max': 60.0, 'increment': 0.1}, 'nextSwitch': {'time': '07:30', 'dayOffset': 1, 'roomTemperatureSetpoint': {'value': 21.0, 'unit': '°C'}}, 'outsideTemperature': {'value': 20.81, 'unit': '°C'}, 'zoneActivity': 'standby', 'timeProgram': 1} 2023-05-29 22:09:55.367 DEBUG (MainThread) [custom_components.bdr_thermostat.climate] Updating BDR status {'mode': 'manual', 'fireplaceModeOn': False, 'roomTemperature': {'value': 25.0, 'unit': '°C', 'min': -60.0, 'max': 60.0}, 'roomTemperatureSetpoint': {'value': 17.0, 'unit': '°C', 'min': 0.0, 'max': 50.0, 'increment': 0.1}, 'outsideTemperature': {'value': 20.83, 'unit': '°C'}, 'zoneActivity': 'standby', 'timeProgram': 1} 2023-05-29 22:10:25.333 DEBUG (MainThread) [custom_components.bdr_thermostat.climate] Updating BDR status {'mode': 'manual', 'fireplaceModeOn': False, 'roomTemperature': {'value': 25.0, 'unit': '°C', 'min': -60.0, 'max': 60.0}, 'roomTemperatureSetpoint': {'value': 17.0, 'unit': '°C', 'min': 0.0, 'max': 50.0, 'increment': 0.1}, 'outsideTemperature': {'value': 20.83, 'unit': '°C'}, 'zoneActivity': 'standby', 'timeProgram': 1} 2023-05-29 22:10:25.663 DEBUG (MainThread) [custom_components.bdr_thermostat.climate] Updating BDR status {'mode': 'schedule', 'fireplaceModeOn': False, 'roomTemperature': {'value': 24.0, 'unit': '°C', 'min': 0.0, 'max': 60.0}, 'roomTemperatureSetpoint': {'value': 16.0, 'unit': '°C', 'min': 0.0, 'max': 60.0, 'increment': 0.1}, 'nextSwitch': {'time': '07:30', 'dayOffset': 1, 'roomTemperatureSetpoint': {'value': 21.0, 'unit': '°C'}}, 'outsideTemperature': {'value': 20.81, 'unit': '°C'}, 'zoneActivity': 'standby', 'timeProgram': 1}
I'm getting this error after I try to integrate my eTwist. Unfortunately I've no Python skills...
Logger: homeassistant.setup
Source: custom_components/bdr_thermostat/__init__.py:20
Integration: BDR Thermostat ([documentation](https://github.com/freitdav/BDRthermostatHA))
First occurred: 17:47:38 (1 occurrences)
Last logged: 17:47:38
Error during setup of component bdr_thermostat
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/config/custom_components/bdr_thermostat/__init__.py", line 20, in async_setup
if domain_config.get("platform", False) == PLATFORM:
AttributeError: 'str' object has no attribute 'get'
Hi, I have a Smart TC thermostat and DeDietrich device, also I have access to my Smart TC app, however, my credentials are not recognized by this component. I am getting 401 from server. I am also not sure which brand should I use? Is it baxi or remeha.
Please help. I was trying to reset my password to a simpler one, but it still doesn't help.
Hi,
thank you for the awesome costume integration.
Install the integration i have no problem.
But by the configuration i have only the "e-mail or username" and the "password" fields (i select the remeha).
There is no "pairing code" field.
The pairing code i get from "De Dietrich App" (thats not my problem).
Can you help me. Whats wrong?
Thank you for your help.
The thermostat temperatures is working fine, but at the moment there are some things that are not working:
The status is always the same... That is never changing and says all the time "heating". When there is no heating active, still it is mentioned heating...
Also set the hvac mode i can't change... It is always auto ...
Can this be solved, or where can i change those things please ?
I tried everything but i can't figure this out.
I have a Remeha eTwist but it gives following error:
ERROR with post request to https://remoteapp.bdrthermea.com/user/remeha/login: 401
Can someone please help me?
I'm a starter with GitHub.
When configuring for use with an remeha etwist, it is only working limited. I am able to login with my credentials and a pairing code, but I only get two entities: bdr_thermostat_errors and bdr_thermostat_water_temperature.
Checking the system information in the app:
App-version: 2.86.0
GTW-16 version: 1.12
RU2 version: 1.93.15
When checking the logs, I see the following errors (seems like its missing several Uri's?):
"
2022-10-28 22:17:21.702 ERROR (MainThread) [homeassistant.components.climate] bdr_thermostat: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update
await task
File "/config/custom_components/bdr_thermostat/climate.py", line 96, in async_update
status = await self._bdr_api.get_status()
File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status
api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"]
KeyError: 'statusUri'
2022-10-28 22:17:21.709 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update
await task
File "/config/custom_components/bdr_thermostat/sensor.py", line 291, in async_update
status = await self._bdr_api.get_status()
File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status
api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"]
KeyError: 'statusUri'
2022-10-28 22:17:21.712 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update
await task
File "/config/custom_components/bdr_thermostat/sensor.py", line 328, in async_update
status = await self._bdr_api.get_status()
File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 195, in get_status
api_endpoint = self.capabilities["centralHeatingZones"]["statusUri"]
KeyError: 'statusUri'
2022-10-28 22:17:21.715 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update
await task
File "/config/custom_components/bdr_thermostat/sensor.py", line 175, in async_update
consumptions = await self._bdr_api.get_consumptions()
File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 233, in get_consumptions
api_endpoint = self.capabilities["producers"]["energyConsumptionUri"]
KeyError: 'energyConsumptionUri'
2022-10-28 22:17:21.718 ERROR (MainThread) [homeassistant.components.sensor] bdr_thermostat: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update
await task
File "/config/custom_components/bdr_thermostat/sensor.py", line 214, in async_update
consumptions = await self._bdr_api.get_consumptions()
File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 233, in get_consumptions
api_endpoint = self.capabilities["producers"]["energyConsumptionUri"]
KeyError: 'energyConsumptionUri'
"
Hi,
Have you considered adding hot water functions to your integration?
I'm struggling with adding this feature to HA. In addition, it would be nice to know what the temperature of the tap water is currently.
Regards,
Emmett
Since yesterday evening I am seeing this error. I started receiving this error around the time that I updated HA to Supervisor 2022.12.1 yesterday evening.
Anyone else seeing this?
Logger: homeassistant.config_entries
Source: custom_components/bdr_thermostat/BdrAPI.py:175
Integration: BDR Thermostat ([documentation](https://github.com/freitdav/BDRthermostatHA))
First occurred: 08:50:54 (2 occurrences)
Last logged: 08:53:19
Error setting up entry BDR Thermostat for bdr_thermostat
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, 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 49, in bootstrap
await self._load_capabilities()
File "/config/custom_components/bdr_thermostat/BdrAPI.py", line 175, in _load_capabilities
for function, uri in subsystem.items():
AttributeError: 'list' object has no attribute 'items'
Something in the latest update breaks the integration,
when rolling back to previous it works again
the error in the log:
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 62, in async_setup_entry hass.config_entries.async_setup_platforms(config_entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.