zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
747 stars 682 forks source link

[BUG] Tuya TS0201 Temp / Humidity Sensors added but stop reporting data and go unresponsive shortly after #2587

Closed cvocvo closed 1 year ago

cvocvo commented 1 year ago

Bug description

I recently bought two Tuya temperature / humidity zigbee sensors and both of them are detected but and initially report data but then become unresponsive, stop reporting data, and are marked as unavailable in Home Assistant moments after adding.

The two sensors:

Steps to reproduce

  1. Reset the devices and put them into pairing mode.
  2. Add them to home assistant
  3. Go to the device page and you see they become unknown shortly after and no further data is reported.

Expected behavior

  1. Reset the devices and put them into pairing mode.
  2. Add them to home assistant
  3. Go to the device page and you see them stay online and normally report humidity / temperature data.

Screenshots/Video

Screenshots/Video ![image](https://github.com/zigpy/zha-device-handlers/assets/355711/fe84e16d-0a3b-4a6c-8bba-d8cf403fdc72) ![image](https://github.com/zigpy/zha-device-handlers/assets/355711/842e1508-2ace-4fa0-b880-87d5e5170c7d)

Device signature

Device signature ```json { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)", "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x0302", "input_clusters": [ "0x0000", "0x0001", "0x0003", "0x0402", "0x0405" ], "output_clusters": [ "0x0003", "0x000a", "0x0019" ] } }, "manufacturer": "_TZ3000_dowj6gyi", "model": "TS0201", "class": "zigpy.device.Device" } ``` ```json { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)", "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x0302", "input_clusters": [ "0x0000", "0x0001", "0x0003", "0x0402", "0x0405" ], "output_clusters": [ "0x0003", "0x000a", "0x0019" ] } }, "manufacturer": "_TZ3000_xr3htd96", "model": "TS0201", "class": "zigpy.device.Device" } ```

Diagnostic information

Diagnostic information ```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "x86_64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "6.1.45", "supervisor": "2023.09.2", "host_os": "Home Assistant OS 10.5", "docker_version": "23.0.6", "chassis": "vm", "run_as_root": true }, "custom_components": { "dyson_cloud": { "version": "0.15.0", "requirements": [ "libdyson==0.8.7" ] }, "owlet": { "version": "1.0.0", "requirements": [ "PyJWT", "gcloud", "sseclient", "requests_toolbelt" ] }, "deepstack_face": { "version": "0.9.0", "requirements": [ "pillow", "deepstack-python==0.8" ] }, "weatheralerts": { "version": "0.1.5", "requirements": [] }, "dlink_hnap": { "version": "1.0.0", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "dyson_local": { "version": "0.16.4-4", "requirements": [ "libdyson==0.8.11" ] }, "babybuddy": { "version": "v0.0.0", "requirements": [] }, "zha_toolkit": { "version": "v0.9.9", "requirements": [ "pytz" ] }, "simple_wyze_vac": { "version": "1.8.8", "requirements": [ "https://github.com/romedtino/wyze-sdk/archive/refs/tags/10.4.1.zip#wyze-sdk==10.4.1" ] }, "icloud3": { "version": "2.4.6", "requirements": [] }, "frigate": { "version": "4.0.0", "requirements": [ "pytz==2022.7" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "universal_silabs_flasher" ], "requirements": [ "bellows==0.36.3", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.103", "zigpy-deconz==0.21.1", "zigpy==0.57.1", "zigpy-xbee==0.18.2", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.4", "universal-silabs-flasher==0.0.13" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_uzg-01._tcp.local.", "name": "uzg-01*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 45936, "manufacturer": "_TZ3000_xr3htd96", "model": "TS0201", "name": "_TZ3000_xr3htd96 TS0201", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4417, "power_source": "Battery or Unknown", "lqi": 255, "rssi": -35, "last_seen": "2023-09-16T11:20:00", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)", "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x0302", "input_clusters": [ "0x0000", "0x0001", "0x0003", "0x0402", "0x0405" ], "output_clusters": [ "0x0003", "0x000a", "0x0019" ] } }, "manufacturer": "_TZ3000_xr3htd96", "model": "TS0201" }, "active_coordinator": false, "entities": [ { "entity_id": "sensor.zigbee_shed_temp_exp3_battery", "name": "_TZ3000_xr3htd96 TS0201" }, { "entity_id": "sensor.zigbee_shed_temp_exp3_humidity", "name": "_TZ3000_xr3htd96 TS0201" }, { "entity_id": "button.zigbee_shed_temp_exp3_identify", "name": "_TZ3000_xr3htd96 TS0201" }, { "entity_id": "sensor.zigbee_shed_temp_exp3_temperature", "name": "_TZ3000_xr3htd96 TS0201" } ], "neighbors": [], "routes": [], "endpoint_names": [ { "name": "TEMPERATURE_SENSOR" } ], "user_given_name": "Zigbee Shed Temp Exp3", "device_reg_id": "0cba5b70feb7ebe5ca2f81a12a05f397", "area_id": "shed", "cluster_details": { "1": { "device_type": { "name": "TEMPERATURE_SENSOR", "id": 770 }, "profile_id": 260, "in_clusters": { "0x0001": { "endpoint_attribute": "power", "attributes": { "0x0021": { "attribute_name": "battery_percentage_remaining", "value": 200 }, "0x0020": { "attribute_name": "battery_voltage", "value": 30 } }, "unsupported_attributes": { "0x0031": { "attribute_name": "battery_size" }, "0x0033": { "attribute_name": "battery_quantity" } } }, "0x0003": { "endpoint_attribute": "identify", "attributes": {}, "unsupported_attributes": {} }, "0x0402": { "endpoint_attribute": "temperature", "attributes": { "0x0000": { "attribute_name": "measured_value", "value": 2121 } }, "unsupported_attributes": {} }, "0x0405": { "endpoint_attribute": "humidity", "attributes": { "0x0000": { "attribute_name": "measured_value", "value": 5547 } }, "unsupported_attributes": {} }, "0x0000": { "endpoint_attribute": "basic", "attributes": { "0x0004": { "attribute_name": "manufacturer", "value": "_TZ3000_xr3htd96" }, "0x0005": { "attribute_name": "model", "value": "TS0201" } }, "unsupported_attributes": {} } }, "out_clusters": { "0x0003": { "endpoint_attribute": "identify", "attributes": {}, "unsupported_attributes": {} }, "0x0019": { "endpoint_attribute": "ota", "attributes": {}, "unsupported_attributes": {} }, "0x000a": { "endpoint_attribute": "time", "attributes": {}, "unsupported_attributes": {} } } } } } } ``` ```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "x86_64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "6.1.45", "supervisor": "2023.09.2", "host_os": "Home Assistant OS 10.5", "docker_version": "23.0.6", "chassis": "vm", "run_as_root": true }, "custom_components": { "dyson_cloud": { "version": "0.15.0", "requirements": [ "libdyson==0.8.7" ] }, "owlet": { "version": "1.0.0", "requirements": [ "PyJWT", "gcloud", "sseclient", "requests_toolbelt" ] }, "deepstack_face": { "version": "0.9.0", "requirements": [ "pillow", "deepstack-python==0.8" ] }, "weatheralerts": { "version": "0.1.5", "requirements": [] }, "dlink_hnap": { "version": "1.0.0", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "dyson_local": { "version": "0.16.4-4", "requirements": [ "libdyson==0.8.11" ] }, "babybuddy": { "version": "v0.0.0", "requirements": [] }, "zha_toolkit": { "version": "v0.9.9", "requirements": [ "pytz" ] }, "simple_wyze_vac": { "version": "1.8.8", "requirements": [ "https://github.com/romedtino/wyze-sdk/archive/refs/tags/10.4.1.zip#wyze-sdk==10.4.1" ] }, "icloud3": { "version": "2.4.6", "requirements": [] }, "frigate": { "version": "4.0.0", "requirements": [ "pytz==2022.7" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "universal_silabs_flasher" ], "requirements": [ "bellows==0.36.3", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.103", "zigpy-deconz==0.21.1", "zigpy==0.57.1", "zigpy-xbee==0.18.2", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.4", "universal-silabs-flasher==0.0.13" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_uzg-01._tcp.local.", "name": "uzg-01*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 38387, "manufacturer": "_TZ3000_dowj6gyi", "model": "TS0201", "name": "_TZ3000_dowj6gyi TS0201", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4417, "power_source": "Battery or Unknown", "lqi": 236, "rssi": -41, "last_seen": "2023-09-16T11:13:51", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)", "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x0302", "input_clusters": [ "0x0000", "0x0001", "0x0003", "0x0402", "0x0405" ], "output_clusters": [ "0x0003", "0x000a", "0x0019" ] } }, "manufacturer": "_TZ3000_dowj6gyi", "model": "TS0201" }, "active_coordinator": false, "entities": [ { "entity_id": "button.zigbee_shed_temp_exp2_identify", "name": "_TZ3000_dowj6gyi TS0201" }, { "entity_id": "sensor.zigbee_shed_temp_exp2_battery", "name": "_TZ3000_dowj6gyi TS0201" }, { "entity_id": "sensor.zigbee_shed_temp_exp2_temperature", "name": "_TZ3000_dowj6gyi TS0201" }, { "entity_id": "sensor.zigbee_shed_temp_exp2_humidity", "name": "_TZ3000_dowj6gyi TS0201" } ], "neighbors": [], "routes": [], "endpoint_names": [ { "name": "TEMPERATURE_SENSOR" } ], "user_given_name": "Zigbee Shed Temp Exp2", "device_reg_id": "636e5c44ce1c43827aeb661a59ec1df8", "area_id": "shed", "cluster_details": { "1": { "device_type": { "name": "TEMPERATURE_SENSOR", "id": 770 }, "profile_id": 260, "in_clusters": { "0x0001": { "endpoint_attribute": "power", "attributes": { "0x0021": { "attribute_name": "battery_percentage_remaining", "value": 200 }, "0x0020": { "attribute_name": "battery_voltage", "value": 30 } }, "unsupported_attributes": { "0x0031": { "attribute_name": "battery_size" }, "0x0033": { "attribute_name": "battery_quantity" } } }, "0x0003": { "endpoint_attribute": "identify", "attributes": {}, "unsupported_attributes": {} }, "0x0402": { "endpoint_attribute": "temperature", "attributes": { "0x0000": { "attribute_name": "measured_value", "value": 2130 } }, "unsupported_attributes": {} }, "0x0405": { "endpoint_attribute": "humidity", "attributes": { "0x0000": { "attribute_name": "measured_value", "value": 5831 } }, "unsupported_attributes": {} }, "0x0000": { "endpoint_attribute": "basic", "attributes": { "0x0004": { "attribute_name": "manufacturer", "value": "_TZ3000_dowj6gyi" }, "0x0005": { "attribute_name": "model", "value": "TS0201" } }, "unsupported_attributes": {} } }, "out_clusters": { "0x0003": { "endpoint_attribute": "identify", "attributes": {}, "unsupported_attributes": {} }, "0x0019": { "endpoint_attribute": "ota", "attributes": {}, "unsupported_attributes": {} }, "0x000a": { "endpoint_attribute": "time", "attributes": {}, "unsupported_attributes": {} } } } } } } ```

Logs

Logs ```python [Paste the logs here] ```

Not sure why but my log file is 200MB and I can't easily upload it.

Additional information

No response

TheJulianJES commented 1 year ago

Hmm, maybe they need to have the "Tuya spell" cast on them. So a quirk changing the device to an EnchantedDevice and using an "Enchantable Tuya" cluster.

Can you also attach ZHA integration diagnostics? Also, what coordinator are you using?

cvocvo commented 1 year ago

Hmm, maybe they need to have the "Tuya spell" cast on them. So a quirk changing the device to an EnchantedDevice and using an "Enchantable Tuya" cluster.

How can I configure that?

Edit2: OOPS I got my wires crossed. I actually moved to a SONOFF ZBDongle-E for Zigbee.

Here are the diagnostics logs:

Zigbee Integration Diagnostic Logs ``` { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "x86_64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "6.1.45", "supervisor": "2023.09.2", "host_os": "Home Assistant OS 10.5", "docker_version": "23.0.6", "chassis": "vm", "run_as_root": true }, "custom_components": { "dyson_cloud": { "version": "0.15.0", "requirements": [ "libdyson==0.8.7" ] }, "owlet": { "version": "1.0.0", "requirements": [ "PyJWT", "gcloud", "sseclient", "requests_toolbelt" ] }, "deepstack_face": { "version": "0.9.0", "requirements": [ "pillow", "deepstack-python==0.8" ] }, "weatheralerts": { "version": "0.1.5", "requirements": [] }, "dlink_hnap": { "version": "1.0.0", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "dyson_local": { "version": "0.16.4-4", "requirements": [ "libdyson==0.8.11" ] }, "babybuddy": { "version": "v0.0.0", "requirements": [] }, "zha_toolkit": { "version": "v0.9.9", "requirements": [ "pytz" ] }, "simple_wyze_vac": { "version": "1.8.9", "requirements": [ "https://github.com/romedtino/wyze-sdk/archive/refs/tags/10.4.1.zip#wyze-sdk==10.4.1" ] }, "icloud3": { "version": "2.4.6", "requirements": [] }, "frigate": { "version": "4.0.0", "requirements": [ "pytz==2022.7" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "universal_silabs_flasher" ], "requirements": [ "bellows==0.36.3", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.103", "zigpy-deconz==0.21.1", "zigpy==0.57.1", "zigpy-xbee==0.18.2", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.4", "universal-silabs-flasher==0.0.13" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_uzg-01._tcp.local.", "name": "uzg-01*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "config": { "zigpy_config": { "ota": { "otau_directory": "/config/zigpy_ota", "ikea_provider": true, "inovelli_provider": true, "ledvance_provider": true, "salus_provider": true, "sonoff_provider": true, "thirdreality_provider": true }, "database_path": "/config/zigbee.db", "device": { "path": "/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230525141957-if00", "flow_control": "software", "baudrate": 115200 } }, "device_config": {}, "enable_quirks": true }, "config_entry": { "entry_id": "2e20f551eb95a9d3ed9aef96ebc222c8", "version": 3, "domain": "zha", "title": "HubZ Smart Home Controller - /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C130036B-if01-port0, s/n: C130036B - Silicon Labs - 10C4:8A2A", "data": { "device": { "path": "/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230525141957-if00", "flow_control": "software", "baudrate": 115200 }, "radio_type": "ezsp" }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "usb", "unique_id": "**REDACTED**", "disabled_by": null }, "application_state": { "node_info": { "nwk": 0, "ieee": "**REDACTED**", "logical_type": 0 }, "network_info": { "extended_pan_id": "**REDACTED**", "pan_id": 36497, "nwk_update_id": 0, "nwk_manager_id": 0, "channel": 15, "channel_mask": 134215680, "security_level": 5, "network_key": "**REDACTED**", "tc_link_key": { "key": [ 90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57 ], "tx_counter": 315392, "rx_counter": 0, "seq": 0, "partner_ieee": "**REDACTED**" }, "key_table": [], "children": [], "nwk_addresses": {}, "stack_specific": { "ezsp": { "hashed_tclk": "94ce5a1db74fda3ec935a840eeab25be" } }, "metadata": { "ezsp": { "manufacturer": "", "board": "", "version": "6.10.3.0 build 297", "stack_version": 8, "can_burn_userdata_custom_eui64": false, "can_rewrite_custom_eui64": false } }, "source": "bellows@0.36.3" }, "counters": { "controller_app_counters": { "unicast_rx": { "__type": "", "repr": "Counter(name='unicast_rx', _raw_value=55, reset_count=0, _last_reset_value=0)" }, "unicast_tx_success": { "__type": "", "repr": "Counter(name='unicast_tx_success', _raw_value=34, reset_count=0, _last_reset_value=0)" }, "broadcast_tx_success_unexpected": { "__type": "", "repr": "Counter(name='broadcast_tx_success_unexpected', _raw_value=11, reset_count=0, _last_reset_value=0)" }, "unicast_tx_failure": { "__type": "", "repr": "Counter(name='unicast_tx_failure', _raw_value=30, reset_count=0, _last_reset_value=0)" }, "broadcast_rx": { "__type": "", "repr": "Counter(name='broadcast_rx', _raw_value=7, reset_count=0, _last_reset_value=0)" }, "unicast_tx_failure_unexpected": { "__type": "", "repr": "Counter(name='unicast_tx_failure_unexpected', _raw_value=2, reset_count=0, _last_reset_value=0)" } }, "ezsp_counters": { "MAC_RX_BROADCAST": { "__type": "", "repr": "Counter(name='MAC_RX_BROADCAST', _raw_value=215, reset_count=0, _last_reset_value=0)" }, "MAC_TX_BROADCAST": { "__type": "", "repr": "Counter(name='MAC_TX_BROADCAST', _raw_value=144, reset_count=0, _last_reset_value=0)" }, "MAC_RX_UNICAST": { "__type": "", "repr": "Counter(name='MAC_RX_UNICAST', _raw_value=207, reset_count=0, _last_reset_value=0)" }, "MAC_TX_UNICAST_SUCCESS": { "__type": "", "repr": "Counter(name='MAC_TX_UNICAST_SUCCESS', _raw_value=44, reset_count=0, _last_reset_value=0)" }, "MAC_TX_UNICAST_RETRY": { "__type": "", "repr": "Counter(name='MAC_TX_UNICAST_RETRY', _raw_value=168, reset_count=0, _last_reset_value=0)" }, "MAC_TX_UNICAST_FAILED": { "__type": "", "repr": "Counter(name='MAC_TX_UNICAST_FAILED', _raw_value=32, reset_count=0, _last_reset_value=0)" }, "APS_DATA_RX_BROADCAST": { "__type": "", "repr": "Counter(name='APS_DATA_RX_BROADCAST', _raw_value=11, reset_count=0, _last_reset_value=0)" }, "APS_DATA_TX_BROADCAST": { "__type": "", "repr": "Counter(name='APS_DATA_TX_BROADCAST', _raw_value=11, reset_count=0, _last_reset_value=0)" }, "APS_DATA_RX_UNICAST": { "__type": "", "repr": "Counter(name='APS_DATA_RX_UNICAST', _raw_value=55, reset_count=0, _last_reset_value=0)" }, "APS_DATA_TX_UNICAST_SUCCESS": { "__type": "", "repr": "Counter(name='APS_DATA_TX_UNICAST_SUCCESS', _raw_value=34, reset_count=0, _last_reset_value=0)" }, "APS_DATA_TX_UNICAST_RETRY": { "__type": "", "repr": "Counter(name='APS_DATA_TX_UNICAST_RETRY', _raw_value=29, reset_count=0, _last_reset_value=0)" }, "APS_DATA_TX_UNICAST_FAILED": { "__type": "", "repr": "Counter(name='APS_DATA_TX_UNICAST_FAILED', _raw_value=32, reset_count=0, _last_reset_value=0)" }, "ROUTE_DISCOVERY_INITIATED": { "__type": "", "repr": "Counter(name='ROUTE_DISCOVERY_INITIATED', _raw_value=17, reset_count=0, _last_reset_value=0)" }, "NEIGHBOR_ADDED": { "__type": "", "repr": "Counter(name='NEIGHBOR_ADDED', _raw_value=6, reset_count=0, _last_reset_value=0)" }, "NEIGHBOR_REMOVED": { "__type": "", "repr": "Counter(name='NEIGHBOR_REMOVED', _raw_value=2, reset_count=0, _last_reset_value=0)" }, "NEIGHBOR_STALE": { "__type": "", "repr": "Counter(name='NEIGHBOR_STALE', _raw_value=2, reset_count=0, _last_reset_value=0)" }, "JOIN_INDICATION": { "__type": "", "repr": "Counter(name='JOIN_INDICATION', _raw_value=2, reset_count=0, _last_reset_value=0)" }, "CHILD_REMOVED": { "__type": "", "repr": "Counter(name='CHILD_REMOVED', _raw_value=1, reset_count=0, _last_reset_value=0)" }, "ASH_OVERFLOW_ERROR": { "__type": "", "repr": "Counter(name='ASH_OVERFLOW_ERROR', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "ASH_FRAMING_ERROR": { "__type": "", "repr": "Counter(name='ASH_FRAMING_ERROR', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "ASH_OVERRUN_ERROR": { "__type": "", "repr": "Counter(name='ASH_OVERRUN_ERROR', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "NWK_FRAME_COUNTER_FAILURE": { "__type": "", "repr": "Counter(name='NWK_FRAME_COUNTER_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "APS_FRAME_COUNTER_FAILURE": { "__type": "", "repr": "Counter(name='APS_FRAME_COUNTER_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "UTILITY": { "__type": "", "repr": "Counter(name='UTILITY', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "APS_LINK_KEY_NOT_AUTHORIZED": { "__type": "", "repr": "Counter(name='APS_LINK_KEY_NOT_AUTHORIZED', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "NWK_DECRYPTION_FAILURE": { "__type": "", "repr": "Counter(name='NWK_DECRYPTION_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "APS_DECRYPTION_FAILURE": { "__type": "", "repr": "Counter(name='APS_DECRYPTION_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "ALLOCATE_PACKET_BUFFER_FAILURE": { "__type": "", "repr": "Counter(name='ALLOCATE_PACKET_BUFFER_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "RELAYED_UNICAST": { "__type": "", "repr": "Counter(name='RELAYED_UNICAST', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PHY_TO_MAC_QUEUE_LIMIT_REACHED": { "__type": "", "repr": "Counter(name='PHY_TO_MAC_QUEUE_LIMIT_REACHED', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PACKET_VALIDATE_LIBRARY_DROPPED_COUNT": { "__type": "", "repr": "Counter(name='PACKET_VALIDATE_LIBRARY_DROPPED_COUNT', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "TYPE_NWK_RETRY_OVERFLOW": { "__type": "", "repr": "Counter(name='TYPE_NWK_RETRY_OVERFLOW', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PHY_CCA_FAIL_COUNT": { "__type": "", "repr": "Counter(name='PHY_CCA_FAIL_COUNT', _raw_value=243, reset_count=0, _last_reset_value=0)" }, "BROADCAST_TABLE_FULL": { "__type": "", "repr": "Counter(name='BROADCAST_TABLE_FULL', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PTA_LO_PRI_REQUESTED": { "__type": "", "repr": "Counter(name='PTA_LO_PRI_REQUESTED', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PTA_HI_PRI_REQUESTED": { "__type": "", "repr": "Counter(name='PTA_HI_PRI_REQUESTED', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PTA_LO_PRI_DENIED": { "__type": "", "repr": "Counter(name='PTA_LO_PRI_DENIED', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PTA_HI_PRI_DENIED": { "__type": "", "repr": "Counter(name='PTA_HI_PRI_DENIED', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PTA_LO_PRI_TX_ABORTED": { "__type": "", "repr": "Counter(name='PTA_LO_PRI_TX_ABORTED', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "PTA_HI_PRI_TX_ABORTED": { "__type": "", "repr": "Counter(name='PTA_HI_PRI_TX_ABORTED', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "ADDRESS_CONFLICT_SENT": { "__type": "", "repr": "Counter(name='ADDRESS_CONFLICT_SENT', _raw_value=0, reset_count=0, _last_reset_value=0)" }, "EZSP_FREE_BUFFERS": { "__type": "", "repr": "Counter(name='EZSP_FREE_BUFFERS', _raw_value=249, reset_count=0, _last_reset_value=0)" } } }, "broadcast_counters": {}, "device_counters": {}, "group_counters": {} }, "energy_scan": { "11": 36.830390267097734, "12": 73.50699819621309, "13": 65.26028270288712, "14": 46.26944564832987, "15": 80.38447947821754, "16": 65.26028270288712, "17": 94.48255331375627, "18": 95.69133648577223, "19": 96.64469941013013, "20": 28.30261646762903, "21": 28.30261646762903, "22": 43.057636198227904, "23": 65.26028270288712, "24": 65.26028270288712, "25": 49.512515447068886, "26": 87.33047519856483 }, "versions": { "bellows": "0.36.3", "zigpy": "0.57.1", "zigpy_deconz": "0.21.1", "zigpy_xbee": "0.18.2", "zigpy_znp": "0.11.4", "zigpy_zigate": "0.11.0", "zhaquirks": "0.0.103" } } } ```

Edit: Apologies, the formatting on those logs are config_entry-zha-2e20f551eb95a9d3ed9aef96ebc222c8.json (1).txt terrible. Tried a few ways and no dice. I'll attach the file.

cvocvo commented 1 year ago

I mentioned it here in https://github.com/zigpy/zha-device-handlers/issues/2588 first, but today I updated the firmware on my SONOFF ZBDongle-E from 6.10.3 to 7.3.1.

If anyone stumbles across this, it seems https://www.aliexpress.us/item/3256805415172258.html is a bit slower to update for temperature than the other circular one. However, depending on what you're monitoring +/- 10ish minutes per reading may not be too bad.

image