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
683 stars 633 forks source link

[Device Support Request] ZTH01: outdoor temp/humidy sensor detected but not working #2725

Open MarkL1969 opened 7 months ago

MarkL1969 commented 7 months ago

Problem description

Hi,

just tried to connect a new outdoor sensor, model ZTH01.

When adding it using ZHA with Sonoff Zigbee 3.0 Plus dongle it is detected as

"manufacturer": "_TZE200_yjjdcqsq",
  "model": "TS0601",
  "class": "zhaquirks.tuya.ts0601_sensor.TuyaTempHumiditySensorVar03"

But Humidity, Temperature and Battery keep on been "unknown". No entries in device protocol.

Because of an aqara H1 switch I have enable_quirks: True in my configuration. In device information it is shown as "zhaquirks.tuya.ts0601_sensor.TuyaTempHumiditySensorVar03" When I try to connect the device with enable_quirks: False it doesn't get any entities at all (unknow device).

According to https://zigbee.blakadder.com/Tuya_ZTH01.html the device should work with ZHA.

Any help highly appreciated.

Solution description

Working sensors.

Screenshots/Video

Screenshots/Video [Paste/upload your media here]

Device signature

Device signature ```json [Paste the device signature here] ```

Diagnostic information

Diagnostic information ```json [Paste the diagnostic information here] ```

Logs

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

Custom quirk

Custom quirk ```python [Paste your custom quirk here] ```

Additional information

No response

aquatix commented 7 months ago

I have the same issue, using ZHA with a Conbee II

struppis77 commented 7 months ago

Ich habe das gleiche Problem mit einem Indoor Sensor. Habe ZHA mit Soniff Zigbee Stick. Wird gar nicht erkannt

TheJulianJES commented 6 months ago

The issue template isn't filled-out. Diagnostic information and/or device signature are missing.

TheJulianJES commented 6 months ago

Because of an aqara H1 switch I have enable_quirks: True in my configuration.

enable_quirks is true by default. You should never set it to false. There's no reason to include it in your configuration.yaml at all.

mp68 commented 5 months ago

Same issue using the ConBee II. All states remain unknown.

