dynasticorpheus / gigasetelements-ha

Gigaset Smart Home integration for Home Assistant
MIT License
24 stars 8 forks source link

Thermostat and climate stuck at same temperature/humidity #32

Closed Reaxer closed 7 months ago

Reaxer commented 9 months ago

I'm having the same problem as oscher @ https://community.home-assistant.io/t/gigaset-elements/222444/113.

I have a gigaset thermostat and a gigaset climate connected to a gigaset base all using the newest firmware.

At startup it renews the temperature and humidity values but then they never update again. Setting the thermostat does work, the thermostat gets the temperature after a while (5-10 minutes?), but isn't reporting back to home assistant and the temperature isn't updating. When using the app I do see the temperature/humidity of the climate changing.

This is what it shows in the logs:

configuration.yaml is

gigasetelements: name: gigaset_elements username: !secret gigaset_login password: !secret gigaset_password switches: False enable_debug: true

Home assistant logs ``` 2024-02-06 15:51:20.840 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Initializing gigasetelements client API 2024-02-06 15:51:21.111 DEBUG (SyncWorker_4) [custom_components.gigasetelements] API request: [200] /api/v1/status 2024-02-06 15:51:21.111 INFO (SyncWorker_4) [custom_components.gigasetelements] Authenticating 2024-02-06 15:51:21.379 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from better_thermostat, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues 2024-02-06 15:51:21.460 DEBUG (SyncWorker_4) [custom_components.gigasetelements] API request: [200] /identity/api/v2/user/login 2024-02-06 15:51:21.883 DEBUG (SyncWorker_4) [custom_components.gigasetelements] API request: [200] /api/v1/auth/openid/begin 2024-02-06 15:51:22.134 DEBUG (SyncWorker_4) [custom_components.gigasetelements] API request: [200] /api/v2/me/elements 2024-02-06 15:51:22.179 DEBUG (SyncWorker_4) [custom_components.gigasetelements] API request: [200] /api/v3/me/user/intrusion-settings 2024-02-06 15:51:22.259 DEBUG (SyncWorker_4) [custom_components.gigasetelements] API request: [200] /api/v2/me/events 2024-02-06 15:51:22.337 DEBUG (SyncWorker_4) [custom_components.gigasetelements] API request: [200] /api/v3/me/health 2024-02-06 15:51:22.429 DEBUG (SyncWorker_4) [custom_components.gigasetelements] API request: [200] /api/v1/me/events/dashboard 2024-02-06 15:51:22.429 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Property id: E4F0D976C359EB0489F6C3A130E22993 2024-02-06 15:51:22.429 WARNING (SyncWorker_4) [custom_components.gigasetelements] API response object: {'gp01': [], 'gp02': [], 'yc01': [], 'bs01': [{'id': 'E4F0D976C359EB0489F6C3A130E22993', 'type': 'bs01', 'friendlyName': 'Base', 'firmwareStatus': 'up_to_date', 'firmwareVersion': 'bas-002.012.002', 'latestFirmwareVersion': 'bas-002.012.002', 'connectionStatus': 'online', 'timezone': 'Europe/Amsterdam', 'mac': '', 'disabled': False, 'pairingMode': False, 'subelements': [{'id': 'E4F0D976C359EB0489F6C3A130E22993.02ebab3be8', 'type': 'bs01.ts01', 'friendlyName': 'Slaapkamer Verwarming', 'firmwareStatus': 'up_to_date', 'firmwareVersion': '0062000010250000200403', 'latestFirmwareVersion': '0062000010250000200403', 'connectionStatus': 'online', 'batteryStatus': 'ok', 'runtimeConfiguration': {'setPoint': 7.0}, 'states': {'temperature': 16.11, 'status': 'ok', 'setPoint': 5.0, 'batterySaverMode': False}, 'frontendTags': {'room': {'roomName': 'Slaapkamer'}}, 'room': {'id': 921104, 'friendlyName': 'Slaapkamer'}, 'capabilities': [], 'debug': {'simple': 'batteryLifetimePrediction: green', 'extended': {'batteryLifetimePredictionColor': 'green'}}}, {'id': 'E4F0D976C359EB0489F6C3A130E22993.0355536916', 'type': 'bs01.cl01', 'friendlyName': 'GigasetClimate', 'firmwareStatus': 'up_to_date', 'firmwareVersion': '0001000010250000', 'latestFirmwareVersion': '0001000010250000', 'connectionStatus': 'online', 'batteryStatus': 'ok', 'states': {'temperature': 17.8, 'humidity': 55.1}, 'frontendTags': {'room': {'roomName': 'Woonkamer'}}, 'room': {'id': 921152, 'friendlyName': 'Woonkamer'}, 'buttonPressedTs': 0, 'capabilities': [], 'debug': {'simple': 'batteryLifetimePrediction: green', 'extended': {'batteryLifetimePredictionColor': 'green'}}}], 'frontendTags': {'room': {'roomName': 'Slaapkamer'}}, 'capabilities': ['functionality.rules.creatingAlarmRules', 'presentation.deviceType.elementsBasestation', 'firmware.update.procedure.managed', 'hardware.radio.869mhz.climax.pairingHelperOnBasestation', 'functionality.onlineOfflineDetection.detectionOnBasestation', 'functionality.rules.ackingAlarmOnRawSensorEvent', 'hardware.radio.dect.ule', 'functionality.homecoming.detectionOnBasestation'], 'states': {'dect.remaining_devices_to_be_paired': 62, 'dect.remaining_devices_to_be_paired._meta': {'modificationTimestamp': 1707230933409}}, 'room': {'id': 921104, 'friendlyName': 'Slaapkamer'}}], 'bs02': []} 2024-02-06 15:51:22.430 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Load platform alarm_control_panel 2024-02-06 15:51:22.430 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Load platform binary_sensor 2024-02-06 15:51:22.430 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Load platform climate 2024-02-06 15:51:22.430 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Load platform sensor 2024-02-06 15:51:22.430 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Load platform switch 2024-02-06 15:51:22.567 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from gigasetelements, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/dynasticorpheus/gigasetelements-ha/issues 2024-02-06 15:51:25.569 DEBUG (MainThread) [custom_components.gigasetelements] Get window ids: [] 2024-02-06 15:51:25.569 DEBUG (MainThread) [custom_components.gigasetelements] Get water ids: [] 2024-02-06 15:51:25.570 DEBUG (MainThread) [custom_components.gigasetelements] Get universal ids: [] 2024-02-06 15:51:25.570 DEBUG (MainThread) [custom_components.gigasetelements] Get siren ids: [] 2024-02-06 15:51:25.570 DEBUG (MainThread) [custom_components.gigasetelements] Get door ids: [] 2024-02-06 15:51:25.570 DEBUG (MainThread) [custom_components.gigasetelements] Get smoke ids: [] 2024-02-06 15:51:25.570 DEBUG (MainThread) [custom_components.gigasetelements] Get camera ids: [] 2024-02-06 15:51:25.570 DEBUG (MainThread) [custom_components.gigasetelements] Get motion ids: [] 2024-02-06 15:51:25.570 DEBUG (MainThread) [custom_components.gigasetelements] Get button ids: [] 2024-02-06 15:51:25.570 DEBUG (MainThread) [custom_components.gigasetelements.binary_sensor] Binary platform loaded 2024-02-06 15:51:25.581 DEBUG (MainThread) [custom_components.gigasetelements] Get thermostat ids: ['02ebab3be8'] 2024-02-06 15:51:25.581 DEBUG (MainThread) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 15:51:25.582 INFO (MainThread) [custom_components.gigasetelements.climate] Initialized climate.gigaset_elements_thermostat_02ebab3be8 2024-02-06 15:51:25.582 DEBUG (MainThread) [custom_components.gigasetelements.climate] Climate platform loaded 2024-02-06 15:51:25.584 DEBUG (MainThread) [custom_components.gigasetelements] Get climate ids: ['0355536916'] 2024-02-06 15:51:25.585 DEBUG (MainThread) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 2024-02-06 15:51:25.585 INFO (MainThread) [custom_components.gigasetelements.sensor] Initialized sensor.gigaset_elements_climate_0355536916 2024-02-06 15:51:25.585 DEBUG (MainThread) [custom_components.gigasetelements] Get base ids: ['e4f0d976c359eb0489f6c3a130e22993'] 2024-02-06 15:51:25.585 DEBUG (MainThread) [custom_components.gigasetelements] Health state: green 2024-02-06 15:51:25.585 INFO (MainThread) [custom_components.gigasetelements.sensor] Initialized sensor.gigaset_elements_base_e4f0d976c359eb0489f6c3a130e22993 2024-02-06 15:51:25.585 DEBUG (MainThread) [custom_components.gigasetelements.sensor] Sensor platform loaded 2024-02-06 15:51:25.642 INFO (MainThread) [custom_components.gigasetelements.alarm_control_panel] Initialized alarm_control_panel.gigaset_elements 2024-02-06 15:51:25.643 DEBUG (MainThread) [custom_components.gigasetelements.alarm_control_panel] Alarm control panel platform loaded 2024-02-06 15:51:25.662 DEBUG (MainThread) [custom_components.gigasetelements] Get plug ids: [] 2024-02-06 15:51:25.662 DEBUG (MainThread) [custom_components.gigasetelements.switch] Switch platform loaded 2024-02-06 15:51:26.184 DEBUG (SyncWorker_2) [custom_components.gigasetelements] API calls enabled: True 2024-02-06 15:51:35.584 DEBUG (SyncWorker_1) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 15:51:35.592 DEBUG (SyncWorker_5) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 2024-02-06 15:51:35.593 DEBUG (SyncWorker_5) [custom_components.gigasetelements] Health state: green 2024-02-06 15:51:45.585 DEBUG (SyncWorker_1) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 15:51:45.592 DEBUG (SyncWorker_5) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 2024-02-06 15:51:45.593 DEBUG (SyncWorker_5) [custom_components.gigasetelements] Health state: green 2024-02-06 15:51:55.586 DEBUG (SyncWorker_0) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 15:51:55.593 DEBUG (SyncWorker_7) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 2024-02-06 15:51:55.594 DEBUG (SyncWorker_2) [custom_components.gigasetelements] Health state: green 2024-02-06 15:52:05.587 DEBUG (SyncWorker_0) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 15:52:05.594 DEBUG (SyncWorker_6) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 2024-02-06 15:52:05.594 DEBUG (SyncWorker_6) [custom_components.gigasetelements] Health state: green 2024-02-06 15:52:15.590 DEBUG (SyncWorker_3) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 15:52:15.594 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 ``` ~ and keeps repeating that. If i change the thermostat to 19 it shows: ``` 2024-02-06 16:20:36.297 INFO (SyncWorker_5) [custom_components.gigasetelements] Setting thermostat 02ebab3be8: 19.0 2024-02-06 16:20:36.339 DEBUG (SyncWorker_5) [custom_components.gigasetelements] API request: [200] /api/v2/me/elements/bs01.ts01/E4F0D976C359EB0489F6C3A130E22993.02ebab3be8/runtime-configuration 2024-02-06 16:20:36.341 DEBUG (SyncWorker_0) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 16:20:45.785 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 16:20:45.785 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 2024-02-06 16:20:45.785 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Health state: green ~ and then keeps repeating that again 2024-02-06 16:45:15.950 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 16:45:15.950 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 2024-02-06 16:45:15.951 DEBUG (SyncWorker_4) [custom_components.gigasetelements] Health state: green 2024-02-06 16:45:25.951 DEBUG (SyncWorker_6) [custom_components.gigasetelements] Thermostat 02ebab3be8 state: 16.1 2024-02-06 16:45:25.952 DEBUG (SyncWorker_6) [custom_components.gigasetelements] Climate 0355536916 state: 17.8 2024-02-06 16:45:25.953 DEBUG (SyncWorker_6) [custom_components.gigasetelements] Health state: green ```
dynasticorpheus commented 8 months ago

Is this still valid? Note the climate / thermostat values are updated very slowly so you really need to look at a few hours of history, moreover you should look at the values in the front-end and not in the debug logs at these are not complete (yet)

Let me know.