KartoffelToby / better_thermostat

This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.
https://better-thermostat.org
GNU Affero General Public License v3.0
877 stars 131 forks source link

Not work with tado entities #782

Open DavdePe opened 1 year ago

DavdePe commented 1 year ago

Prerequisites

Description

Ili would like to manage my tado TRV with an external temperature sensor (Aqara) but the created entity is unavailable. During ha restart the unavailable entity send heating command to the tado device

KartoffelToby commented 1 year ago

What integration do you use for your Tado? Homekit? Tado?

KartoffelToby commented 1 year ago

and pls share the BT device diagnose

DavdePe commented 1 year ago

I use tado integration. How can I obtain the by device diagnose? Thanks

DavdePe commented 1 year ago

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.12.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "x86_64", "timezone": "Europe/Rome", "os_name": "Linux", "os_version": "5.15.80", "supervisor": "2022.11.2", "host_os": "Home Assistant OS 9.4", "docker_version": "20.10.19", "chassis": "embedded", "run_as_root": true }, "custom_components": { "icloud3": { "version": "2.4.6", "requirements": [] }, "meross_lan": { "version": "2.6.2", "requirements": [] }, "browser_mod": { "version": "2.1.2", "requirements": [] }, "better_thermostat": { "version": "1.0.0-beta54", "requirements": [] }, "powercalc": { "version": "v1.1.7", "requirements": [ "numpy>=1.21.1" ] }, "hacs": { "version": "1.29.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "alexa_media": { "version": "4.3.2", "requirements": [ "alexapy==1.26.4", "packaging>=20.3", "wrapt>=1.12.1" ] }, "circadian_lighting": { "version": "2.1.3", "requirements": [] }, "thermal_comfort": { "version": "1.5.4", "requirements": [] }, "xiaomi_cloud_map_extractor": { "version": "v2.2.0", "requirements": [ "pillow", "pybase64", "python-miio", "requests", "pycryptodome" ] }, "watchman": { "version": "0.5.1", "requirements": [ "prettytable==3.0.0" ] } }, "integration_manifest": { "domain": "better_thermostat", "name": "Better Thermostat", "documentation": "https://github.com/KartoffelToby/better_thermostat", "issue_tracker": "https://github.com/KartoffelToby/better_thermostat/issues", "iot_class": "local_push", "version": "1.0.0-beta54", "config_flow": true, "dependencies": [ "climate", "recorder" ], "after_dependencies": [ "climate" ], "codeowners": [ "@kartoffeltoby", "@RubenKelevra" ], "requirements": [], "is_built_in": false }, "data": { "info": { "name": "Termostato Camera", "temperature_sensor": "sensor.temperature_158d0002371575", "off_temperature": 21, "humidity_sensor": "sensor.humidity_158d0002371575", "window_sensors": "binary_sensor.door_window_sensor_158d00032b7d8a", "outdoor_sensor": "sensor.casa_outdoor_temperature", "weather": "weather.home", "window_off_delay": 120, "model": "Zone" }, "thermostat": { "climate.camera": { "name": "Camera", "state": "heat", "attributes": { "hvac_modes": [ "off", "auto", "heat" ], "min_temp": 5.0, "max_temp": 25.0, "target_temp_step": 0.5, "preset_modes": [ "away", "home" ], "current_temperature": 19.1, "temperature": 17.5, "current_humidity": 57.0, "hvac_action": "idle", "preset_mode": "home", "offset_celsius": -1.9, "offset_fahrenheit": -3.42, "default_overlay_type": "TADO_MODE", "default_overlay_seconds": null, "friendly_name": "Camera", "supported_features": 17 }, "bt_config": { "calibration": "target_temp_based", "calibration_mode": "default", "protect_overheating": false, "no_off_system_mode": false, "heat_auto_swapped": false, "child_lock": false, "homaticip": false }, "bt_adapter": "tado", "bt_integration": "tado", "model": "Zone" } }, "external_temperature_sensor": { "entity_id": "sensor.temperature_158d0002371575", "state": "18.5", "attributes": { "state_class": "measurement", "voltage": 3.06, "battery_level": 53.0, "unit_of_measurement": "\u00b0C", "device_class": "temperature", "friendly_name": "Temperatura Camera 2" }, "last_changed": "2022-12-18T22:46:08.640865+00:00", "last_updated": "2022-12-18T22:46:08.640865+00:00", "context": { "id": "01GMKPMZG0SMQ4AE3JK94MXW6W", "parent_id": null, "user_id": null } }, "window_sensor": { "entity_id": "binary_sensor.door_window_sensor_158d00032b7d8a", "state": "off", "attributes": { "Open since": 0, "voltage": 2.73, "battery_level": 0.0, "device_class": "opening", "friendly_name": "Finestra Camera", "icon": "mdi:window-open-variant" }, "last_changed": "2022-12-18T22:46:08.753766+00:00", "last_updated": "2022-12-18T22:46:08.753766+00:00", "context": { "id": "01GMKPMZKH44YH2FZHNSG9FCZJ", "parent_id": null, "user_id": null } } } }

sirwoobarb commented 1 year ago

I have the same issue. I make a change to the BT temperature and the Tado does not respond. It's as if it's not communicating with Tado.

KartoffelToby commented 1 year ago

How is your tado TRV implemented in ha?

DavdePe commented 1 year ago

Tado trv a the thermostat are integrated with the “standard” add on. The problem is that the entity that batter thermostat create result always unavailable.

KartoffelToby commented 1 year ago

@DavdePe how does 1.2.1 work?

EelcoAV commented 1 year ago

Using external temperature sensors works fine for me, except when I use it together with TADO 'climate' entities that are composed of several (in my case) 3 thermostats. Which is the case in my living room.