Hello! Thank you in advance for any help with my issue.
Coordinator: Sonoff ZBBridge w/Tasmota 10.0.0.1
Home Assistant 2023.4.1 with ZHA
Devices that are NOT working:
- ZBT-DIMSwitch-D0001 by Linkind
- IKEA Tradfri on/off button
- Tuya 4-button remote
Devices that ARE working:
- Linkind / Sengled light bulbs
- Sonoff ZBMini switches
- Sonoff S31 lite zb outlets
- Aqara contact sensors, motion sensors, leak sensors, and temp/humidity/pressure
My network was working pretty well for ~18 months, but a recent power outage caused all of my devices to go offline and I could not get it working right again – devices wouldn’t pair properly or they would quickly disappear, ZHA groups were losing members, and things were just very bad. I tried restoring all of my data from a few days before the outage, but it made no difference.
So it seemed like I had no choice but to start over. I deleted the devices from HA, and then deleted the ZHA integration, and then deleted the zigbee.db database. Then I re-added the ZHA integration. I did not make any changes in Tasmota, nor did I change anything with MQTT. (Would the ZHA setting for hardware/software flow control cause a problem like this? I wasn’t sure what to select, and chose “software” when initializing it.)
Most things are working again, however none of my buttons seem to work anymore. I can pair them over and over again successfully, but they do not trigger any zha_events within HA (observing events in the developer tools). Here’s what I have tried:
- deleting & re-adding them
- reconfiguring them
- changing the batteries
- removing batteries for several hours
- pairing through different routers
None of that seemed to have any effect, yet meanwhile all of the rest of my devices seem to be working flawlessly and I can see that HA is receiving and handling their zha_events.
I think there might be something useful in this debug output from my last attempt to add one of my buttons, but I’m not sure what to make of it. This device is a simple on/off button, a Linkind ZBT-DIMSwitch, and I’ve never had any trouble with these in the past. Let me know if there’s other information that would be helpful, and thank you for any suggestions!
Logs for zigpy app:
2023-06-03 17:22:43.924 INFO (MainThread) [zigpy.application] Device 0x3c9a (58:8e:81:ff:fe:21:08:ad) left the network
2023-06-03 17:22:43.937 INFO (MainThread) [zigpy.application] Device 0x3c9a (58:8e:81:ff:fe:21:08:ad) left the network
2023-06-03 17:22:52.985 INFO (MainThread) [zigpy.application] New device 0x3c9a (58:8e:81:ff:fe:21:08:ad) joined the network
2023-06-03 17:22:52.985 DEBUG (MainThread) [zigpy.device] [0x3c9a] Scheduling initialization
2023-06-03 17:22:52.987 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-06-03 17:22:52.987 INFO (MainThread) [zigpy.device] [0x3c9a] Requesting 'Node Descriptor'
2023-06-03 17:22:52.987 DEBUG (MainThread) [zigpy.util] Tries remaining: 2
2023-06-03 17:22:52.987 DEBUG (MainThread) [zigpy.device] [0x3c9a] Extending timeout for 0x59 request
2023-06-03 17:22:55.208 INFO (MainThread) [zigpy.application] Device 0xe754 (58:8e:81:ff:fe:21:08:ad) joined the network
2023-06-03 17:22:55.208 DEBUG (MainThread) [zigpy.application] Device 58:8e:81:ff:fe:21:08:ad changed id (0x3c9a => 0xe754)
2023-06-03 17:22:55.208 DEBUG (MainThread) [zigpy.device] [0xe754] Scheduling initialization
2023-06-03 17:22:55.208 DEBUG (MainThread) [zigpy.device] [0xe754] Canceling old initialize call
2023-06-03 17:22:55.209 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-06-03 17:22:55.209 INFO (MainThread) [zigpy.device] [0xe754] Requesting 'Node Descriptor'
2023-06-03 17:22:55.209 DEBUG (MainThread) [zigpy.util] Tries remaining: 2
2023-06-03 17:22:55.209 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x5b request
2023-06-03 17:22:55.220 INFO (MainThread) [zigpy.application] Device 0xe754 (58:8e:81:ff:fe:21:08:ad) joined the network
2023-06-03 17:22:55.220 DEBUG (MainThread) [zigpy.device] [0xe754] Scheduling initialization
2023-06-03 17:22:55.220 DEBUG (MainThread) [zigpy.device] [0xe754] Canceling old initialize call
2023-06-03 17:22:55.221 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-06-03 17:22:55.221 INFO (MainThread) [zigpy.device] [0xe754] Requesting 'Node Descriptor'
2023-06-03 17:22:55.221 DEBUG (MainThread) [zigpy.util] Tries remaining: 2
2023-06-03 17:22:55.221 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x5d request
2023-06-03 17:22:55.393 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.Broadcast: 15>, address=<BroadcastAddress.ALL_ROUTERS_AND_COORDINATOR: 65532>), dst_ep=0, source_route=None, extended_timeout=False, tsn=184, profile_id=0, cluster_id=19, data=Serialized[b'\x81T\xe7\xad\x08!\xfe\xff\x81\x8eX\x80'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:55.393 INFO (MainThread) [zigpy.application] Device 0xe754 (58:8e:81:ff:fe:21:08:ad) joined the network
2023-06-03 17:22:55.393 DEBUG (MainThread) [zigpy.device] [0xe754] Scheduling initialization
2023-06-03 17:22:55.394 DEBUG (MainThread) [zigpy.device] [0xe754] Canceling old initialize call
2023-06-03 17:22:55.394 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xE754 ieee=58:8e:81:ff:fe:21:08:ad is_initialized=False> from ep 0 to ep 0, cluster 19: b'\x81T\xe7\xad\x08!\xfe\xff\x81\x8eX\x80'
2023-06-03 17:22:55.394 DEBUG (MainThread) [zigpy.zdo] [0xe754:zdo] ZDO request ZDOCmd.Device_annce: [0xE754, 58:8e:81:ff:fe:21:08:ad, 128]
2023-06-03 17:22:55.395 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-06-03 17:22:55.395 INFO (MainThread) [zigpy.device] [0xe754] Requesting 'Node Descriptor'
2023-06-03 17:22:55.395 DEBUG (MainThread) [zigpy.util] Tries remaining: 2
2023-06-03 17:22:55.395 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x5f request
2023-06-03 17:22:55.949 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=185, profile_id=0, cluster_id=32770, data=Serialized[b'_\x00T\xe7\x02@\x80h\x11RR\x00\x00,R\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:55.950 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xE754 ieee=58:8e:81:ff:fe:21:08:ad is_initialized=False> from ep 0 to ep 0, cluster 32770: b'_\x00T\xe7\x02@\x80h\x11RR\x00\x00,R\x00\x00'
2023-06-03 17:22:55.951 INFO (MainThread) [zigpy.device] [0xe754] Got Node Descriptor: NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4456, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *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)
2023-06-03 17:22:55.952 INFO (MainThread) [zigpy.device] [0xe754] Discovering endpoints
2023-06-03 17:22:55.952 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-06-03 17:22:55.952 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x61 request
2023-06-03 17:22:56.436 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=186, profile_id=0, cluster_id=32773, data=Serialized[b'a\x00T\xe7\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:56.436 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xE754 ieee=58:8e:81:ff:fe:21:08:ad is_initialized=False> from ep 0 to ep 0, cluster 32773: b'a\x00T\xe7\x01\x01'
2023-06-03 17:22:56.438 INFO (MainThread) [zigpy.device] [0xe754] Discovered endpoints: [1]
2023-06-03 17:22:56.438 INFO (MainThread) [zigpy.device] [0xe754] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>]
2023-06-03 17:22:56.439 INFO (MainThread) [zigpy.endpoint] [0xe754:1] Discovering endpoint information
2023-06-03 17:22:56.439 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-06-03 17:22:56.439 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x63 request
2023-06-03 17:22:56.944 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=187, profile_id=0, cluster_id=32772, data=Serialized[b'c\x00T\xe7 \x01\x04\x01 \x08\x01\x06\x00\x00\x01\x00\x03\x00\x05\x0b\x00\x10\x01\xfd\x06\x03\x00\x04\x00\x06\x00\x08\x00\x19\x00\x00\x10'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:56.945 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <Device model=None manuf=None nwk=0xE754 ieee=58:8e:81:ff:fe:21:08:ad is_initialized=False> from ep 0 to ep 0, cluster 32772: b'c\x00T\xe7 \x01\x04\x01 \x08\x01\x06\x00\x00\x01\x00\x03\x00\x05\x0b\x00\x10\x01\xfd\x06\x03\x00\x04\x00\x06\x00\x08\x00\x19\x00\x00\x10'
2023-06-03 17:22:56.946 INFO (MainThread) [zigpy.endpoint] [0xe754:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=2080, device_version=1, input_clusters=[0, 1, 3, 2821, 4096, 64769], output_clusters=[3, 4, 6, 8, 25, 4096])
2023-06-03 17:22:56.947 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=101, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>)
2023-06-03 17:22:56.948 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5])
2023-06-03 17:22:56.949 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x65 request
2023-06-03 17:22:57.451 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=188, profile_id=260, cluster_id=0, data=Serialized[b'\x18e\x01\x04\x00\x00B\x02lk\x05\x00\x00B\x13ZBT-DIMSwitch-D0001'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:57.451 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0000] Received ZCL frame: b'\x18e\x01\x04\x00\x00B\x02lk\x05\x00\x00B\x13ZBT-DIMSwitch-D0001'
2023-06-03 17:22:57.452 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=101, command_id=1, *direction=<Direction.Client_to_Server: 1>)
2023-06-03 17:22:57.452 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='lk')), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='ZBT-DIMSwitch-D0001'))])
2023-06-03 17:22:57.455 INFO (MainThread) [zigpy.device] [0xe754] Read model 'ZBT-DIMSwitch-D0001' and manufacturer 'lk' from <Endpoint id=1 in=[basic:0x0000, power:0x0001, identify:0x0003, diagnostic:0x0B05, lightlink:0x1000, manufacturer_specific:0xFD01] out=[identify:0x0003, groups:0x0004, on_off:0x0006, level:0x0008, ota:0x0019, lightlink:0x1000] status=<Status.ZDO_INIT: 1>>
2023-06-03 17:22:57.456 INFO (MainThread) [zigpy.device] [0xe754] Discovered basic device information for <Device model='ZBT-DIMSwitch-D0001' manuf='lk' nwk=0xE754 ieee=58:8e:81:ff:fe:21:08:ad is_initialized=True>
2023-06-03 17:22:57.456 DEBUG (MainThread) [zigpy.application] Device is initialized <Device model='ZBT-DIMSwitch-D0001' manuf='lk' nwk=0xE754 ieee=58:8e:81:ff:fe:21:08:ad is_initialized=True>
2023-06-03 17:22:57.456 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for lk ZBT-DIMSwitch-D0001 (58:8e:81:ff:fe:21:08:ad)
2023-06-03 17:22:57.457 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xiaomi.aqara.opple_switch.XiaomiOpple2ButtonSwitchFace2'>
2023-06-03 17:22:57.457 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1, 2, 242} {1}
2023-06-03 17:22:57.457 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xiaomi.aqara.opple_switch.XiaomiOpple2ButtonSwitchFace1'>
2023-06-03 17:22:57.457 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1, 2, 41, 42, 242, 51, 21, 31} {1}
2023-06-03 17:22:57.457 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
2023-06-03 17:22:57.457 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1}
2023-06-03 17:22:57.457 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
2023-06-03 17:22:57.457 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1}
2023-06-03 17:22:57.458 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.tuya.ts0201.MoesTemperatureHumidtySensorWithScreen'>
2023-06-03 17:22:57.458 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-06-03 17:22:57.458 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
2023-06-03 17:22:57.458 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-06-03 17:22:57.458 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
2023-06-03 17:22:57.458 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-06-03 17:22:57.458 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
2023-06-03 17:22:57.458 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-06-03 17:22:57.459 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
2023-06-03 17:22:57.459 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {11, 13} {1}
2023-06-03 17:22:57.474 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x67 request
2023-06-03 17:22:57.476 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x69 request
2023-06-03 17:22:57.476 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x6b request
2023-06-03 17:22:57.477 DEBUG (MainThread) [zigpy.appdb] Error handling '_save_attribute' event with (58:8e:81:ff:fe:21:08:ad, 1, 0, 4, 'lk') params: FOREIGN KEY constraint failed
2023-06-03 17:22:57.484 DEBUG (MainThread) [zigpy.appdb] Error handling '_save_attribute' event with (58:8e:81:ff:fe:21:08:ad, 1, 0, 5, 'ZBT-DIMSwitch-D0001') params: FOREIGN KEY constraint failed
2023-06-03 17:22:58.471 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=189, profile_id=0, cluster_id=32801, data=Serialized[b'g\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:58.474 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0001] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=109, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>)
2023-06-03 17:22:58.474 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0001] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0020, datatype=32, min_interval=3600, max_interval=10800, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x0021, datatype=32, min_interval=3600, max_interval=10800, reportable_change=1)])
2023-06-03 17:22:58.475 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x6d request
2023-06-03 17:22:58.480 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=190, profile_id=0, cluster_id=32801, data=Serialized[b'i\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:58.492 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=191, profile_id=0, cluster_id=32801, data=Serialized[b'k\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:58.965 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=192, profile_id=260, cluster_id=1, data=Serialized[b'\x08m\x07\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-06-03 17:22:58.966 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0001] Received ZCL frame: b'\x08m\x07\x00'
2023-06-03 17:22:58.966 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0001] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=109, command_id=7, *direction=<Direction.Client_to_Server: 1>)
2023-06-03 17:22:58.967 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0001] Decoded ZCL frame: PowerConfiguration:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=<Status.SUCCESS: 0>)])
2023-06-03 17:22:58.977 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=111, command_id=64, *direction=<Direction.Server_to_Client: 0>)
2023-06-03 17:22:58.977 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
2023-06-03 17:22:58.977 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x6f request
2023-06-03 17:22:59.386 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=193, profile_id=0, cluster_id=2, data=Serialized[b'\x82\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=176, rssi=-56)
2023-06-03 17:22:59.386 DEBUG (MainThread) [zigpy.zdo] [0xe754:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
2023-06-03 17:22:59.387 DEBUG (MainThread) [zigpy.zdo] [0xe754:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
2023-06-03 17:23:01.972 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE754), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=194, profile_id=260, cluster_id=3, data=Serialized[b'\x08o\x0b@\x81'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=168, rssi=-58)
2023-06-03 17:23:01.973 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0003] Received ZCL frame: b'\x08o\x0b@\x81'
2023-06-03 17:23:01.973 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=111, command_id=11, *direction=<Direction.Client_to_Server: 1>)
2023-06-03 17:23:01.974 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.UNSUP_CLUSTER_COMMAND: 129>)
2023-06-03 17:23:01.978 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0001] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=113, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>)
2023-06-03 17:23:01.979 DEBUG (MainThread) [zigpy.zcl] [0xE754:1:0x0001] Sending request: Read_Attributes(attribute_ids=[32, 33])
2023-06-03 17:23:01.979 DEBUG (MainThread) [zigpy.device] [0xe754] Extending timeout for 0x71 request
Device Diagnostic Info from Home Assistant:
{
"home_assistant": {
"installation_type": "Home Assistant Container",
"version": "2023.4.1",
"dev": false,
"hassio": false,
"virtualenv": false,
"python_version": "3.10.10",
"docker": true,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "4.4.180+",
"run_as_root": true
},
"custom_components": {
"DELETED THIS":""
},
"integration_manifest": {
"domain": "zha",
"name": "Zigbee Home Automation",
"after_dependencies": [
"onboarding",
"usb"
],
"codeowners": [
"@dmulcahey",
"@adminiuga",
"@puddly"
],
"config_flow": true,
"dependencies": [
"file_upload"
],
"documentation": "https://www.home-assistant.io/integrations/zha",
"iot_class": "local_polling",
"loggers": [
"aiosqlite",
"bellows",
"crccheck",
"pure_pcapy3",
"zhaquirks",
"zigpy",
"zigpy_deconz",
"zigpy_xbee",
"zigpy_zigate",
"zigpy_znp"
],
"requirements": [
"bellows==0.35.0",
"pyserial==3.5",
"pyserial-asyncio==0.6",
"zha-quirks==0.0.95",
"zigpy-deconz==0.20.0",
"zigpy==0.54.0",
"zigpy-xbee==0.17.0",
"zigpy-zigate==0.10.3",
"zigpy-znp==0.10.0"
],
"usb": [
{
"vid": "10C4",
"pid": "EA60",
"description": "*2652*",
"known_devices": [
"slae.sh cc2652rb stick"
]
},
{
"vid": "1A86",
"pid": "55D4",
"description": "*sonoff*plus*",
"known_devices": [
"sonoff zigbee dongle plus v2"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "*sonoff*plus*",
"known_devices": [
"sonoff zigbee dongle plus"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "*tubeszb*",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "*tubeszb*",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "*zigstar*",
"known_devices": [
"ZigStar Coordinators"
]
},
{
"vid": "1CF1",
"pid": "0030",
"description": "*conbee*",
"known_devices": [
"Conbee II"
]
},
{
"vid": "10C4",
"pid": "8A2A",
"description": "*zigbee*",
"known_devices": [
"Nortek HUSBZB-1"
]
},
{
"vid": "0403",
"pid": "6015",
"description": "*zigate*",
"known_devices": [
"ZiGate+"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "*zigate*",
"known_devices": [
"ZiGate"
]
},
{
"vid": "10C4",
"pid": "8B34",
"description": "*bv 2010/10*",
"known_devices": [
"Bitron Video AV2010/10"
]
}
],
"zeroconf": [
{
"type": "_esphomelib._tcp.local.",
"name": "tube*"
},
{
"type": "_zigate-zigbee-gateway._tcp.local.",
"name": "*zigate*"
},
{
"type": "_zigstar_gw._tcp.local.",
"name": "*zigstar*"
},
{
"type": "_slzb-06._tcp.local.",
"name": "slzb-06*"
}
],
"is_built_in": true
},
"data": {
"ieee": "**REDACTED**",
"nwk": 59220,
"manufacturer": "lk",
"model": "ZBT-DIMSwitch-D0001",
"name": "lk ZBT-DIMSwitch-D0001",
"quirk_applied": false,
"quirk_class": "zigpy.device.Device",
"manufacturer_code": 4456,
"power_source": "Battery or Unknown",
"lqi": 176,
"rssi": -56,
"last_seen": "2023-06-03T17:53:22",
"available": true,
"device_type": "EndDevice",
"signature": {
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4456, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *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": 260,
"device_type": "0x0820",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0b05",
"0x1000",
"0xfd01"
],
"out_clusters": [
"0x0003",
"0x0004",
"0x0006",
"0x0008",
"0x0019",
"0x1000"
]
}
}
},
"active_coordinator": false,
"entities": [
{
"entity_id": "sensor.switch_003_battery",
"name": "lk ZBT-DIMSwitch-D0001"
},
{
"entity_id": "button.switch_003_identify",
"name": "lk ZBT-DIMSwitch-D0001"
}
],
"neighbors": [],
"routes": [],
"endpoint_names": [
{
"name": "NON_COLOR_CONTROLLER"
}
],
"user_given_name": "Switch 003",
"device_reg_id": "702d07235c18d7656fa44b9c925f7e9c",
"area_id": null,
"cluster_details": {
"1": {
"device_type": {
"name": "NON_COLOR_CONTROLLER",
"id": 2080
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0004": {
"attribute_name": "manufacturer",
"value": "lk"
},
"0x0005": {
"attribute_name": "model",
"value": "ZBT-DIMSwitch-D0001"
}
},
"unsupported_attributes": {}
},
"0x0001": {
"endpoint_attribute": "power",
"attributes": {
"0x0020": {
"attribute_name": "battery_voltage",
"value": 28
},
"0x0021": {
"attribute_name": "battery_percentage_remaining",
"value": 142
},
"0x0031": {
"attribute_name": "battery_size",
"value": 2
},
"0x0033": {
"attribute_name": "battery_quantity",
"value": 1
}
},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0b05": {
"endpoint_attribute": "diagnostic",
"attributes": {},
"unsupported_attributes": {}
},
"0x1000": {
"endpoint_attribute": "lightlink",
"attributes": {},
"unsupported_attributes": {}
},
"0xfd01": {
"endpoint_attribute": "manufacturer_specific",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0004": {
"endpoint_attribute": "groups",
"attributes": {},
"unsupported_attributes": {}
},
"0x0006": {
"endpoint_attribute": "on_off",
"attributes": {},
"unsupported_attributes": {}
},
"0x0008": {
"endpoint_attribute": "level",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
},
"0x1000": {
"endpoint_attribute": "lightlink",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}
}