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
746 stars 123 forks source link

Beta 9: Deconz and BRT-100 #349

Closed jeroen85 closed 1 year ago

jeroen85 commented 2 years ago

I tried this with my BRT-100 and Deconz setup.

  - platform: better_thermostat
    name: Woonkamer
    thermostat: climate.trv_spare
    temperature_sensor: sensor.woonkamer_temperature

2022-03-04 09:05:33 ERROR (MainThread) [custom_components.better_thermostat.models.models] better_thermostat Woonkamer: could not find device config for your TVR. Make sure this device exists in Home Assistant.

My BRT-100 connected via Deconz does present itself like:

Screenshot 2022-02-07 at 13 08 18

No mention about BRT-100-TRV in the device name.

KartoffelToby commented 2 years ago

Can you provide us the Diagnostics?

jeroen85 commented 2 years ago

Sure

      "30": {
        "config": {
          "battery": 38,
          "heatsetpoint": 500,
          "locked": false,
          "mode": "off",
          "offset": 10500,
          "on": true,
          "preset": "manual",
          "reachable": true,
          "schedule": {},
          "schedule_on": false,
          "setvalve": false,
          "windowopen_set": false
        },
        "ep": 1,
        "etag": "b8a6f888c6e07094bab067bd9081dcc0",
        "lastannounced": "2022-02-25T09:27:28Z",
        "lastseen": "2022-03-05T02:58Z",
        "manufacturername": "_TZE200_b6wax7g0",
        "modelid": "TS0601",
        "name": "TRV Spare 1",
        "state": {
          "lastupdated": "2022-03-05T08:56:04.784",
          "lowbattery": false,
          "on": false,
          "temperature": 1900,
          "valve": 0
        },
        "type": "ZHAThermostat",
        "uniqueid": "84:71:27:ff:fe:9e:b8:58-01-0201",
        "attr": {
          "id": "30",
          "lastannounced": "2022-02-25T09:27:28Z",
          "lastseen": "2022-03-05T11:21Z",
          "manufacturername": "_TZE200_b6wax7g0",
          "modelid": "TS0601",
          "name": "TRV Spare 1",
          "productid": "Tuya_THD BRT-100",
          "swversion": null,
          "type": "ZHAThermostat",
          "uniqueid": "84:71:27:ff:fe:9e:b8:58-01-0201"
        },
        "e": "changed",
        "id": "30",
        "r": "sensors",
        "t": "event"
      },
KartoffelToby commented 2 years ago

@jjansen85 Thanks so far, but i need an other debug info:

Can you pls install 1.0.0-beta10 and send me the next debug log line after found device, like:

2022-03-07 18:39:58 DEBUG (MainThread) [custom_components.better_thermostat.models.models] better_thermostat Heizung - Küche: found device:
2022-03-07 18:39:58 DEBUG (MainThread) [custom_components.better_thermostat.models.models] DeviceEntry(area_id=None, config_entries={'dbe143ba178f2678add0b2860edfd67e'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, id='402a40bc82c2af1da6187b00bb6cd611', identifiers={('mqtt', 'zigbee2mqtt_0x847127fffe179371')}, manufacturer='Saswell', model='Thermostatic radiator valve (SEA801-Zigbee/SEA802-Zigbee)', name_by_user=None, name='Heizung - Küche - real', suggested_area=None, sw_version=None, hw_version=None, via_device_id=None, is_new=False)
jeroen85 commented 2 years ago

Sure, here you go:

2022-03-08 08:12:10 DEBUG (MainThread) [custom_components.better_thermostat.models.models] better_thermostat Woonkamer: found device:
2022-03-08 08:12:10 DEBUG (MainThread) [custom_components.better_thermostat.models.models] DeviceEntry(area_id=None, config_entries={'af1e4b3ae407c1a66d0ee646ea8de670'}, configuration_url=None, connections={('zigbee', '84:71:27:ff:fe:9e:b8:58')}, disabled_by=None, entry_type=None, id='c245b09121c2a45a2639ec2863f8cd5e', identifiers={('deconz', '84:71:27:ff:fe:9e:b8:58')}, manufacturer='_TZE200_b6wax7g0', model='TS0601', name_by_user=None, name='TRV Spare 1', suggested_area=None, sw_version='', hw_version=None, via_device_id='07ff063962c995777ee46e5523b3c502', is_new=False)
2022-03-08 08:12:10 ERROR (MainThread) [custom_components.better_thermostat.models.models] better_thermostat Woonkamer: could not find device config for your TVR. Make sure this device exists in Home Assistant.

btw, is it possible to enable debug only for better_thermostat?

RubenKelevra commented 2 years ago

@jjansen85 wrote:

btw, is it possible to enable debug only for better_thermostat?

Yeah sure:

logger:
  default: warning
  logs:
    custom_components.better_thermostat: debug
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

RubenKelevra commented 2 years ago

@KartoffelToby remove that BS again. It's a major pain in the ass and don't help anyone.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity.