better_thermostat icon indicating copy to clipboard operation
better_thermostat copied to clipboard

Beta 9: Deconz and BRT-100

Open jeroen85 opened this issue 2 years ago • 8 comments

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.

jeroen85 avatar Mar 04 '22 12:03 jeroen85

Can you provide us the Diagnostics?

KartoffelToby avatar Mar 04 '22 20:03 KartoffelToby

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"
      },

jeroen85 avatar Mar 05 '22 11:03 jeroen85

@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)

KartoffelToby avatar Mar 07 '22 20:03 KartoffelToby

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?

jeroen85 avatar Mar 08 '22 07:03 jeroen85

@jjansen85 wrote:

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

Yeah sure:

logger:
  default: warning
  logs:
    custom_components.better_thermostat: debug

RubenKelevra avatar Mar 09 '22 21:03 RubenKelevra

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.

stale[bot] avatar Apr 20 '22 22:04 stale[bot]

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

RubenKelevra avatar Apr 21 '22 11:04 RubenKelevra

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

stale[bot] avatar Jun 20 '22 11:06 stale[bot]