Device 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", "0x0004", "0x0005", "0x0402", "0x0405", "0xef00" ], "output_clusters": [ "0x000a", "0x0019" ] } }, "manufacturer": "_TZE200_yjjdcqsq", "model": "TS0601", "class": "ts0601_sensor.TuyaTempHumiditySensorVar04" } ```
Diagnostic information ``` { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.1.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.6", "docker": true, "arch": "x86_64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "6.1.59", "supervisor": "2023.12.0", "host_os": "Home Assistant OS 11.1", "docker_version": "24.0.6", "chassis": "vm", "run_as_root": true }, "custom_components": { "zwift": { "version": "3.3.3", "requirements": [ "zwift-client==0.2.0" ] }, "dwd_weather": { "version": "v2.1.0", "requirements": [ "simple_dwd_weatherforecast==2.0.29", "markdownify==0.6.5", "suntimes==1.1.2" ] }, "xiaomi_cloud_map_extractor": { "version": "v2.2.0", "requirements": [ "pillow", "pybase64", "python-miio", "requests", "pycryptodome" ] }, "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "xiaomi_miot": { "version": "0.7.15", "requirements": [ "construct>=2.10.56", "python-miio>=0.5.6", "micloud>=0.3" ] }, "smartthinq_sensors": { "version": "0.36.2", "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "charset_normalizer>=2.0.0" ] }, "browser_mod": { "version": "2.3.0", "requirements": [] }, "grocy": { "version": "v4.11.1", "requirements": [ "pygrocy==2.0.0" ] }, "xiaomi_miio_fan": { "version": "2023.12.0.0", "requirements": [ "construct==2.10.68", "python-miio>=0.5.12" ] }, "ecotrend_ista": { "version": "v2.2.0", "requirements": [ "pyecotrend_ista==2.2.7", "pyotp==2.8.0", "marshmallow-enum==1.5.1" ] }, "mbapi2020": { "version": "0.9.9", "requirements": [ "protobuf>=3.19.1" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly", "@TheJulianJES" ], "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.37.6", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.109", "zigpy-deconz==0.22.4", "zigpy==0.60.4", "zigpy-xbee==0.20.1", "zigpy-zigate==0.12.0", "zigpy-znp==0.12.1", "universal-silabs-flasher==0.0.15", "pyserial-asyncio-fast==0.11" ], "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": "0403", "pid": "6015", "description": "*conbee*", "known_devices": [ "Conbee III" ] }, { "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": 64903, "manufacturer": "_TZE200_yjjdcqsq", "model": "TS0601", "name": "_TZE200_yjjdcqsq TS0601", "quirk_applied": true, "quirk_class": "zhaquirks.tuya.ts0601_sensor.TuyaTempHumiditySensorVar04", "quirk_id": null, "manufacturer_code": 4417, "power_source": "Battery or Unknown", "lqi": 255, "rssi": -48, "last_seen": "2024-01-10T17:39:58", "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", "0x0004", "0x0005", "0x0402", "0x0405", "0xef00" ], "output_clusters": [ "0x000a", "0x0019" ] } }, "manufacturer": "_TZE200_yjjdcqsq", "model": "TS0601" }, "active_coordinator": false, "entities": [ { "entity_id": "sensor.temperature_humidity_sensor_1_batterie", "name": "_TZE200_yjjdcqsq TS0601" }, { "entity_id": "sensor.temperature_humidity_sensor_1_luftfeuchtigkeit", "name": "_TZE200_yjjdcqsq TS0601" }, { "entity_id": "sensor.temperature_humidity_sensor_1_temperatur", "name": "_TZE200_yjjdcqsq TS0601" } ], "neighbors": [], "routes": [], "endpoint_names": [ { "name": "TEMPERATURE_SENSOR" } ], "user_given_name": "Temperature/Humidity Sensor 1", "device_reg_id": "a16cebe429d88dde55446447b0a1daf2", "area_id": "4f560ee8a7ce4590bfe3096805d61218", "cluster_details": { "1": { "device_type": { "name": "TEMPERATURE_SENSOR", "id": 770 }, "profile_id": 260, "in_clusters": { "0x0000": { "endpoint_attribute": "basic", "attributes": { "0x0001": { "attribute_name": "app_version", "value": 72 } }, "unsupported_attributes": {} }, "0x0004": { "endpoint_attribute": "groups", "attributes": {}, "unsupported_attributes": {} }, "0x0005": { "endpoint_attribute": "scenes", "attributes": {}, "unsupported_attributes": {} }, "0xef00": { "endpoint_attribute": "tuya_manufacturer", "attributes": { "0xef00": { "attribute_name": "mcu_version", "value": "1.0.0" } }, "unsupported_attributes": {} }, "0x0402": { "endpoint_attribute": "temperature", "attributes": {}, "unsupported_attributes": {} }, "0x0405": { "endpoint_attribute": "humidity", "attributes": {}, "unsupported_attributes": {} }, "0x0001": { "endpoint_attribute": "power", "attributes": { "0x0033": { "attribute_name": "battery_quantity", "value": 2 }, "0x0034": { "attribute_name": "battery_rated_voltage", "value": 15 }, "0x0031": { "attribute_name": "battery_size", "value": 4 } }, "unsupported_attributes": {} } }, "out_clusters": { "0x0019": { "endpoint_attribute": "ota", "attributes": {}, "unsupported_attributes": {} }, "0x000a": { "endpoint_attribute": "time", "attributes": {}, "unsupported_attributes": {} } } } } } } ```
Logs ``` 2024-01-10 18:24:55.259 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAE3B](TS0601): Device seen - marking the device available and resetting counter 2024-01-10 18:24:55.260 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAE3B](TS0601): Update device availability - device available: True - new availability: True - changed: False 2024-01-10 18:24:55.603 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD38C](TRADFRI bulb E14 WS 470lm): Device seen - marking the device available and resetting counter 2024-01-10 18:24:55.603 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD38C](TRADFRI bulb E14 WS 470lm): Update device availability - device available: True - new availability: True - changed: False 2024-01-10 18:24:55.646 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xEDFE](TRADFRI remote control): Attempting to checkin with device - missed checkins: 2 2024-01-10 18:24:55.648 DEBUG (MainThread) [zigpy.zcl] [0xEDFE:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=2, command_id=, *direction=) 2024-01-10 18:24:55.649 DEBUG (MainThread) [zigpy.zcl] [0xEDFE:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4]) 2024-01-10 18:24:55.650 DEBUG (MainThread) [zigpy.device] [0xedfe] Extending timeout for 0x02 request 2024-01-10 18:24:55.653 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 55, 653654, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0xEDFE), dst_ep=1, source_route=None, extended_timeout=True, tsn=2, profile_id=260, cluster_id=0, data=Serialized[b'\x00\x02\x00\x04\x00'], tx_options=, radius=0, non_member_radius=0, lqi=None, rssi=None) 2024-01-10 18:24:55.654 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_request{'request_id': 55, 'flags': , 'dst': DeconzAddressEndpoint(address_mode=, address=0xEDFE, endpoint=1), 'profile_id': 260, 'cluster_id': 0, 'src_ep': 1, 'asdu': b'\x00\x02\x00\x04\x00', 'tx_options': , 'radius': 0, 'relays': None} (seq=212) 2024-01-10 18:24:55.655 DEBUG (MainThread) [zigpy_deconz.uart] Send: 12d4001b001400370002feed010401000001050000020004000200 2024-01-10 18:24:55.664 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12d400090002002237 2024-01-10 18:24:55.667 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_request{'status': , 'frame_length': 9, 'payload_length': 2, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 55} (seq 212) 2024-01-10 18:24:55.671 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ed5000700a600 2024-01-10 18:24:55.673 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 213) 2024-01-10 18:24:55.674 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_confirm{} (seq=213) 2024-01-10 18:24:55.675 DEBUG (MainThread) [zigpy_deconz.uart] Send: 04d50007000000 2024-01-10 18:24:55.680 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04d50013000c00223702feed01010000000000 2024-01-10 18:24:55.684 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_confirm{'status': , 'frame_length': 19, 'payload_length': 12, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 55, 'dst_addr': DeconzAddressEndpoint(address_mode=, address=0xEDFE, endpoint=1), 'src_ep': 1, 'confirm_status': , 'reserved1': 0, 'reserved2': 0, 'reserved3': 0, 'reserved4': 0} (seq 213) 2024-01-10 18:24:57.343 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ed6000700aa00 2024-01-10 18:24:57.344 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 214) 2024-01-10 18:24:57.345 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_indication{'flags': } (seq=214) 2024-01-10 18:24:57.346 DEBUG (MainThread) [zigpy_deconz.uart] Send: 17d6000800010001 2024-01-10 18:24:57.351 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17d60023001c00220200000102e24c0104010a00050000dc00070000afff9cc61400d0 2024-01-10 18:24:57.352 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_indication{'status': , 'frame_length': 35, 'payload_length': 28, 'device_state': DeviceState(network_state=, device_state=), 'dst_addr': DeconzAddress(address_mode=, address=0x0000), 'dst_ep': 1, 'src_addr': DeconzAddress(address_mode=, address=0x4CE2), 'src_ep': 1, 'profile_id': 260, 'cluster_id': 10, 'asdu': b'\x00\xdc\x00\x07\x00', 'reserved1': 0, 'reserved2': 175, 'lqi': 255, 'reserved3': 156, 'reserved4': 198, 'reserved5': 20, 'reserved6': 0, 'rssi': -48} (seq 214) 2024-01-10 18:24:57.354 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 57, 354490, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x4CE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=None, profile_id=260, cluster_id=10, data=Serialized[b'\x00\xdc\x00\x07\x00'], tx_options=, radius=0, non_member_radius=0, lqi=255, rssi=-48) 2024-01-10 18:24:57.356 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x000a] Received ZCL frame: b'\x00\xdc\x00\x07\x00' 2024-01-10 18:24:57.358 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x000a] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=220, command_id=0, *direction=) 2024-01-10 18:24:57.360 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x000a] Decoded ZCL frame: Time:Read_Attributes(attribute_ids=[7]) 2024-01-10 18:24:57.361 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x000a] Received command 0x00 (TSN 220): Read_Attributes(attribute_ids=[7]) 2024-01-10 18:24:57.365 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x000a] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=220, command_id=, *direction=) 2024-01-10 18:24:57.369 DEBUG (Thread-20) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1704907497.35449, 'ieee': a4:c1:38:66:63:84:12:44, 'min_update_delta': 30.0}) 2024-01-10 18:24:57.367 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x000a] Sending reply: Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0007, status=, value=TypeValue(type=LocalTime, value=758226297))]) 2024-01-10 18:24:57.370 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 57, 370223, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x4CE2), dst_ep=1, source_route=None, extended_timeout=False, tsn=220, profile_id=260, cluster_id=10, data=Serialized[b'\x18\xdc\x01\x07\x00\x00#y\x9d1-'], tx_options=, radius=0, non_member_radius=0, lqi=None, rssi=None) 2024-01-10 18:24:57.371 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_request{'request_id': 56, 'flags': , 'dst': DeconzAddressEndpoint(address_mode=, address=0x4CE2, endpoint=1), 'profile_id': 260, 'cluster_id': 10, 'src_ep': 1, 'asdu': b'\x18\xdc\x01\x07\x00\x00#y\x9d1-', 'tx_options': , 'radius': 0, 'relays': None} (seq=215) 2024-01-10 18:24:57.371 DEBUG (MainThread) [zigpy_deconz.uart] Send: 12d70021001a00380002e24c0104010a00010b0018dc0107000023799d312d0600 2024-01-10 18:24:57.373 DEBUG (Thread-20) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1704907497.35449, 'ieee': a4:c1:38:66:63:84:12:44, 'min_update_delta': 30.0}) completed 2024-01-10 18:24:57.375 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12d700090002002238 2024-01-10 18:24:57.375 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_request{'status': , 'frame_length': 9, 'payload_length': 2, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 56} (seq 215) 2024-01-10 18:24:57.377 DEBUG (Thread-20) [aiosqlite] executing functools.partial() 2024-01-10 18:24:57.378 DEBUG (Thread-20) [aiosqlite] operation functools.partial() completed 2024-01-10 18:24:57.470 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ed8000700aa00 2024-01-10 18:24:57.472 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 216) 2024-01-10 18:24:57.474 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_indication{'flags': } (seq=216) 2024-01-10 18:24:57.475 DEBUG (MainThread) [zigpy_deconz.uart] Send: 17d8000800010001 2024-01-10 18:24:57.477 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ed9000700aa00 2024-01-10 18:24:57.478 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 217) 2024-01-10 18:24:57.481 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0eda000700ae00 2024-01-10 18:24:57.482 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 218) 2024-01-10 18:24:57.483 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17d80023001c002e0200000102e24c01040104000500190202100000afff9cc61400d0 2024-01-10 18:24:57.484 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_indication{'status': , 'frame_length': 35, 'payload_length': 28, 'device_state': DeviceState(network_state=, device_state=), 'dst_addr': DeconzAddress(address_mode=, address=0x0000), 'dst_ep': 1, 'src_addr': DeconzAddress(address_mode=, address=0x4CE2), 'src_ep': 1, 'profile_id': 260, 'cluster_id': 4, 'asdu': b'\x19\x02\x02\x10\x00', 'reserved1': 0, 'reserved2': 175, 'lqi': 255, 'reserved3': 156, 'reserved4': 198, 'reserved5': 20, 'reserved6': 0, 'rssi': -48} (seq 216) 2024-01-10 18:24:57.485 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 57, 485429, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x4CE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=None, profile_id=260, cluster_id=4, data=Serialized[b'\x19\x02\x02\x10\x00'], tx_options=, radius=0, non_member_radius=0, lqi=255, rssi=-48) 2024-01-10 18:24:57.489 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0004] Received ZCL frame: b'\x19\x02\x02\x10\x00' 2024-01-10 18:24:57.490 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False), tsn=2, command_id=2, *direction=) 2024-01-10 18:24:57.491 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=16, groups=[]) 2024-01-10 18:24:57.492 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_confirm{} (seq=217) 2024-01-10 18:24:57.493 DEBUG (MainThread) [zigpy_deconz.uart] Send: 04d90007000000 2024-01-10 18:24:57.495 DEBUG (Thread-20) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1704907497.485429, 'ieee': a4:c1:38:66:63:84:12:44, 'min_update_delta': 30.0}) 2024-01-10 18:24:57.496 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04d90013000c002a3802e24c01010000000000 2024-01-10 18:24:57.497 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_confirm{'status': , 'frame_length': 19, 'payload_length': 12, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 56, 'dst_addr': DeconzAddressEndpoint(address_mode=, address=0x4CE2, endpoint=1), 'src_ep': 1, 'confirm_status': , 'reserved1': 0, 'reserved2': 0, 'reserved3': 0, 'reserved4': 0} (seq 217) 2024-01-10 18:24:57.498 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_indication{'flags': } (seq=218) 2024-01-10 18:24:57.499 DEBUG (MainThread) [zigpy_deconz.uart] Send: 17da000800010001 2024-01-10 18:24:57.500 DEBUG (Thread-20) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1704907497.485429, 'ieee': a4:c1:38:66:63:84:12:44, 'min_update_delta': 30.0}) completed 2024-01-10 18:24:57.503 DEBUG (Thread-20) [aiosqlite] executing functools.partial() 2024-01-10 18:24:57.503 DEBUG (Thread-20) [aiosqlite] operation functools.partial() completed 2024-01-10 18:24:57.504 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17da0023001c00220200000102e24c0104010400050018020b020000afff9cc61400cf 2024-01-10 18:24:57.505 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_indication{'status': , 'frame_length': 35, 'payload_length': 28, 'device_state': DeviceState(network_state=, device_state=), 'dst_addr': DeconzAddress(address_mode=, address=0x0000), 'dst_ep': 1, 'src_addr': DeconzAddress(address_mode=, address=0x4CE2), 'src_ep': 1, 'profile_id': 260, 'cluster_id': 4, 'asdu': b'\x18\x02\x0b\x02\x00', 'reserved1': 0, 'reserved2': 175, 'lqi': 255, 'reserved3': 156, 'reserved4': 198, 'reserved5': 20, 'reserved6': 0, 'rssi': -49} (seq 218) 2024-01-10 18:24:57.507 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 57, 507182, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x4CE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=None, profile_id=260, cluster_id=4, data=Serialized[b'\x18\x02\x0b\x02\x00'], tx_options=, radius=0, non_member_radius=0, lqi=255, rssi=-49) 2024-01-10 18:24:57.508 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0004] Received ZCL frame: b'\x18\x02\x0b\x02\x00' 2024-01-10 18:24:57.509 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=2, command_id=11, *direction=) 2024-01-10 18:24:57.510 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0004] Decoded ZCL frame: Groups:Default_Response(command_id=2, status=) 2024-01-10 18:24:57.511 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0004] Received command 0x0B (TSN 2): Default_Response(command_id=2, status=) 2024-01-10 18:24:57.515 DEBUG (Thread-20) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1704907497.507182, 'ieee': a4:c1:38:66:63:84:12:44, 'min_update_delta': 30.0}) 2024-01-10 18:24:57.517 DEBUG (Thread-20) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1704907497.507182, 'ieee': a4:c1:38:66:63:84:12:44, 'min_update_delta': 30.0}) completed 2024-01-10 18:24:57.520 DEBUG (Thread-20) [aiosqlite] executing functools.partial() 2024-01-10 18:24:57.521 DEBUG (Thread-20) [aiosqlite] operation functools.partial() completed 2024-01-10 18:24:57.591 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xEFBE](TRADFRI bulb E14 WS 470lm): Device seen - marking the device available and resetting counter 2024-01-10 18:24:57.591 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xEFBE](TRADFRI bulb E14 WS 470lm): Update device availability - device available: True - new availability: True - changed: False 2024-01-10 18:24:57.671 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xC903](TS0201): Device seen - marking the device available and resetting counter 2024-01-10 18:24:57.672 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xC903](TS0201): Update device availability - device available: True - new availability: True - changed: False 2024-01-10 18:24:58.819 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0edb000700aa00 2024-01-10 18:24:58.819 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 219) 2024-01-10 18:24:58.821 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_indication{'flags': } (seq=219) 2024-01-10 18:24:58.821 DEBUG (MainThread) [zigpy_deconz.uart] Send: 17db000800010001 2024-01-10 18:24:58.827 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17db002d002600220200000102e24c01040100000f0008dd0a01002048e2ff2038e4ff200100afff9cc61400d0 2024-01-10 18:24:58.829 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_indication{'status': , 'frame_length': 45, 'payload_length': 38, 'device_state': DeviceState(network_state=, device_state=), 'dst_addr': DeconzAddress(address_mode=, address=0x0000), 'dst_ep': 1, 'src_addr': DeconzAddress(address_mode=, address=0x4CE2), 'src_ep': 1, 'profile_id': 260, 'cluster_id': 0, 'asdu': b'\x08\xdd\n\x01\x00 H\xe2\xff 8\xe4\xff \x01', 'reserved1': 0, 'reserved2': 175, 'lqi': 255, 'reserved3': 156, 'reserved4': 198, 'reserved5': 20, 'reserved6': 0, 'rssi': -48} (seq 219) 2024-01-10 18:24:58.831 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 58, 831220, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x4CE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=None, profile_id=260, cluster_id=0, data=Serialized[b'\x08\xdd\n\x01\x00 H\xe2\xff 8\xe4\xff \x01'], tx_options=, radius=0, non_member_radius=0, lqi=255, rssi=-48) 2024-01-10 18:24:58.833 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0000] Received ZCL frame: b'\x08\xdd\n\x01\x00 H\xe2\xff 8\xe4\xff \x01' 2024-01-10 18:24:58.834 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=221, command_id=10, *direction=) 2024-01-10 18:24:58.837 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0000] Decoded ZCL frame: Basic:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=72)), Attribute(attrid=0xFFE2, value=TypeValue(type=uint8_t, value=56)), Attribute(attrid=0xFFE4, value=TypeValue(type=uint8_t, value=1))]) 2024-01-10 18:24:58.839 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0000] Received command 0x0A (TSN 221): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=72)), Attribute(attrid=0xFFE2, value=TypeValue(type=uint8_t, value=56)), Attribute(attrid=0xFFE4, value=TypeValue(type=uint8_t, value=1))]) 2024-01-10 18:24:58.842 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0000] Attribute report received: app_version=72, 0xFFE2=56, 0xFFE4=1 2024-01-10 18:24:58.845 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0000] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=221, command_id=, *direction=) 2024-01-10 18:24:58.848 DEBUG (Thread-20) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1704907498.83122, 'ieee': a4:c1:38:66:63:84:12:44, 'min_update_delta': 30.0}) 2024-01-10 18:24:58.848 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0x0000] Sending reply: Default_Response(command_id=10, status=) 2024-01-10 18:24:58.850 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 58, 850827, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x4CE2), dst_ep=1, source_route=None, extended_timeout=False, tsn=221, profile_id=260, cluster_id=0, data=Serialized[b'\x18\xdd\x0b\n\x00'], tx_options=, radius=0, non_member_radius=0, lqi=None, rssi=None) 2024-01-10 18:24:58.852 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_request{'request_id': 57, 'flags': , 'dst': DeconzAddressEndpoint(address_mode=, address=0x4CE2, endpoint=1), 'profile_id': 260, 'cluster_id': 0, 'src_ep': 1, 'asdu': b'\x18\xdd\x0b\n\x00', 'tx_options': , 'radius': 0, 'relays': None} (seq=220) 2024-01-10 18:24:58.853 DEBUG (MainThread) [zigpy_deconz.uart] Send: 12dc001b001400390002e24c010401000001050018dd0b0a000600 2024-01-10 18:24:58.854 DEBUG (Thread-20) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1704907498.83122, 'ieee': a4:c1:38:66:63:84:12:44, 'min_update_delta': 30.0}) completed 2024-01-10 18:24:58.862 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12dc00090002002239 2024-01-10 18:24:58.864 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_request{'status': , 'frame_length': 9, 'payload_length': 2, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 57} (seq 220) 2024-01-10 18:24:58.927 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0edd000700a600 2024-01-10 18:24:58.928 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 221) 2024-01-10 18:24:58.933 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_confirm{} (seq=221) 2024-01-10 18:24:58.933 DEBUG (MainThread) [zigpy_deconz.uart] Send: 04dd0007000000 2024-01-10 18:24:58.937 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04dd0013000c00223902e24c01010000000000 2024-01-10 18:24:58.938 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_confirm{'status': , 'frame_length': 19, 'payload_length': 12, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 57, 'dst_addr': DeconzAddressEndpoint(address_mode=, address=0x4CE2, endpoint=1), 'src_ep': 1, 'confirm_status': , 'reserved1': 0, 'reserved2': 0, 'reserved3': 0, 'reserved4': 0} (seq 221) 2024-01-10 18:24:59.882 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ede000700aa00 2024-01-10 18:24:59.883 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 222) 2024-01-10 18:24:59.888 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_indication{'flags': } (seq=222) 2024-01-10 18:24:59.889 DEBUG (MainThread) [zigpy_deconz.uart] Send: 17de000800010001 2024-01-10 18:24:59.897 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17de0024001d00220200000102e24c01040100ef060009de1100034000afff9cc61400d0 2024-01-10 18:24:59.900 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_indication{'status': , 'frame_length': 36, 'payload_length': 29, 'device_state': DeviceState(network_state=, device_state=), 'dst_addr': DeconzAddress(address_mode=, address=0x0000), 'dst_ep': 1, 'src_addr': DeconzAddress(address_mode=, address=0x4CE2), 'src_ep': 1, 'profile_id': 260, 'cluster_id': 61184, 'asdu': b'\t\xde\x11\x00\x03@', 'reserved1': 0, 'reserved2': 175, 'lqi': 255, 'reserved3': 156, 'reserved4': 198, 'reserved5': 20, 'reserved6': 0, 'rssi': -48} (seq 222) 2024-01-10 18:24:59.901 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 59, 901196, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x4CE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=None, profile_id=260, cluster_id=61184, data=Serialized[b'\t\xde\x11\x00\x03@'], tx_options=, radius=0, non_member_radius=0, lqi=255, rssi=-48) 2024-01-10 18:24:59.902 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0xef00] Received ZCL frame: b'\t\xde\x11\x00\x03@' 2024-01-10 18:24:59.903 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=222, command_id=17, *direction=) 2024-01-10 18:24:59.905 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0xef00] Decoded ZCL frame: TemperatureHumidityBatteryStatesManufCluster:mcu_version_response(version=MCUVersion(status=0, tsn=3, version_raw=64, *version='1.0.0')) 2024-01-10 18:24:59.906 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0xef00] Received command 0x11 (TSN 222): mcu_version_response(version=MCUVersion(status=0, tsn=3, version_raw=64, *version='1.0.0')) 2024-01-10 18:24:59.906 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0xef00] MCU version: 1.0.0 2024-01-10 18:24:59.913 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=222, command_id=, *direction=) 2024-01-10 18:24:59.914 DEBUG (MainThread) [zigpy.zcl] [0x4CE2:1:0xef00] Sending reply: Default_Response(command_id=17, status=) 2024-01-10 18:24:59.915 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 24, 59, 915451, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x4CE2), dst_ep=1, source_route=None, extended_timeout=False, tsn=222, profile_id=260, cluster_id=61184, data=Serialized[b'\x18\xde\x0b\x11\x00'], tx_options=, radius=0, non_member_radius=0, lqi=None, rssi=None) 2024-01-10 18:24:59.926 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12df0009000200223a 2024-01-10 18:24:59.926 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_request{'status': , 'frame_length': 9, 'payload_length': 2, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 58} (seq 223) 2024-01-10 18:24:59.988 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ee0000700a600 2024-01-10 18:24:59.989 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 224) 2024-01-10 18:24:59.990 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_confirm{} (seq=224) 2024-01-10 18:24:59.991 DEBUG (MainThread) [zigpy_deconz.uart] Send: 04e00007000000 2024-01-10 18:24:59.996 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04e00013000c00223a02e24c01010000000000 2024-01-10 18:24:59.998 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_confirm{'status': , 'frame_length': 19, 'payload_length': 12, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 58, 'dst_addr': DeconzAddressEndpoint(address_mode=, address=0x4CE2, endpoint=1), 'src_ep': 1, 'confirm_status': , 'reserved1': 0, 'reserved2': 0, 'reserved3': 0, 'reserved4': 0} (seq 224) 2024-01-10 18:25:06.839 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ee1000700aa00 2024-01-10 18:25:06.841 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 225) 2024-01-10 18:25:06.844 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_indication{'flags': } (seq=225) 2024-01-10 18:25:06.845 DEBUG (MainThread) [zigpy_deconz.uart] Send: 17e1000800010001 2024-01-10 18:25:06.848 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17e1002b002400220200000102775a01040100030d00380d0a0300213894040021536300afff9cc61400d0 2024-01-10 18:25:06.849 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_indication{'status': , 'frame_length': 43, 'payload_length': 36, 'device_state': DeviceState(network_state=, device_state=), 'dst_addr': DeconzAddress(address_mode=, address=0x0000), 'dst_ep': 1, 'src_addr': DeconzAddress(address_mode=, address=0x5A77), 'src_ep': 1, 'profile_id': 260, 'cluster_id': 768, 'asdu': b'8\r\n\x03\x00!8\x94\x04\x00!Sc', 'reserved1': 0, 'reserved2': 175, 'lqi': 255, 'reserved3': 156, 'reserved4': 198, 'reserved5': 20, 'reserved6': 0, 'rssi': -48} (seq 225) 2024-01-10 18:25:06.851 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 25, 6, 850988, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x5A77), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=None, profile_id=260, cluster_id=768, data=Serialized[b'8\r\n\x03\x00!8\x94\x04\x00!Sc'], tx_options=, radius=0, non_member_radius=0, lqi=255, rssi=-48) 2024-01-10 18:25:06.852 DEBUG (MainThread) [zigpy.zcl] [0x5A77:1:0x0300] Received ZCL frame: b'8\r\n\x03\x00!8\x94\x04\x00!Sc' 2024-01-10 18:25:06.853 DEBUG (MainThread) [zigpy.zcl] [0x5A77:1:0x0300] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=1, *is_cluster=False, *is_general=True), tsn=13, command_id=10, *direction=) 2024-01-10 18:25:06.854 DEBUG (MainThread) [zigpy.zcl] [0x5A77:1:0x0300] Decoded ZCL frame: Color:Report_Attributes(attribute_reports=[Attribute(attrid=0x0003, value=TypeValue(type=uint16_t, value=37944)), Attribute(attrid=0x0004, value=TypeValue(type=uint16_t, value=25427))]) 2024-01-10 18:25:06.856 DEBUG (MainThread) [zigpy.zcl] [0x5A77:1:0x0300] Received command 0x0A (TSN 13): Report_Attributes(attribute_reports=[Attribute(attrid=0x0003, value=TypeValue(type=uint16_t, value=37944)), Attribute(attrid=0x0004, value=TypeValue(type=uint16_t, value=25427))]) 2024-01-10 18:25:06.857 DEBUG (MainThread) [zigpy.zcl] [0x5A77:1:0x0300] Attribute report received: current_x=37944, current_y=25427 2024-01-10 18:25:20.269 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ee2000700aa00 2024-01-10 18:25:20.269 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 226) 2024-01-10 18:25:20.270 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_indication{'flags': } (seq=226) 2024-01-10 18:25:20.271 DEBUG (MainThread) [zigpy_deconz.uart] Send: 17e2000800010001 2024-01-10 18:25:20.275 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17e20026001f00220200000102a8c90104010204080008450a000029ef0700afffa2c61400d0 2024-01-10 18:25:20.277 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_indication{'status': , 'frame_length': 38, 'payload_length': 31, 'device_state': DeviceState(network_state=, device_state=), 'dst_addr': DeconzAddress(address_mode=, address=0x0000), 'dst_ep': 1, 'src_addr': DeconzAddress(address_mode=, address=0xC9A8), 'src_ep': 1, 'profile_id': 260, 'cluster_id': 1026, 'asdu': b'\x08E\n\x00\x00)\xef\x07', 'reserved1': 0, 'reserved2': 175, 'lqi': 255, 'reserved3': 162, 'reserved4': 198, 'reserved5': 20, 'reserved6': 0, 'rssi': -48} (seq 226) 2024-01-10 18:25:20.279 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 25, 20, 279225, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xC9A8), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=None, profile_id=260, cluster_id=1026, data=Serialized[b'\x08E\n\x00\x00)\xef\x07'], tx_options=, radius=0, non_member_radius=0, lqi=255, rssi=-48) 2024-01-10 18:25:20.281 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0402] Received ZCL frame: b'\x08E\n\x00\x00)\xef\x07' 2024-01-10 18:25:20.282 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0402] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=69, command_id=10, *direction=) 2024-01-10 18:25:20.283 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0402] Decoded ZCL frame: TemperatureMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=int16s, value=2031))]) 2024-01-10 18:25:20.284 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0402] Received command 0x0A (TSN 69): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=int16s, value=2031))]) 2024-01-10 18:25:20.285 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0402] Attribute report received: measured_value=2031 2024-01-10 18:25:20.293 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0402] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=69, command_id=, *direction=) 2024-01-10 18:25:20.294 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0402] Sending reply: Default_Response(command_id=10, status=) 2024-01-10 18:25:20.294 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 25, 20, 294889, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0xC9A8), dst_ep=1, source_route=None, extended_timeout=False, tsn=69, profile_id=260, cluster_id=1026, data=Serialized[b'\x18E\x0b\n\x00'], tx_options=, radius=0, non_member_radius=0, lqi=None, rssi=None) 2024-01-10 18:25:20.296 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_request{'request_id': 59, 'flags': , 'dst': DeconzAddressEndpoint(address_mode=, address=0xC9A8, endpoint=1), 'profile_id': 260, 'cluster_id': 1026, 'src_ep': 1, 'asdu': b'\x18E\x0b\n\x00', 'tx_options': , 'radius': 0, 'relays': None} (seq=227) 2024-01-10 18:25:20.297 DEBUG (MainThread) [zigpy_deconz.uart] Send: 12e3001b0014003b0002a8c9010401020401050018450b0a000600 2024-01-10 18:25:20.301 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12e30009000200223b 2024-01-10 18:25:20.302 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_request{'status': , 'frame_length': 9, 'payload_length': 2, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 59} (seq 227) 2024-01-10 18:25:20.329 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ee4000700a600 2024-01-10 18:25:20.330 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 228) 2024-01-10 18:25:20.332 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_confirm{} (seq=228) 2024-01-10 18:25:20.332 DEBUG (MainThread) [zigpy_deconz.uart] Send: 04e40007000000 2024-01-10 18:25:20.337 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04e40013000c00223b02a8c901010000000000 2024-01-10 18:25:20.338 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_confirm{'status': , 'frame_length': 19, 'payload_length': 12, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 59, 'dst_addr': DeconzAddressEndpoint(address_mode=, address=0xC9A8, endpoint=1), 'src_ep': 1, 'confirm_status': , 'reserved1': 0, 'reserved2': 0, 'reserved3': 0, 'reserved4': 0} (seq 228) 2024-01-10 18:25:20.346 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ee5000700aa00 2024-01-10 18:25:20.347 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 229) 2024-01-10 18:25:20.351 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_indication{'flags': } (seq=229) 2024-01-10 18:25:20.352 DEBUG (MainThread) [zigpy_deconz.uart] Send: 17e5000800010001 2024-01-10 18:25:20.355 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17e50026001f00220200000102a8c90104010504080008460a000021c60f00afffa2c61400d0 2024-01-10 18:25:20.357 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_indication{'status': , 'frame_length': 38, 'payload_length': 31, 'device_state': DeviceState(network_state=, device_state=), 'dst_addr': DeconzAddress(address_mode=, address=0x0000), 'dst_ep': 1, 'src_addr': DeconzAddress(address_mode=, address=0xC9A8), 'src_ep': 1, 'profile_id': 260, 'cluster_id': 1029, 'asdu': b'\x08F\n\x00\x00!\xc6\x0f', 'reserved1': 0, 'reserved2': 175, 'lqi': 255, 'reserved3': 162, 'reserved4': 198, 'reserved5': 20, 'reserved6': 0, 'rssi': -48} (seq 229) 2024-01-10 18:25:20.359 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 25, 20, 359461, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xC9A8), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=None, profile_id=260, cluster_id=1029, data=Serialized[b'\x08F\n\x00\x00!\xc6\x0f'], tx_options=, radius=0, non_member_radius=0, lqi=255, rssi=-48) 2024-01-10 18:25:20.360 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0405] Received ZCL frame: b'\x08F\n\x00\x00!\xc6\x0f' 2024-01-10 18:25:20.361 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0405] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=70, command_id=10, *direction=) 2024-01-10 18:25:20.362 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0405] Decoded ZCL frame: RelativeHumidity:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=4038))]) 2024-01-10 18:25:20.362 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0405] Received command 0x0A (TSN 70): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=4038))]) 2024-01-10 18:25:20.363 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0405] Attribute report received: measured_value=4038 2024-01-10 18:25:20.373 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0405] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=70, command_id=, *direction=) 2024-01-10 18:25:20.374 DEBUG (MainThread) [zigpy.zcl] [0xC9A8:1:0x0405] Sending reply: Default_Response(command_id=10, status=) 2024-01-10 18:25:20.374 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 10, 17, 25, 20, 374934, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0xC9A8), dst_ep=1, source_route=None, extended_timeout=False, tsn=70, profile_id=260, cluster_id=1029, data=Serialized[b'\x18F\x0b\n\x00'], tx_options=, radius=0, non_member_radius=0, lqi=None, rssi=None) 2024-01-10 18:25:20.376 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_request{'request_id': 60, 'flags': , 'dst': DeconzAddressEndpoint(address_mode=, address=0xC9A8, endpoint=1), 'profile_id': 260, 'cluster_id': 1029, 'src_ep': 1, 'asdu': b'\x18F\x0b\n\x00', 'tx_options': , 'radius': 0, 'relays': None} (seq=230) 2024-01-10 18:25:20.376 DEBUG (MainThread) [zigpy_deconz.uart] Send: 12e6001b0014003c0002a8c9010401050401050018460b0a000600 2024-01-10 18:25:20.381 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12e60009000200223c 2024-01-10 18:25:20.383 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_request{'status': , 'frame_length': 9, 'payload_length': 2, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 60} (seq 230) 2024-01-10 18:25:20.453 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0ee7000700a600 2024-01-10 18:25:20.454 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.device_state_changed{'status': , 'frame_length': 7, 'device_state': DeviceState(network_state=, device_state=), 'reserved': 0} (seq 231) 2024-01-10 18:25:20.458 DEBUG (MainThread) [zigpy_deconz.api] Sending CommandId.aps_data_confirm{} (seq=231) 2024-01-10 18:25:20.458 DEBUG (MainThread) [zigpy_deconz.uart] Send: 04e70007000000 2024-01-10 18:25:20.461 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04e70013000c00223c02a8c901010000000000 2024-01-10 18:25:20.463 DEBUG (MainThread) [zigpy_deconz.api] Received command CommandId.aps_data_confirm{'status': , 'frame_length': 19, 'payload_length': 12, 'device_state': DeviceState(network_state=, device_state=), 'request_id': 60, 'dst_addr': DeconzAddressEndpoint(address_mode=, address=0xC9A8, endpoint=1), 'src_ep': 1, 'confirm_status': , 'reserved1': 0, 'reserved2': 0, 'reserved3': 0, 'reserved4': 0} (seq 231) ```

Thank you for looking into this! :)