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
767 stars 702 forks source link

[Device Support Request] 2 Gang wall light switch TS0002 by _TZ3000_tonrapsk #1537

Closed thedesp closed 2 years ago

thedesp commented 2 years ago

Is your feature request related to a problem? Please describe. The device is detected and exposed as 2 lights as a quirk is available. However, I can only control the lights very breifly a few seconds during the paring. From the joining logs, it seems the device joined and then immediately left the network. After the paring is complete, any attemp to control the light via HA entity end up with message send failure in HA logs.

The device looks like this one and require neutral wire to work. https://www.zemismart.com/products/tb21-zb-1

Describe the solution you'd like Able 2 control the 2 lights and use the device as router.

Device signature - this can be acquired by clicking on the "Zigbee Device Signature" button in the device settings ``` { "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=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x0100", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0xe000", "0xe001" ], "out_clusters": [ "0x000a", "0x0019" ] }, "2": { "profile_id": 260, "device_type": "0x0100", "in_clusters": [ "0x0004", "0x0005", "0x0006", "0xe001" ], "out_clusters": [] }, "242": { "profile_id": 41440, "device_type": "0x0061", "in_clusters": [], "out_clusters": [ "0x0021" ] } }, "manufacturer": "_TZ3000_tonrapsk", "model": "TS0002", "class": "zhaquirks.tuya.ts000x.Switch_2G_GPP" } ```
Diagnostic information - this can be acquired by clicking on the "Download Diagnostics" button in the device settings ``` { "home_assistant": { "installation_type": "Home Assistant Supervised", "version": "2022.4.7", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.9.9", "docker": true, "arch": "x86_64", "timezone": "Asia/Bangkok", "os_name": "Linux", "os_version": "5.10.0-9-amd64", "supervisor": "2022.04.0", "host_os": "Debian GNU/Linux 11 (bullseye)", "docker_version": "20.10.11", "chassis": "vm", "run_as_root": true }, "custom_components": { "notify_line": { "version": "2021.1.1", "requirements": [] }, "nodered": { "version": "1.0.8", "requirements": [] }, "webrtc": { "version": "v2.3.0", "requirements": [] }, "favicon": { "version": "10.4", "requirements": [] }, "frigate": { "version": "2.2.2", "requirements": [] }, "hacs": { "version": "1.24.5", "requirements": [ "aiogithubapi>=21.11.0" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.29.0", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.72", "zigpy-deconz==0.14.0", "zigpy==0.44.2", "zigpy-xbee==0.14.0", "zigpy-zigate==0.7.4", "zigpy-znp==0.7.0" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "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": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "codeowners": [ "@dmulcahey", "@adminiuga" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" } ], "after_dependencies": [ "usb", "zeroconf" ], "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp" ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 56870, "manufacturer": "_TZ3000_tonrapsk", "model": "TS0002", "name": "_TZ3000_tonrapsk TS0002", "quirk_applied": true, "quirk_class": "zhaquirks.tuya.ts000x.Switch_2G_GPP", "manufacturer_code": 4417, "power_source": "Mains", "lqi": 80, "rssi": -80, "last_seen": "2022-04-27T11:03:57", "available": true, "device_type": "Router", "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=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x0100", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0xe000", "0xe001" ], "out_clusters": [ "0x000a", "0x0019" ] }, "2": { "profile_id": 260, "device_type": "0x0100", "in_clusters": [ "0x0004", "0x0005", "0x0006", "0xe001" ], "out_clusters": [] }, "242": { "profile_id": 41440, "device_type": "0x0061", "in_clusters": [], "out_clusters": [ "0x0021" ] } } }, "entities": [ { "entity_id": "button.tz3000_tonrapsk_ts0002_dc6dd011_identify", "name": "_TZ3000_tonrapsk TS0002" }, { "entity_id": "light.tz3000_tonrapsk_ts0002_dc6dd011_on_off", "name": "_TZ3000_tonrapsk TS0002" }, { "entity_id": "light.tz3000_tonrapsk_ts0002_dc6dd011_on_off_2", "name": "_TZ3000_tonrapsk TS0002" } ], "neighbors": [], "endpoint_names": [ { "name": "ON_OFF_LIGHT" }, { "name": "ON_OFF_LIGHT" }, { "name": "unknown 97 device_type of 0xa1e0 profile id" } ], "user_given_name": null, "device_reg_id": "686c871752a4c12f091ac6b8867d0d88", "area_id": null } } ```
Additional logs ``` ZHA joining logs [0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, ] [0xde26] Delivery error for seq # 0xa3, on endpoint id 0 cluster 0x0034: message send failure Sending 'zdo_leave_req' failed: [0xde26:0:0x0034]: Message send failure [0xDB8E:1:0x0400] Received ZCL frame: b'\x18\xba\n\x00\x00!\xbeO' [0xDB8E:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=186, command_id=10, *is_reply=True) [0xDB8E:1:0x0400] Decoded ZCL frame: IlluminanceMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=20414))]) [0xDB8E:1:0x0400] Received command 0x0A (TSN 186): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=20414))]) [0xDB8E:1:0x0400] Attribute report received: measured_value=20414 [0x1E5B:1:0x0400] Received ZCL frame: b'\x18\x10\n\x00\x00!6o' [0x1E5B:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=16, command_id=10, *is_reply=True) [0x1E5B:1:0x0400] Decoded ZCL frame: IlluminanceMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=28470))]) [0x1E5B:1:0x0400] Received command 0x0A (TSN 16): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=28470))]) [0x1E5B:1:0x0400] Attribute report received: measured_value=28470 [0x907A:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=167, command_id=, *is_reply=False) [0x907A:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285]) [0x907A:1:0x0b04] Received ZCL frame: b'\x18\xa7\x01\x0b\x05\x00)\x00\x00\x08\x05\x00!\x00\x00\x05\x05\x00!\xaa\x00' [0x907A:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=167, command_id=1, *is_reply=True) [0x907A:1:0x0b04] Decoded ZCL frame: ElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x0508, status=, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x0505, status=, value=TypeValue(type=uint16_t, value=170))]) New device 0x301f (a4:c1:38:bb:11:d0:6d:dc) joined the network [0x301f] Scheduling initialization Device 0x301f (a4:c1:38:bb:11:d0:6d:dc) joined the network [0x301f] Scheduling initialization [0x301f] Canceling old initialize call Tries remaining: 3 [0x301f] Requesting 'Node Descriptor' Tries remaining: 2 [0x301f] Extending timeout for 0xa9 request Device 0x301f (a4:c1:38:bb:11:d0:6d:dc) joined the network [0x301f] Scheduling initialization [0x301f] Canceling old initialize call Received frame on uninitialized device from ep 0 to ep 0, cluster 19: b'\x00\x1f0\xdcm\xd0\x11\xbb8\xc1\xa4\x8e' [0x301f:zdo] ZDO request ZDOCmd.Device_annce: [0x301F, a4:c1:38:bb:11:d0:6d:dc, 142] Tries remaining: 3 [0x301f] Requesting 'Node Descriptor' Tries remaining: 2 [0x301f] Extending timeout for 0xab request Received frame on uninitialized device from ep 0 to ep 0, cluster 32770: b'\xa9\x00\x1f0\x01@\x8eA\x11BB\x00\x00*B\x00\x00' [0x301f:zdo] ZDO request ZDOCmd.Node_Desc_rsp: [, 0x301F, 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=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)] [0x301f:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_rsp([, 0x301F, 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=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)]) Received frame on uninitialized device from ep 0 to ep 0, cluster 32770: b'\xab\x00\x1f0\x01@\x8eA\x11BB\x00\x00*B\x00\x00' [0x301f] Got 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=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False) [0x301f] Discovering endpoints Tries remaining: 3 Received frame on uninitialized device from ep 0 to ep 0, cluster 32773: b'\xad\x00\x1f0\x03\x01\x02\xf2' Received frame on uninitialized device from ep 0 to ep 0, cluster 32773: b'\xad\x00\x1f0\x03\x01\x02\xf2' [0x301f] Invalid state on future for 0xad seq -- probably duplicate response [0x301f] Discovered endpoints: [1, 2, 242] [0x301f] Initializing endpoints [>, >, >] [0x301f:1] Discovering endpoint information Tries remaining: 3 Received frame on uninitialized device from ep 0 to ep 0, cluster 2: b'\x01\x00\x00' [0x301f:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0x301f:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) Received frame on uninitialized device from ep 0 to ep 0, cluster 0: b'\x02\xc5\xcfK\xfe\xff\xea5\x90\x00\x00' [0x301f:zdo] ZDO request ZDOCmd.NWK_addr_req: [90:35:ea:ff:fe:4b:cf:c5, 0, 0] Received frame on uninitialized device from ep 0 to ep 0, cluster 32772: b'\xaf\x00\x1f0\x1a\x01\x04\x01\x00\x01\x01\x07\x03\x00\x04\x00\x05\x00\x06\x00\x00\xe0\x01\xe0\x00\x00\x02\x19\x00\n\x00' [0x301f:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=256, device_version=1, input_clusters=[3, 4, 5, 6, 57344, 57345, 0], output_clusters=[25, 10]) Unknown cluster 0xE000 Unknown cluster 0xE001 [0x301f:2] Discovering endpoint information Tries remaining: 3 Received frame on uninitialized device from ep 0 to ep 0, cluster 32772: b'\xb1\x00\x1f0\x10\x02\x04\x01\x00\x01\x01\x04\x04\x00\x05\x00\x06\x00\x01\xe0\x00' [0x301f:2] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=2, profile=260, device_type=256, device_version=1, input_clusters=[4, 5, 6, 57345], output_clusters=[]) Unknown cluster 0xE001 [0x301f:242] Discovering endpoint information Tries remaining: 3 Received frame on uninitialized device from ep 0 to ep 0, cluster 32772: b'\xb3\x00\x1f0\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00' [0x301f:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33]) [0x301F:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=181, command_id=, *is_reply=False) [0x301F:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [0x301F:1:0x0000] Received ZCL frame: b'\x18\xb5\x01\x04\x00\x00B\x10_TZ3000_tonrapsk\x05\x00\x00B\x06TS0002' [0x301F:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=181, command_id=1, *is_reply=True) [0x301F:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=, value=TypeValue(type=CharacterString, value='_TZ3000_tonrapsk')), ReadAttributeRecord(attrid=0x0005, status=, value=TypeValue(type=CharacterString, value='TS0002'))]) [0x301f] Read model 'TS0002' and manufacturer '_TZ3000_tonrapsk' from > [0x301f] Discovered basic device information for Device is initialized Checking quirks for _TZ3000_tonrapsk TS0002 (a4:c1:38:bb:11:d0:6d:dc) Considering Found custom device replacement for a4:c1:38:bb:11:d0:6d:dc: Error handling '_save_attribute' event with (a4:c1:38:bb:11:d0:6d:dc, 1, 0, 4, '_TZ3000_tonrapsk') params: FOREIGN KEY constraint failed Error handling '_save_attribute' event with (a4:c1:38:bb:11:d0:6d:dc, 1, 0, 5, 'TS0002') params: FOREIGN KEY constraint failed [0x301F:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=187, command_id=, *is_reply=False) [0x301F:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)]) [0x301F:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=189, command_id=, *is_reply=False) [0x301F:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)]) [0x301F:1:0x0006] Received ZCL frame: b'\x18\xbb\x07\x00\x00\x00\x00' [0x301F:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=187, command_id=7, *is_reply=True) [0x301F:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)]) [0x301F:2:0x0006] Received ZCL frame: b'\x18\xbd\x07\x00\x00\x00\x00' [0x301F:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=189, command_id=7, *is_reply=True) [0x301F:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)]) [0x301F:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=191, command_id=64, *is_reply=False) [0x301F:1:0x0003] Sending request: trigger_effect(effect_id=, effect_variant=) [0x301F:1:0x0003] Received ZCL frame: b'\x18\xbf\x0b@\x00' [0x301F:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=191, command_id=11, *is_reply=True) [0x301F:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=) [0x301F:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=193, command_id=, *is_reply=False) [0x301F:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0x301F:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=195, command_id=, *is_reply=False) [0x301F:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0x301F:1:0x0006] Received ZCL frame: b'\x18\xc1\x01\x00\x00\x00\x10\x01' [0x301F:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=193, command_id=1, *is_reply=True) [0x301F:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0x301F:2:0x0006] Received ZCL frame: b'\x18\xc3\x01\x00\x00\x00\x10\x00' [0x301F:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=195, command_id=1, *is_reply=True) [0x301F:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0x301F:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=197, command_id=, *is_reply=False) [0x301F:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0x301F:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=199, command_id=, *is_reply=False) [0x301F:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0x301F:1:0x0006] Received ZCL frame: b'\x18\xc5\x01\x00\x00\x00\x10\x01' [0x301F:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=197, command_id=1, *is_reply=True) [0x301F:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0x301F:2:0x0006] Received ZCL frame: b'\x18\xc7\x01\x00\x00\x00\x10\x00' [0x301F:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=199, command_id=1, *is_reply=True) [0x301F:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0x301f:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0x301f:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0x301f:zdo] ZDO request ZDOCmd.NWK_addr_req: [90:35:ea:ff:fe:4b:cf:c5, 0, 0] [0x301F:1:0x0006] Received ZCL frame: b'\x18\xc5\x01\x00\x00\x00\x10\x01' [0x301F:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=197, command_id=1, *is_reply=True) [0x301F:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0x301f] Invalid state on future for 0xc5 seq -- probably duplicate response [0x301f:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0x301f:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) Device 0x301f (a4:c1:38:bb:11:d0:6d:dc) left the network Device 0x301f (a4:c1:38:bb:11:d0:6d:dc) left the network Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) joined the network Device a4:c1:38:bb:11:d0:6d:dc changed id (0xed2a => 0xed2a) [0xed2a] Skipping initialization, device is fully initialized Device is initialized Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) joined the network [0xED2A:1:0x0004] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=205, command_id=2, *is_reply=False) [0xED2A:1:0x0004] Sending request: get_membership(groups=[]) [0x1E5B:1:0x0400] Received ZCL frame: b'\x18M\n\x00\x00!ln' [0x1E5B:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=77, command_id=10, *is_reply=True) [0x1E5B:1:0x0400] Decoded ZCL frame: IlluminanceMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=28268))]) [0x1E5B:1:0x0400] Received command 0x0A (TSN 77): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=28268))]) [0x1E5B:1:0x0400] Attribute report received: measured_value=28268 Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) joined the network [0xed2a] Cancelling old group rescan [0xed2a:zdo] ZDO request ZDOCmd.Device_annce: [0xED2A, a4:c1:38:bb:11:d0:6d:dc, 142] [0xED2A:1:0x0004] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=207, command_id=2, *is_reply=False) [0xED2A:1:0x0004] Sending request: get_membership(groups=[]) [0xED2A:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=209, command_id=, *is_reply=False) [0xED2A:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0xED2A:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=211, command_id=, *is_reply=False) [0xED2A:2:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)]) [0xED2A:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=213, command_id=, *is_reply=False) [0xED2A:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)]) [0xED2A:1:0x0004] Received ZCL frame: b'\x19\xcf\x02 \x00' [0xED2A:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False), tsn=207, command_id=2, *is_reply=True) [0xED2A:1:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=32, groups=[]) [0xED2A:1:0x0004] Received ZCL frame: b'\x18\xcf\x0b\x02\x00' [0xED2A:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=207, command_id=11, *is_reply=True) [0xED2A:1:0x0004] Decoded ZCL frame: Groups:Default_Response(command_id=2, status=) [0xed2a] Invalid state on future for 0xcf seq -- probably duplicate response [0xED2A:2:0x0004] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=215, command_id=2, *is_reply=False) [0xED2A:2:0x0004] Sending request: get_membership(groups=[]) [0xED2A:1:0x0006] Received ZCL frame: b'\x18\xd1\x01\x00\x00\x00\x10\x01' [0xED2A:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=209, command_id=1, *is_reply=True) [0xED2A:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0xED2A:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=217, command_id=, *is_reply=False) [0xED2A:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0xed2a:zdo] ZDO request ZDOCmd.NWK_addr_req: [90:35:ea:ff:fe:4b:cf:c5, 0, 0] [0x907A:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=219, command_id=, *is_reply=False) [0x907A:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285]) [0xED2A:2:0x0004] Received ZCL frame: b'\x19\xd7\x02 \x00' [0xED2A:2:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False), tsn=215, command_id=2, *is_reply=True) [0xED2A:2:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=32, groups=[]) [0xED2A:2:0x0004] Received ZCL frame: b'\x18\xd7\x0b\x02\x00' [0xED2A:2:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=215, command_id=11, *is_reply=True) [0xED2A:2:0x0004] Decoded ZCL frame: Groups:Default_Response(command_id=2, status=) [0xED2A:2:0x0004] Received command 0x0B (TSN 215): Default_Response(command_id=2, status=) [0xED2A:2:0x0006] Received ZCL frame: b'\x18\xd9\x01\x00\x00\x00\x10\x00' [0xED2A:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=217, command_id=1, *is_reply=True) [0xED2A:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0x907A:1:0x0b04] Received ZCL frame: b'\x18\xdb\x01\x0b\x05\x00)\x00\x00\x08\x05\x00!\x00\x00\x05\x05\x00!\xaa\x00' [0x907A:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=219, command_id=1, *is_reply=True) [0x907A:1:0x0b04] Decoded ZCL frame: ElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x0508, status=, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x0505, status=, value=TypeValue(type=uint16_t, value=170))]) [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0xED2A:1:0x0006] Received ZCL frame: b'\x18\xd5\x07\x00\x00\x00\x00' [0xED2A:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=213, command_id=7, *is_reply=True) [0xED2A:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)]) [0xED2A:2:0x0006] Received ZCL frame: b'\x18\xd9\x01\x00\x00\x00\x10\x00' [0xED2A:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=217, command_id=1, *is_reply=True) [0xED2A:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0xed2a] Invalid state on future for 0xd9 seq -- probably duplicate response [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0xED2A:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=221, command_id=64, *is_reply=False) [0xED2A:1:0x0003] Sending request: trigger_effect(effect_id=, effect_variant=) [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) left the network Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) left the network [0xED2A:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=223, command_id=, *is_reply=False) [0xED2A:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0xED2A:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=225, command_id=, *is_reply=False) [0xED2A:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) joined the network [0xED2A:1:0x0004] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=227, command_id=2, *is_reply=False) [0xED2A:1:0x0004] Sending request: get_membership(groups=[]) Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) joined the network [0xed2a] Cancelling old group rescan [0xed2a:zdo] ZDO request ZDOCmd.Device_annce: [0xED2A, a4:c1:38:bb:11:d0:6d:dc, 142] [0xED2A:1:0x0004] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=229, command_id=2, *is_reply=False) [0xED2A:1:0x0004] Sending request: get_membership(groups=[]) [0xED2A:1:0x0004] Received ZCL frame: b'\x19\xe5\x02 \x00' [0xED2A:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False), tsn=229, command_id=2, *is_reply=True) [0xED2A:1:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=32, groups=[]) [0xED2A:1:0x0004] Received ZCL frame: b'\x18\xe5\x0b\x02\x00' [0xED2A:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=229, command_id=11, *is_reply=True) [0xED2A:1:0x0004] Decoded ZCL frame: Groups:Default_Response(command_id=2, status=) [0xed2a] Invalid state on future for 0xe5 seq -- probably duplicate response [0xED2A:2:0x0004] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=231, command_id=2, *is_reply=False) [0xED2A:2:0x0004] Sending request: get_membership(groups=[]) [0xED2A:1:0x0004] Received ZCL frame: b'\x19\xe3\x02 \x00' [0xED2A:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False), tsn=227, command_id=2, *is_reply=True) [0xED2A:1:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=32, groups=[]) [0xED2A:1:0x0004] Received command 0x02 (TSN 227): get_membership_response(capacity=32, groups=[]) [0xED2A:1:0x0004] No explicit handler for cluster command 0x02: get_membership_response(capacity=32, groups=[]) [0xED2A:1:0x0004] Received ZCL frame: b'\x18\xe3\x0b\x02\x00' [0xED2A:1:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=227, command_id=11, *is_reply=True) [0xED2A:1:0x0004] Decoded ZCL frame: Groups:Default_Response(command_id=2, status=) [0xED2A:1:0x0004] Received command 0x0B (TSN 227): Default_Response(command_id=2, status=) [0xED2A:2:0x0004] Received ZCL frame: b'\x19\xe7\x02 \x00' [0xED2A:2:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=True, *is_general=False), tsn=231, command_id=2, *is_reply=True) [0xED2A:2:0x0004] Decoded ZCL frame: Groups:get_membership_response(capacity=32, groups=[]) [0xED2A:2:0x0004] Received ZCL frame: b'\x18\xe7\x0b\x02\x00' [0xED2A:2:0x0004] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=231, command_id=11, *is_reply=True) [0xED2A:2:0x0004] Decoded ZCL frame: Groups:Default_Response(command_id=2, status=) [0xed2a] Invalid state on future for 0xe7 seq -- probably duplicate response [0xED2A:1:0x0006] Received ZCL frame: b'\x18\xdf\x01\x00\x00\x00\x10\x01' [0xED2A:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=223, command_id=1, *is_reply=True) [0xED2A:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0xED2A:2:0x0006] Received ZCL frame: b'\x18\xe1\x01\x00\x00\x00\x10\x00' [0xED2A:2:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=225, command_id=1, *is_reply=True) [0xED2A:2:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=Bool, value=))]) [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0xed2a:zdo] ZDO request ZDOCmd.NWK_addr_req: [90:35:ea:ff:fe:4b:cf:c5, 0, 0] [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) [0xed2a:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000] [0xed2a:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000]) Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) left the network Device 0xed2a (a4:c1:38:bb:11:d0:6d:dc) left the network [0xDB8E:1:0x0400] Received ZCL frame: b'\x184\n\x00\x00!\xcf]' [0xDB8E:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=52, command_id=10, *is_reply=True) [0xDB8E:1:0x0400] Decoded ZCL frame: IlluminanceMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=24015))]) [0xDB8E:1:0x0400] Received command 0x0A (TSN 52): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=24015))]) [0xDB8E:1:0x0400] Attribute report received: measured_value=24015 [0x1E5B:1:0x0400] Received ZCL frame: b'\x18\x8a\n\x00\x00!\xc0m' [0x1E5B:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=138, command_id=10, *is_reply=True) [0x1E5B:1:0x0400] Decoded ZCL frame: IlluminanceMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=28096))]) [0x1E5B:1:0x0400] Received command 0x0A (TSN 138): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=28096))]) [0x1E5B:1:0x0400] Attribute report received: measured_value=28096 [0x907A:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=233, command_id=, *is_reply=False) [0x907A:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285]) [0x907A:1:0x0b04] Received ZCL frame: b'\x18\xe9\x01\x0b\x05\x00)\x00\x00\x08\x05\x00!\x00\x00\x05\x05\x00!\xaa\x00' [0x907A:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=233, command_id=1, *is_reply=True) [0x907A:1:0x0b04] Decoded ZCL frame: ElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x0508, status=, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x0505, status=, value=TypeValue(type=uint16_t, value=170))]) [0x907A:1:0x0b04] Received ZCL frame: b'\x081\n\x05\x05!\xaa\x00' [0x907A:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=49, command_id=10, *is_reply=True) [0x907A:1:0x0b04] Decoded ZCL frame: ElectricalMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0505, value=TypeValue(type=uint16_t, value=170))]) [0x907A:1:0x0b04] Received command 0x0A (TSN 49): Report_Attributes(attribute_reports=[Attribute(attrid=0x0505, value=TypeValue(type=uint16_t, value=170))]) [0x907A:1:0x0b04] Attribute report received: rms_voltage=170 [0x907A:1:0x0b04] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=49, command_id=, *is_reply=True) [0x907A:1:0x0b04] Sending reply: Default_Response(command_id=10, status=) [0xDB8E:1:0x0400] Received ZCL frame: b'\x18q\n\x00\x00!\xe8\\' [0xDB8E:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=113, command_id=10, *is_reply=True) [0xDB8E:1:0x0400] Decoded ZCL frame: IlluminanceMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=23784))]) [0xDB8E:1:0x0400] Received command 0x0A (TSN 113): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=23784))]) [0xDB8E:1:0x0400] Attribute report received: measured_value=23784 [0xED2A:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=236, command_id=, *is_reply=False) [0xED2A:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0xED2A:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=238, command_id=, *is_reply=False) [0xED2A:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0x1E5B:1:0x0400] Received ZCL frame: b'\x18\xc7\n\x00\x00!\xeal' [0x1E5B:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=199, command_id=10, *is_reply=True) [0x1E5B:1:0x0400] Decoded ZCL frame: IlluminanceMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=27882))]) [0x1E5B:1:0x0400] Received command 0x0A (TSN 199): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=27882))]) [0x1E5B:1:0x0400] Attribute report received: measured_value=27882 [0x907A:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=240, command_id=, *is_reply=False) [0x907A:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285]) [0x907A:1:0x0b04] Received ZCL frame: b'\x18\xf0\x01\x0b\x05\x00)\x00\x00\x08\x05\x00!\x00\x00\x05\x05\x00!\xaa\x00' [0x907A:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=240, command_id=1, *is_reply=True) [0x907A:1:0x0b04] Decoded ZCL frame: ElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x0508, status=, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x0505, status=, value=TypeValue(type=uint16_t, value=170))]) [0xed2a] Delivery error for seq # 0xec, on endpoint id 1 cluster 0x0006: message send failure [0xed2a] Delivery error for seq # 0xee, on endpoint id 2 cluster 0x0006: message send failure [0xED2A:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=242, command_id=, *is_reply=False) [0xED2A:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0xED2A:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=244, command_id=, *is_reply=False) [0xED2A:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0xed2a] Delivery error for seq # 0xf2, on endpoint id 2 cluster 0x0006: message send failure [0xed2a] Delivery error for seq # 0xf4, on endpoint id 1 cluster 0x0006: message send failure [0xED2A:2:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=246, command_id=, *is_reply=False) [0xED2A:2:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0xED2A:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=248, command_id=, *is_reply=False) [0xED2A:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0]) [0xed2a] Delivery error for seq # 0xf6, on endpoint id 2 cluster 0x0006: message send failure [0xed2a] Delivery error for seq # 0xf8, on endpoint id 1 cluster 0x0006: message send failure ```

Additional context HA log message send failure when attempting to control the light.


[zigpy.device] [0xed2a] Delivery error for seq # 0xf8, on endpoint id 1 cluster 0x0006: message send failure
github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.