Open code-chicken opened 1 year ago
Hello,
I can confirm this for the following Homematic thermostat: "HM-CC-RT-DN". (Homematic, not Homematic IP)
I checked this with HA 2023.6.2 and the current BT version and initially configured only four thermostats. The result is that the duty cicle in Homematic rises to 99%, so Homematic practically freezes.
The approach of BT is very good and I would like to use this integration. But it doesn't work like this. So I uninstall BT and follow BT on GitHub until the bugs are fixed.
Best regards, Eckart
@Eckart0 did you try to set the second Option, after overheat protection. To use lowest setpoint instead of off mode?
@Eckart0 did you try to set the second Option, after overheat protection. To use lowest setpoint instead of off mode?
At least I did, but it made no difference.
I did change it too to "lowest setpoint", same problem. Just 1 homematic thermostat in Better Thermostat v1.1.1 causes a homematic duty cycle of 50% HM-Log: `2023-07-06 11:35:02.700 DEBUG (XmlRpcServer on port 49227) [custom_components.homematicip_local.generic_entity] Event HKT.R31.2 2023-07-06 11:35:02.701 DEBUG (XmlRpcServer on port 49227) [custom_components.homematicip_local.generic_entity] Event HKT.R31.2 2023-07-06 11:35:02.715 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/better_thermostat/events/trv.py", line 208, in update_hvac_action entity_id = trv["entity_id"]
KeyError: 'entity_id'
2023-07-06 11:35:02.717 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/better_thermostat/events/trv.py", line 208, in update_hvac_action
entity_id = trv["entity_id"]
~~~^^^^^^^^^^^^^
KeyError: 'entity_id'
2023-07-06 11:35:02.719 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/better_thermostat/events/trv.py", line 208, in update_hvac_action
entity_id = trv["entity_id"]
~~~^^^^^^^^^^^^^
KeyError: 'entity_id'`
Regards, Eckart
@Eckart0 can you share the device Diagnose file from your trv?
Here Diag and Log
Von: Tobias Haber @.> Gesendet: Donnerstag, 6. Juli 2023 17:08 An: KartoffelToby/better_thermostat @.> Cc: Eckart0 @.>; Mention @.> Betreff: Re: [KartoffelToby/better_thermostat] Physical Thermostats without on/off Function Result in Service Call flooding, HA Will Eventually Stop Working (Issue #1030)
@Eckart0 https://github.com/Eckart0 can you share the device Diagnose file from your trv?
— Reply to this email directly, view it on GitHub https://github.com/KartoffelToby/better_thermostat/issues/1030#issuecomment-1623849831 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCXC4J4PAFGCENWZREBWJDXO3IFTANCNFSM6AAAAAAZQAFCDU . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AHCXC4I7YBQSN7TC3UYMQULXO3IFTA5CNFSM6AAAAAAZQAFCDWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTAZH5WO.gif Message ID: @. @.> >
{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.7.1", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.4", "docker": true, "arch": "aarch64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "6.1.34", "supervisor": "2023.07.1", "host_os": "Home Assistant OS 10.3", "docker_version": "23.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "fullykiosk": { "version": "1.1.0", "requirements": [ "python-fullykiosk==0.0.11" ] }, "xiaomi_gateway3": { "version": "3.3.1", "requirements": [ "zigpy>=0.44.1" ] }, "xiaomi_cloud_map_extractor": { "version": "v2.2.0", "requirements": [ "pillow", "pybase64", "python-miio", "requests", "pycryptodome" ] }, "browser_mod": { "version": "2.2.2", "requirements": [] }, "home_connect_alt": { "version": "0.6.3", "requirements": [ "home-connect-async==0.7.8" ] }, "average": { "version": "2.3.0", "requirements": [] }, "fontawesome": { "version": "2.1.5", "requirements": [] }, "alexa_media": { "version": "4.6.5", "requirements": [ "alexapy==1.26.8", "packaging>=20.3", "wrapt>=1.12.1" ] }, "hochwasserportal": { "version": "0.0.2", "requirements": [ "requests>=2.23.0,<3" ] }, "deutschebahn": { "version": "2.0.4", "requirements": [ "schiene==0.26" ] }, "philips_airpurifier_coap": { "version": "0.7.0", "requirements": [ "aioairctrl @ @." ] }, "blitzortung": { "version": "1.0.1", "requirements": [ "paho-mqtt>=1.5.0" ] }, "waste_collection_schedule": { "version": "1.40.0", "requirements": [ "icalendar", "recurring_ical_events", "icalevents", "bs4" ] }, "hass_agent_notifier": { "version": "2022.10.25.1", "requirements": [] }, "tuya_local": { "version": "2023.6.1", "requirements": [ "pycryptodome~=3.18", "tinytuya==1.12.8" ] }, "hass_agent": { "version": "2022.11.9", "requirements": [] }, "powercalc": { "version": "v1.7.0", "requirements": [ "numpy>=1.21.1" ] }, "localtuya": { "version": "5.2.1", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "dwd_pollenflug": { "version": "1.0.2", "requirements": [ "pytz" ] }, "simpleicons": { "version": "v2.2.0", "requirements": [ "simpleicons==7.14.0" ] }, "presence_simulation": { "version": "3.1", "requirements": [] }, "indego": { "version": "5.2.1", "requirements": [ "pyIndego==3.1.1" ] }, "better_thermostat": { "version": "1.2.0", "requirements": [] }, "dwd_weather": { "version": "1.2.28", "requirements": [ "simple_dwd_weatherforecast==1.1.5", "markdownify==0.6.5" ] }, "homematicip_local": { "version": "1.38.0", "requirements": [ "hahomematic==2023.6.1" ] }, "uptime_kuma": { "version": "2.1.0", "requirements": [ "pyuptimekuma-hass" ] }, "adaptive_lighting": { "version": "1.14.0", "requirements": [ "ulid-transform" ] }, "webrtc": { "version": "v3.1.1", "requirements": [] }, "philips_airpurifier": { "version": "2.0.0", "requirements": [ "pycryptodome" ] }, "rki_covid": { "version": "1.5.8", "requirements": [ "rki-covid-parser==1.3.3" ] }, "icloud3": { "version": "2.4.6", "requirements": [] }, "mold_risk_index": { "version": "1.0.0", "requirements": [] }, "watchman": { "version": "0.5.1", "requirements": [ "prettytable==3.0.0" ] } }, "integration_manifest": { "domain": "better_thermostat", "name": "Better Thermostat", "after_dependencies": [ "climate" ], "codeowners": [ @." ], "config_flow": true, "dependencies": [ "climate", "recorder" ], "documentation": "https://github.com/KartoffelToby/better_thermostat", "iot_class": "local_push", "issue_tracker": "https://github.com/KartoffelToby/better_thermostat/issues", "requirements": [], "version": "1.2.0", "is_built_in": false }, "data": { "info": { "name": "OG Bad", "temperature_sensor": "sensor.hwt_r31_actual_temperature", "off_temperature": 20, "humidity_sensor": "sensor.hwt_r31_actual_humidity", "outdoor_sensor": "sensor.klima_aussentemperatur", "window_sensors": "binary_sensor.ks12_1_11_r31_fenster_sensor", "weather": null, "window_off_delay": 300, "model": "HM-CC-RT-DN/HM-CC-RT-DN" }, "thermostat": { "climate.hkt_r31_1": { "name": "HKT.R31.1.KEQ0514466 HKT.R31.1", "state": "heat", "attributes": { "hvac_modes": [ "auto", "heat", "off" ], "min_temp": 5.0, "max_temp": 30.5, "target_temp_step": 0.5, "preset_modes": [ "boost", "comfort", "eco", "none" ], "current_temperature": 23.1, "temperature": 5.0, "hvac_action": "idle", "preset_mode": "none", "interface_id": "CCU2-BidCos-RF", "address": "KEQ0514466:4", "model": "HM-CC-RT-DN", "entity_type": "custom", "value_state": "valid", "friendly_name": "HKT.R31.1.KEQ0514466 HKT.R31.1", "supported_features": 17 }, "bt_config": { "calibration": "target_temp_based", "calibration_mode": "heating_power_calibration", "protect_overheating": true, "no_off_system_mode": true, "heat_auto_swapped": false, "child_lock": false, "homaticip": true }, "bt_adapter": "homematicip_local", "bt_integration": "homematicip_local", "model": "HM-CC-RT-DN" }, "climate.hkt_r31_2": { "name": "HKT.R31.2.KEQ0961374 HKT.R31.2", "state": "auto", "attributes": { "hvac_modes": [ "auto", "heat", "off" ], "min_temp": 5.0, "max_temp": 30.5, "target_temp_step": 0.5, "preset_modes": [ "boost", "comfort", "eco", "none" ], "current_temperature": 23.1, "temperature": 5.0, "hvac_action": "idle", "preset_mode": "none", "interface_id": "CCU2-BidCos-RF", "address": "KEQ0961374:4", "model": "HM-CC-RT-DN", "entity_type": "custom", "value_state": "valid", "friendly_name": "HKT.R31.2.KEQ0961374 HKT.R31.2", "supported_features": 17 }, "bt_config": { "calibration": "target_temp_based", "calibration_mode": "heating_power_calibration", "protect_overheating": false, "no_off_system_mode": true, "heat_auto_swapped": false, "child_lock": false, "homaticip": true }, "bt_adapter": "homematicip_local", "bt_integration": "homematicip_local", "model": "HM-CC-RT-DN" } }, "external_temperature_sensor": { "entity_id": "sensor.hwt_r31_actual_temperature", "state": "23.1", "attributes": { "state_class": "measurement", "interface_id": "CCU2-BidCos-RF", "address": "LEQ0078035:2", "model": "HM-TC-IT-WM-W-EU", "entity_type": "generic", "parameter": "ACTUAL_TEMPERATURE", "function": "Batterie,Heizung", "value_state": "valid", "unit_of_measurement": "\u00b0C", "device_class": "temperature", "friendly_name": "HWT.R31.LEQ0078035 HWT.R31 Temperatur" }, "last_changed": "2023-07-07T06:13:27.170125+00:00", "last_updated": "2023-07-07T06:13:27.170125+00:00", "context": { "id": "01H4QFQS02B9AHDAF48NVG9M0J", "parent_id": null, "user_id": null } }, "window_sensor": { "entity_id": "binary_sensor.ks12_1_11_r31_fenster_sensor", "state": "on", "attributes": { "interface_id": "CCU2-BidCos-Wired", "address": "IEQ0375873:11", "model": "HMW-Sen-SC-12-DR", "entity_type": "generic", "parameter": "SENSOR", "function": "Verschluss", "value_state": "valid", "device_class": "window", "icon": "mdi:window-closed-variant", "friendly_name": "Fenster Bad OG", "sensor_class": "window", "alias_on": "offen", "alias_off": "geschlossen" }, "last_changed": "2023-07-07T05:42:37.578951+00:00", "last_updated": "2023-07-07T05:42:37.578951+00:00", "context": { "id": "01H4QDZARA34X0N4FJ20CS3Y9C", "parent_id": null, "user_id": null } } } }
For me, everything seems fine now with
I made some restarts of Home Assistant. All devices are available after restart. Status (on/off and target temperature) is as it was before restarting Home Assistant.
It seems that the strange behaviour, that Better Thermostat sets target temperatures to any high random values after restarting Home Assistant has also been fixed.
So I would close this issue, but I am not sure about @Eckart0
Hello,
the duty cycle problem has not been solved. With one Homematic thermostat in BT the DC goes from 5% to 40%, with two to more 60%.
Furthermore, one thermostat switches to heating mode at 25°C in the room and setpoint temperature 5°C, cannot be switched off.
I noticed the following entries in the attached log - in addition to the code errors:
"2023-07-07 14:16:00.000 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heating: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic" - homematicip_local is the HM integration in HA that I (and almost everyone) use.
Furthermore, but this is not important here: BT probably cannot handle temperature sensors (here: sensor.klima_aussentemperatur) that have been configured via Helper. Here is the average value of three outdoor temperature sensors:
"2023-07-07 14:13:59.918 DEBUG (MainThread) [custom_components.better_thermostat.utils.helpers] better thermostat R23 R24 heating: Could not convert '' to float in check_ambient_air_temperature()"
I'll deactivate BT again for now so that everything isn't blocked. But I would like to use it when the problems are solved.
Regards, Eckart
Von: Rüdiger Hahn @.> Gesendet: Freitag, 7. Juli 2023 12:29 An: KartoffelToby/better_thermostat @.> Cc: Eckart0 @.>; Mention @.> Betreff: Re: [KartoffelToby/better_thermostat] Physical Thermostats without on/off Function Result in Service Call flooding, HA Will Eventually Stop Working (Issue #1030)
For me, everything seems fine now with
I made some restarts of Home Assistant. All devices are available after restart. Status (on/off and target temperature) is as it was before restarting Home Assistant.
It seems that the strange behaviour, that Better Thermostat sets target temperatures to any high random values after restarting Home Assistant has also been fixed.
So I would close this issue, but I am not sure about @Eckart0 https://github.com/Eckart0
— Reply to this email directly, https://github.com/KartoffelToby/better_thermostat/issues/1030#issuecomment-1625203846 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AHCXC4MHBWLKNRV7VBZSMC3XO7QGNANCNFSM6AAAAAAZQAFCDU unsubscribe. You are receiving this because you were mentioned. https://github.com/notifications/beacon/AHCXC4PWRDFP64ZVZ4UHZF3XO7QGNA5CNFSM6AAAAAAZQAFCDWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTA32SIM.gif Message ID: < @.> @.>
2023-07-07 14:13:45.309 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:13:45.309 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:13:45.309 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:13:45.309 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:13:45.310 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Waiting for entity to be ready... 2023-07-07 14:13:45.316 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Starting version 1.2.0. Waiting for entity to be ready... 2023-07-07 14:13:45.316 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: detected window state at startup: Closed 2023-07-07 14:13:45.316 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: No previously saved temperature found on startup, get it from the TRV 2023-07-07 14:13:45.317 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: No previously hvac mode found on startup, turn bt to trv mode heat 2023-07-07 14:13:45.317 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Startup config, BT hvac mode is heat, Target temp 21.0 2023-07-07 14:13:46.508 ERROR (SyncWorker_60) [miio.miioprotocol] Got error when receiving: timed out 2023-07-07 14:13:47.364 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:13:48.318 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: TO TRV set_hvac_mode: climate.hkt_r23_2 from: auto to: heat 2023-07-07 14:13:48.853 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R23.2 2023-07-07 14:13:51.849 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: TO TRV set_hvac_mode: climate.hkt_r24_1 from: auto to: heat 2023-07-07 14:13:52.364 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:13:52.381 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R24.1 2023-07-07 14:13:55.383 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: TO TRV set_temperature: climate.hkt_r24_2 from: 21.0 to: 5.0 2023-07-07 14:13:55.914 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r24_2 / check_target_temp / _last: 5.0 - _current: 21.0 2023-07-07 14:13:55.920 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R24.2 2023-07-07 14:13:56.789 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event Duty Cycle Level 2023-07-07 14:13:56.915 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r24_2 / check_target_temp / _last: 5.0 - _current: 5.0 2023-07-07 14:13:56.949 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event RSSI Device 2023-07-07 14:13:57.365 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:13:58.915 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: get last avg outdoor temps... 2023-07-07 14:13:58.915 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing values for sensor.temperature_outside_average from the database 2023-07-07 14:13:59.918 DEBUG (MainThread) [custom_components.better_thermostat.utils.helpers] better thermostat R23 R24 Heizung: Could not convert '' to float in check_ambient_air_temperature() 2023-07-07 14:13:59.930 DEBUG (MainThread) [custom_components.better_thermostat.utils.helpers] better thermostat R23 R24 Heizung: Could not convert '' to float in check_ambient_air_temperature() 2023-07-07 14:13:59.932 DEBUG (MainThread) [custom_components.better_thermostat.utils.helpers] better thermostat R23 R24 Heizung: Could not convert '' to float in check_ambient_air_temperature() 2023-07-07 14:13:59.932 DEBUG (MainThread) [custom_components.better_thermostat.utils.helpers] better thermostat R23 R24 Heizung: Could not convert '' to float in check_ambient_air_temperature() 2023-07-07 14:13:59.933 DEBUG (MainThread) [custom_components.better_thermostat.utils.helpers] better thermostat R23 R24 Heizung: Could not convert '' to float in check_ambient_air_temperature() 2023-07-07 14:13:59.944 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing from database completed 2023-07-07 14:13:59.944 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] better_thermostat R23 R24 Heizung: avg outdoor temp: 12.45, threshold is 20.0
2023-07-07 14:15:54.853 ERROR (MainThread) [custom_components.fullykiosk.coordinator] Error fetching 192.168.10.110 deviceInfo data: Cannot connect to host 192.168.10.110:2323 ssl:default [Connect call failed ('192.168.10.110', 2323)] 2023-07-07 14:15:55.542 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:15:57.386 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:15:59.964 DEBUG (MainThread) [custom_components.better_thermostat.config_flow] Updated config: {'name': 'R23 R24 Heizung', 'thermostat': [{'trv': 'climate.hkt_r23_1', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}, {'trv': 'climate.hkt_r23_2', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': False, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}, {'trv': 'climate.hkt_r24_1', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}, {'trv': 'climate.hkt_r24_2', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}], 'temperature_sensor': 'sensor.hwt_r23_actual_temperature', 'off_temperature': 20, 'humidity_sensor': 'sensor.hwt_r23_actual_humidity', 'outdoor_sensor': 'sensor.klima_aussentemperatur', 'window_sensors': 'binary_sensor.verschluss_fenster_r23_r24', 'window_off_delay': 300, 'weather': None, 'model': 'HM-CC-RT-DN/HM-CC-RT-DN/HM-CC-RT-DN/HM-CC-RT-DN'} 2023-07-07 14:15:59.972 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:15:59.972 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:15:59.973 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:15:59.974 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:15:59.974 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Waiting for entity to be ready... 2023-07-07 14:15:59.975 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Starting version 1.2.0. Waiting for entity to be ready... 2023-07-07 14:15:59.975 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: detected window state at startup: Closed 2023-07-07 14:15:59.975 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Startup config, BT hvac mode is heat, Target temp 21.0 2023-07-07 14:15:59.984 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry R23 R24 Heizung for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 546, in async_unload result = await component.async_unload_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 201, in async_unload_entry return await component.async_unload_entry(entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 202, in async_unload_entry raise ValueError("Config entry was never loaded!") ValueError: Config entry was never loaded! 2023-07-07 14:15:59.992 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry R23 R24 Heizung for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 546, in async_unload result = await component.async_unload_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 201, in async_unload_entry return await component.async_unload_entry(entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 202, in async_unload_entry raise ValueError("Config entry was never loaded!") ValueError: Config entry was never loaded! 2023-07-07 14:15:59.995 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry R23 R24 Heizung for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 390, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 195, in async_setup_entry return await component.async_setup_entry(entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 187, in async_setup_entry raise ValueError("Config entry has already been setup!") ValueError: Config entry has already been setup! 2023-07-07 14:16:00.000 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:00.000 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:00.000 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:00.001 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heizung: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:00.001 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Waiting for entity to be ready... 2023-07-07 14:16:00.003 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Starting version 1.2.0. Waiting for entity to be ready... 2023-07-07 14:16:00.004 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: detected window state at startup: Closed 2023-07-07 14:16:00.004 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Undefined target temperature, falling back to 17.0 2023-07-07 14:16:00.004 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: No previously hvac mode found on startup, turn bt to trv mode heat 2023-07-07 14:16:00.004 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: Startup config, BT hvac mode is heat, Target temp 17.0 2023-07-07 14:16:00.005 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: TO TRV set_temperature: climate.hkt_r23_1 from: 21.0 to: 17.0 2023-07-07 14:16:00.282 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event Duty Cycle Level 2023-07-07 14:16:00.322 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:4.R21.IR-Melder UG Sensor 2023-07-07 14:16:00.441 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:4.R21.IR-Melder UG Sensor 2023-07-07 14:16:01.177 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r23_1 / check_target_temp / _last: 17.0 - _current: 21.0 2023-07-07 14:16:01.190 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R23.1 2023-07-07 14:16:02.179 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r23_1 / check_target_temp / _last: 17.0 - _current: 17.0 2023-07-07 14:16:02.386 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:02.728 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:6.R22.IR-Melder Sensor 2023-07-07 14:16:03.012 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HWT.R34 2023-07-07 14:16:03.015 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HWT.R34 Temperatur 2023-07-07 14:16:03.020 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event None 2023-07-07 14:16:04.180 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: TO TRV set_temperature: climate.hkt_r23_2 from: 21.0 to: 17.0 2023-07-07 14:16:05.351 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r23_2 / check_target_temp / _last: 17.0 - _current: 21.0 2023-07-07 14:16:05.361 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R23.2 2023-07-07 14:16:06.351 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r23_2 / check_target_temp / _last: 17.0 - _current: 17.0 2023-07-07 14:16:07.387 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:07.542 ERROR (SyncWorker_60) [miio.miioprotocol] Got error when receiving: timed out 2023-07-07 14:16:08.351 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: TO TRV set_temperature: climate.hkt_r24_1 from: 21.0 to: 17.0 2023-07-07 14:16:08.696 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:08.894 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r24_1 / check_target_temp / _last: 17.0 - _current: 21.0 2023-07-07 14:16:08.897 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R24.1 2023-07-07 14:16:08.979 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: TO TRV set_temperature: climate.hkt_r24_2 from: 5.0 to: 21.0 2023-07-07 14:16:09.505 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r24_2 / check_target_temp / _last: 21.0 - _current: 5.0 2023-07-07 14:16:09.512 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R24.2 2023-07-07 14:16:09.895 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r24_1 / check_target_temp / _last: 17.0 - _current: 17.0 2023-07-07 14:16:10.506 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r24_2 / check_target_temp / _last: 21.0 - _current: 21.0 2023-07-07 14:16:11.896 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: TO TRV set_temperature: climate.hkt_r24_2 from: 21.0 to: 17.0 2023-07-07 14:16:12.130 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:12.224 DEBUG (MainThread) [custom_components.homematicip_local.control_unit] Scheduled fetching of programs and sysvars for CCU2 2023-07-07 14:16:12.387 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:12.431 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r24_2 / check_target_temp / _last: 17.0 - _current: 21.0 2023-07-07 14:16:12.448 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R24.2 2023-07-07 14:16:12.507 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: get last avg outdoor temps... 2023-07-07 14:16:12.508 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing values for sensor.klima_aussentemperatur from the database 2023-07-07 14:16:12.767 DEBUG (MainThread) [custom_components.homematicip_local.generic_entity] Sysvar changed event Sv_Dutycycle 2023-07-07 14:16:13.200 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing from database completed 2023-07-07 14:16:13.200 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] better_thermostat R23 R24 Heizung: avg outdoor temp: 14.5, threshold is 20.0 2023-07-07 14:16:13.433 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat R23 R24 Heizung: climate.hkt_r24_2 / check_target_temp / _last: 17.0 - _current: 17.0 2023-07-07 14:16:15.433 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: get last avg outdoor temps... 2023-07-07 14:16:15.433 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing values for sensor.klima_aussentemperatur from the database 2023-07-07 14:16:15.456 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing from database completed 2023-07-07 14:16:15.456 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] better_thermostat R23 R24 Heizung: avg outdoor temp: 14.5, threshold is 20.0 2023-07-07 14:16:18.201 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: startup completed. 2023-07-07 14:16:20.047 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R41.1 2023-07-07 14:16:20.049 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R41.1 Temperatur 2023-07-07 14:16:20.458 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat R23 R24 Heizung: startup completed. 2023-07-07 14:16:21.235 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:22.389 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:25.076 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:27.389 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:27.423 DEBUG (MainThread) [custom_components.better_thermostat.config_flow] Updated config: {'name': 'R23 R24 Heizung', 'thermostat': [{'trv': 'climate.hkt_r23_1', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}, {'trv': 'climate.hkt_r23_2', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}, {'trv': 'climate.hkt_r24_1', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}, {'trv': 'climate.hkt_r24_2', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}], 'temperature_sensor': 'sensor.hwt_r23_actual_temperature', 'off_temperature': 20, 'humidity_sensor': 'sensor.hwt_r23_actual_humidity', 'outdoor_sensor': 'sensor.klima_aussentemperatur', 'window_sensors': 'binary_sensor.verschluss_fenster_r23_r24', 'window_off_delay': 300, 'weather': None, 'model': 'HM-CC-RT-DN/HM-CC-RT-DN/HM-CC-RT-DN/HM-CC-RT-DN'} 2023-07-07 14:16:28.084 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event TempSen.TK Temperatur ch1 2023-07-07 14:16:28.085 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event TempSen.TK Temperatur ch2 2023-07-07 14:16:36.827 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:37.392 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:40.006 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:6.R22.IR-Melder Sensor 2023-07-07 14:16:41.688 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:4.R21.IR-Melder UG Sensor 2023-07-07 14:16:41.812 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:4.R21.IR-Melder UG Sensor 2023-07-07 14:16:42.225 DEBUG (MainThread) [custom_components.homematicip_local.control_unit] Scheduled fetching of programs and sysvars for CCU2 2023-07-07 14:16:42.392 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:44.113 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:47.393 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:47.823 DEBUG (MainThread) [custom_components.better_thermostat.config_flow] Updated config: {'name': 'OG Bad', 'thermostat': [{'trv': 'climate.hkt_r31_1', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}, {'trv': 'climate.hkt_r31_2', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}], 'temperature_sensor': 'sensor.hwt_r31_actual_temperature', 'off_temperature': 20, 'humidity_sensor': 'sensor.hwt_r31_actual_humidity', 'outdoor_sensor': 'sensor.klima_aussentemperatur', 'window_sensors': 'binary_sensor.ks12_1_11_r31_fenster_sensor', 'weather': None, 'window_off_delay': 300, 'model': 'HM-CC-RT-DN/HM-CC-RT-DN'} 2023-07-07 14:16:47.830 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat OG Bad: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:47.831 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat OG Bad: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:47.831 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: Waiting for entity to be ready... 2023-07-07 14:16:47.832 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: Starting version 1.2.0. Waiting for entity to be ready... 2023-07-07 14:16:47.833 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: detected window state at startup: Closed 2023-07-07 14:16:47.833 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: Startup config, BT hvac mode is off, Target temp 5.0 2023-07-07 14:16:47.833 DEBUG (MainThread) [custom_components.better_thermostat.events.trv] better_thermostat OG Bad: sending 5°C to the TRV because this device has no system mode off and heater should be off 2023-07-07 14:16:47.833 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat OG Bad: TO TRV set_temperature: climate.hkt_r31_1 from: 21.0 to: 5.0 2023-07-07 14:16:47.858 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat OG Bad: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:47.858 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat OG Bad: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:47.858 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: Waiting for entity to be ready... 2023-07-07 14:16:47.859 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: Starting version 1.2.0. Waiting for entity to be ready... 2023-07-07 14:16:47.859 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: detected window state at startup: Closed 2023-07-07 14:16:47.859 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: Undefined target temperature, falling back to 21.0 2023-07-07 14:16:47.859 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: No previously hvac mode found on startup, turn bt to trv mode heat 2023-07-07 14:16:47.859 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: Startup config, BT hvac mode is heat, Target temp 21.0 2023-07-07 14:16:47.878 ERROR (SyncWorker_60) [miio.miioprotocol] Got error when receiving: timed out 2023-07-07 14:16:48.369 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat OG Bad: climate.hkt_r31_1 / check_target_temp / _last: 5.0 - _current: 21.0 2023-07-07 14:16:48.381 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R31.1 2023-07-07 14:16:49.030 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:4.R21.IR-Melder UG Sensor 2023-07-07 14:16:49.149 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:4.R21.IR-Melder UG Sensor 2023-07-07 14:16:49.270 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:4.R21.IR-Melder UG Sensor 2023-07-07 14:16:49.370 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat OG Bad: climate.hkt_r31_1 / check_target_temp / _last: 5.0 - _current: 5.0 2023-07-07 14:16:49.509 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:4.R21.IR-Melder UG Sensor 2023-07-07 14:16:51.370 DEBUG (MainThread) [custom_components.better_thermostat.events.trv] better_thermostat OG Bad: sending 5°C to the TRV because this device has no system mode off and heater should be off 2023-07-07 14:16:51.370 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat OG Bad: TO TRV set_temperature: climate.hkt_r31_2 from: 21.0 to: 5.0 2023-07-07 14:16:51.898 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat OG Bad: climate.hkt_r31_2 / check_target_temp / _last: 5.0 - _current: 21.0 2023-07-07 14:16:51.912 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R31.2 2023-07-07 14:16:52.394 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:52.898 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat OG Bad: climate.hkt_r31_2 / check_target_temp / _last: 5.0 - _current: 5.0 2023-07-07 14:16:53.862 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: get last avg outdoor temps... 2023-07-07 14:16:53.862 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing values for sensor.klima_aussentemperatur from the database 2023-07-07 14:16:54.296 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event RSSI Device 2023-07-07 14:16:54.871 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing from database completed 2023-07-07 14:16:54.871 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] better_thermostat OG Bad: avg outdoor temp: 14.5, threshold is 20.0 2023-07-07 14:16:54.898 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: get last avg outdoor temps... 2023-07-07 14:16:54.898 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing values for sensor.klima_aussentemperatur from the database 2023-07-07 14:16:54.917 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] Initializing from database completed 2023-07-07 14:16:54.917 DEBUG (MainThread) [custom_components.better_thermostat.utils.weather] better_thermostat OG Bad: avg outdoor temp: 14.5, threshold is 20.0 2023-07-07 14:16:55.736 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Pool Energy Monitoring Switch 2023-07-07 14:16:56.246 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event KS12_4:6.R22.IR-Melder Sensor 2023-07-07 14:16:57.395 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2023-07-07 14:16:57.498 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:16:57.659 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HWT.R32 2023-07-07 14:16:57.660 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HWT.R32 Luftfeuchtigkeit 2023-07-07 14:16:57.675 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event None 2023-07-07 14:16:57.893 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.vacuum_og_map is taking over 10 seconds 2023-07-07 14:16:58.803 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R22.3 2023-07-07 14:16:58.804 DEBUG (XmlRpcServer on port 33057) [custom_components.homematicip_local.generic_entity] Event HKT.R22.3 Temperatur 2023-07-07 14:16:59.876 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: startup completed. 2023-07-07 14:16:59.919 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat OG Bad: startup completed. 2023-07-07 14:17:00.142 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat -: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic 2023-07-07 14:17:02.785 DEBUG (MainThread) [custom_components.better_thermostat.config_flow] Updated config: {'name': 'OG Bad', 'thermostat': [{'trv': 'climate.hkt_r31_1', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}, {'trv': 'climate.hkt_r31_2', 'integration': 'homematicip_local', 'model': 'HM-CC-RT-DN', 'adapter': None, 'advanced': {'calibration': 'target_temp_based', 'calibration_mode': 'heating_power_calibration', 'protect_overheating': False, 'no_off_system_mode': True, 'heat_auto_swapped': False, 'child_lock': False, 'homaticip': True}}], 'temperature_sensor': 'sensor.hwt_r31_actual_temperature', 'off_temperature': 20, 'humidity_sensor': 'sensor.hwt_r31_actual_humidity', 'outdoor_sensor': 'sensor.klima_aussentemperatur', 'window_sensors': 'binary_sensor.ks12_1_11_r31_fenster_sensor', 'weather': None, 'window_off_delay': 300, 'model': 'HM-CC-RT-DN/HM-CC-RT-DN'} 2023-07-07 14:17:06.697 ERROR (SyncWorker_4) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to retrieve model 2023-07-07 14:17:07.396 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
Hi, the minor helper problem may be solved. BF may filers sensors with “device_class: temperature” and a virtual helper sensor does not contain a device_class. It has to be added by customize.yaml. This is an incomprehensible fuss by HA. But I have not yet tested it with BT.
Regards, Eckart
Von: @. @.> Gesendet: Freitag, 7. Juli 2023 14:46 An: 'KartoffelToby/better_thermostat' @.***> Betreff: AW: [KartoffelToby/better_thermostat] Physical Thermostats without on/off Function Result in Service Call flooding, HA Will Eventually Stop Working (Issue #1030)
Hello,
the duty cycle problem has not been solved. With one Homematic thermostat in BT the DC goes from 5% to 40%, with two to more 60%.
Furthermore, one thermostat switches to heating mode at 25°C in the room and setpoint temperature 5°C, cannot be switched off.
I noticed the following entries in the attached log - in addition to the code errors:
"2023-07-07 14:16:00.000 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heating: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic" - homematicip_local is the HM integration in HA that I (and almost everyone) use.
Furthermore, but this is not important here: BT probably cannot handle temperature sensors (here: sensor.klima_aussentemperatur) that have been configured via Helper. Here is the average value of three outdoor temperature sensors:
"2023-07-07 14:13:59.918 DEBUG (MainThread) [custom_components.better_thermostat.utils.helpers] better thermostat R23 R24 heating: Could not convert '' to float in check_ambient_air_temperature()"
I'll deactivate BT again for now so that everything isn't blocked. But I would like to use it when the problems are solved.
Regards, Eckart
Von: Rüdiger Hahn @.> Gesendet: Freitag, 7. Juli 2023 12:29 An: KartoffelToby/better_thermostat @.> Cc: Eckart0 @.>; Mention @.> Betreff: Re: [KartoffelToby/better_thermostat] Physical Thermostats without on/off Function Result in Service Call flooding, HA Will Eventually Stop Working (Issue #1030)
For me, everything seems fine now with
I made some restarts of Home Assistant. All devices are available after restart. Status (on/off and target temperature) is as it was before restarting Home Assistant.
It seems that the strange behaviour, that Better Thermostat sets target temperatures to any high random values after restarting Home Assistant has also been fixed.
So I would close this issue, but I am not sure about @Eckart0 https://github.com/Eckart0
— Reply to this email directly, https://github.com/KartoffelToby/better_thermostat/issues/1030#issuecomment-1625203846 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AHCXC4MHBWLKNRV7VBZSMC3XO7QGNANCNFSM6AAAAAAZQAFCDU unsubscribe. You are receiving this because you were mentioned.Message ID: < @.> @.>
Hello,
the duty cycle problem has not been solved. With one Homematic thermostat in BT the DC goes from 5% to 40%, with two to more 60%.
Furthermore, one thermostat switches to heating mode at 25°C in the room and setpoint temperature 5°C, cannot be switched off.
I noticed the following entries in the attached log - in addition to the code errors:
"2023-07-07 14:16:00.000 INFO (MainThread) [custom_components.better_thermostat.utils.bridge] better_thermostat R23 R24 Heating: intigration: homematicip_local isn't native supported, feel free to open an issue, fallback adapter generic" - homematicip_local is the HM integration in HA that I (and almost everyone) use.
Furthermore, but this is not important here: BT probably cannot handle temperature sensors (here: sensor.klima_aussentemperatur) that have been configured via Helper. Here is the average value of three outdoor temperature sensors: "2023-07-07 14:13:59.918 DEBUG (MainThread) [custom_components.better_thermostat.utils.helpers] better thermostat R23 R24 heating: Could not convert '' to float in check_ambient_air_temperature()" {EDIT: Hi, this minor helper problem may be solved. BF may filers sensors with “device_class: temperature” and a virtual helper sensor does not contain a device_class. It has to be added by customize.yaml. This is an incomprehensible fuss by HA. But I have not yet tested it with BT.}
I'll deactivate BT again for now so that everything isn't blocked. But I would like to use it when the problems are solved.
Regards, Eckart
@Eckart0 i changed homatic ip stuff in 1.2.1 i hope your bug is fixed.
Sorry, it isn’t.
Just two BT devices cause a duty cicle of 45% in Homematic. Is there no possibility to limit the traffic with homematic-bidcos-devices?
Regards, Eckart
EDIT: Maybe a failure in the communication with the HA Homematic-Integration. You may contact Daniel; he ist the programmer (https://github.com/danielperna84).
EDIT2: Just a gimmick by the way: Could BT show a closed-window-icon when the windows in a room are closed instead of an grayed open-window-icon?
Von: Tobias Haber @.> Gesendet: Dienstag, 11. Juli 2023 20:09 An: KartoffelToby/better_thermostat @.> Cc: Eckart0 @.>; Mention @.> Betreff: Re: [KartoffelToby/better_thermostat] Physical Thermostats without on/off Function Result in Service Call flooding, HA Will Eventually Stop Working (Issue #1030)
@Eckart0 https://github.com/Eckart0 i changed homatic ip stuff in 1.2.1 i hope your bug is fixed.
— Reply to this email directly, view it on GitHub https://github.com/KartoffelToby/better_thermostat/issues/1030#issuecomment-1631269404 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCXC4MP5G2JWGPHSIJ4CT3XPWJENANCNFSM6AAAAAAZQAFCDU . You are receiving this because you were mentioned.Message ID: @.***>
Prerequisites
Description
After a fresh start of Home Assistant a Better Thermostat entity, which is configured with a real thermostat which can't handle the off mode, is shown as unavailable.
After a reload of the entity, it is available, but the status is on (Idle (Heat)).
After setting the BT-status to "off", Better Thermostat is flooding the system with billions of service calls like this:
After some time Home Assistant stops saving any status data to the states table and becomes instable. This problem can only be resolved by restarting Home Assistant. To be save, for the time being I disabled the concerning BT entities.
Steps to Reproduce
Expected behavior:
BT entity will set real thermostat temperature to the lowest possible.
Actual behavior:
BT entity fires endless service calls, after a while Home Assistant will not work any more.
Versions
Home Assistant: 2023.6.2 Better Thermostat: 1.0.3
Additional Information
Maybe this problem is only with Danfoss MT02650 Z-Wave Thermostat. But I'm guessing that it is a problem with any thermostat which can't handle on/off.
I already mentioned this problem in Home Assistant Core