I have a tuya/Zigbee 4 button Scene Switch that i have successfully paired to ZHA (w/usb stick) no gateways, and it shows up ok.
4 button scene switch from Aliexpress
Problem: While the device appears paired and registered (device and entities show up and can be programmed to scenes etc) there is no zha_event triggered when i press a button, and hence no response from hass and no automation/scene etc is activated. Can’t detect the entity state change in node-red either.
Device info
TS0044 by _TZ3000_vp6clf9d
Zigbee Coordinator
Zigbee info
IEEE: bc:33:ac:ff:fe:61:6a:e7
Nwk: 0x7b86
Device Type: EndDevice
LQI: 255
RSSI: -74
Last Seen: 2020-10-07T11:49:22
Power Source: Battery or Unknown
monitoring the logs - during pairing, i noticed this:
[0x7b86:4] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=4, profile=260, device_type=0, device_version=1, input_clusters=[1, 6], output_clusters=[])
Checking quirks for _TZ3000_vp6clf9d TS0044 (bc:33:ac:ff:fe:61:6a:e7)
after a number of checks… it get to
Considering <class ‘zhaquirks.xbee.xbee_io.XBeeSensor’>
Fail because endpoint list mismatch: {232, 230} {1, 2, 3, 4}
Considering <class ‘zhaquirks.xiaomi.mija.smoke.MijiaHoneywellSmokeDetectorSensor’>
Fail because endpoint list mismatch: {1} {1, 2, 3, 4}
device - 0x7B86:bc:33:ac:ff:fe:61:6a:e7 entering async_device_initialized - is_new_join: True
device - 0x7B86:bc:33:ac:ff:fe:61:6a:e7 has joined the ZHA zigbee network
0x7B86: started configuration
0x7B86:ZDO: ‘async_configure’ stage succeeded
[0x7b86] Extending timeout for 0x2f request
[0x7b86] Extending timeout for 0x31 request
[0x7b86] Extending timeout for 0x33 request
[0x7b86:2:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=97 command_id=253>
[0x7b86:2:0x0006] Unknown cluster-specific command 253
[0x7b86:2:0x0006] ZCL request 0x00fd: b’\x00’
[0x7b86:2:0x0006] No handler for cluster command 253
[0x7B86:2:0x0006]: received ‘253’ command with b’\x00’ args on cluster_id ‘6’ tsn ‘97’
[0x7B86:1:0x0001]: bound ‘power’ cluster: Status.SUCCESS
[0x7b86] Extending timeout for 0x35 request
[0x7B86:1:0x0000]: bound ‘basic’ cluster: Status.SUCCESS
[0x7B86:1:0x0000]: finished channel configuration
[0x7b86] Extending timeout for 0x37 request
[0x7B86:1:0x0006]: bound ‘on_off’ cluster: Status.SUCCESS
With debug enagled, the home_assistant.log i found this…
2020-10-07 11:49:14 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2020-10-07 11:49:14 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 241 (readCounters) received: b’5505dc10a20009000000000000000000a5000f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000’
2020-10-07 11:49:14 DEBUG (MainThread) [bellows.zigbee.application] EZSP Counters: COUNTER_MAC_RX_BROADCAST: 1365,COUNTER_MAC_TX_BROADCAST: 4316,COUNTER_MAC_RX_UNICAST: 162,COUNTER_MAC_TX_UNICAST_SUCCESS: 9,COUNTER_MAC_TX_UNICAST_RETRY: 0,COUNTER_MAC_TX_UNICAST_FAILED: 0,COUNTER_APS_DATA_RX_BROADCAST: 0,COUNTER_APS_DATA_TX_BROADCAST: 0,COUNTER_APS_DATA_RX_UNICAST: 165,COUNTER_APS_DATA_TX_UNICAST_SUCCESS: 15,COUNTER_APS_DATA_TX_UNICAST_RETRY: 0,COUNTER_APS_DATA_TX_UNICAST_FAILED: 0,COUNTER_ROUTE_DISCOVERY_INITIATED: 0,COUNTER_NEIGHBOR_ADDED: 0,COUNTER_NEIGHBOR_REMOVED: 0,COUNTER_NEIGHBOR_STALE: 0,COUNTER_JOIN_INDICATION: 0,COUNTER_CHILD_REMOVED: 0,COUNTER_ASH_OVERFLOW_ERROR: 0,COUNTER_ASH_FRAMING_ERROR: 0,COUNTER_ASH_OVERRUN_ERROR: 0,COUNTER_NWK_FRAME_COUNTER_FAILURE: 0,COUNTER_APS_FRAME_COUNTER_FAILURE: 0,COUNTER_UTILITY: 0,COUNTER_APS_LINK_KEY_NOT_AUTHORIZED: 0,COUNTER_NWK_DECRYPTION_FAILURE: 0,COUNTER_APS_DECRYPTION_FAILURE: 0,COUNTER_ALLOCATE_PACKET_BUFFER_FAILURE: 0,COUNTER_RELAYED_UNICAST: 0,COUNTER_PHY_TO_MAC_QUEUE_LIMIT_REACHED: 0,COUNTER_PACKET_VALIDATE_LIBRARY_DROPPED_COUNT: 0,COUNTER_TYPE_NWK_RETRY_OVERFLOW: 0,COUNTER_PHY_CCA_FAIL_COUNT: 0,COUNTER_BROADCAST_TABLE_FULL: 0,COUNTER_PTA_LO_PRI_REQUESTED: 0
2020-10-07 11:49:15 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b’0004010600040100010000a1feb9867bffff040122fd00’
2020-10-07 11:49:15 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=161), 254, -71, 0x7b86, 255, 255, b’\x01"\xfd\x00’]
2020-10-07 11:49:15 DEBUG (MainThread) [zigpy.zcl] [0x7b86:4:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=34 command_id=253>
2020-10-07 11:49:15 WARNING (MainThread) [zigpy.zcl] [0x7b86:4:0x0006] Unknown cluster-specific command 253
2020-10-07 11:49:15 DEBUG (MainThread) [zigpy.zcl] [0x7b86:4:0x0006] ZCL request 0x00fd: b’\x00’
2020-10-07 11:49:15 DEBUG (MainThread) [zigpy.zcl] [0x7b86:4:0x0006] No handler for cluster command 253
2020-10-07 11:49:15 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x7B86:4:0x0006]: received ‘253’ command with b’\x00’ args on cluster_id ‘6’ tsn ‘34’
2020-10-07 11:49:16 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b’0004010600040100010000a2ffba867bffff040122fd00’
2020-10-07 11:49:16 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=162), 255, -70, 0x7b86, 255, 255, b’\x01"\xfd\x00’]
2020-10-07 11:49:16 DEBUG (MainThread) [zigpy.zcl] [0x7b86:4:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=34 command_id=253>
2020-10-07 11:49:16 WARNING (MainThread) [zigpy.zcl] [0x7b86:4:0x0006] Unknown cluster-specific command 253
2020-10-07 11:49:16 DEBUG (MainThread) [zigpy.zcl] [0x7b86:4:0x0006] ZCL request 0x00fd: b’\x00’
2020-10-07 11:49:16 DEBUG (MainThread) [zigpy.zcl] [0x7b86:4:0x0006] No handler for cluster command 253
2020-10-07 11:49:16 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x7B86:4:0x0006]: received ‘253’ command with b’\x00’ args on cluster_id ‘6’ tsn ‘34’
2020-10-07 11:49:18 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b’0004010600030100010000a3ffb7867bffff040123fd00’
2020-10-07 11:49:18 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=3, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=163), 255, -73, 0x7b86, 255, 255, b’\x01#\xfd\x00’]
2020-10-07 11:49:18 DEBUG (MainThread) [zigpy.zcl] [0x7b86:3:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=35 command_id=253>
2020-10-07 11:49:18 WARNING (MainThread) [zigpy.zcl] [0x7b86:3:0x0006] Unknown cluster-specific command 253
2020-10-07 11:49:18 DEBUG (MainThread) [zigpy.zcl] [0x7b86:3:0x0006] ZCL request 0x00fd: b’\x00’
2020-10-07 11:49:18 DEBUG (MainThread) [zigpy.zcl] [0x7b86:3:0x0006] No handler for cluster command 253
2020-10-07 11:49:18 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x7B86:3:0x0006]: received ‘253’ command with b’\x00’ args on cluster_id ‘6’ tsn ‘35’
2020-10-07 11:49:20 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 69 (incomingMessageHandler) received: b’0004010100010100010000a4ffb8867bffff0708240a210020c8’
2020-10-07 11:49:20 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=1, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=164), 255, -72, 0x7b86, 255, 255, b’\x08$\n!\x00 \xc8’]
2020-10-07 11:49:20 DEBUG (MainThread) [zigpy.zcl] [0x7b86:1:0x0001] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=36 command_id=Command.Report_Attributes>
2020-10-07 11:49:20 DEBUG (MainThread) [zigpy.zcl] [0x7b86:1:0x0001] ZCL request 0x000a: [[Attribute(attrid=33, value=)]]
2020-10-07 11:49:20 DEBUG (MainThread) [zigpy.zcl] [0x7b86:1:0x0001] Attribute report received: battery_percentage_remaining=200
2020-10-07 11:49:20 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x7B86, EmberApsFrame(profileId=260, clusterId=1, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=36), 22, b’\x18$\x0b\n\x00’)
2020-10-07 11:49:20 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 52 (sendUnicast) received: b’005b’
2020-10-07 11:49:20 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 63 (messageSentHandler) received: b’00867b040101000101400100005b160000’
just seems that there is something missing in the configuration to recognise the switch press… and hence no event is captured and nothing can be activated?
Did i do something wrong… tried a few times, and have other zigbee button and pir sensors working fine.
Suggestions greatly appreciated.