ZHA: Sonoff SNZB-03 motion sensors are not pairing with CC2531 dongle, Z-Stack Home 1.2

Hi,

I just started with HA and dont know what to do with my pairing problem. I am running HA on a raspberry pi 4 and the usb dongle is the TI CC2531 with Z-Stack preinstalled. I managed to pair 3 sonoff door sensors and a smart thermostat ( TS0601 by _TZE200_jeaxp72v), so I know that the integration is working in general.

So far, I tried different batteries, plugged the dongle into an usb-extenstion cord to avoid interference, removed everything ZHA from HA and installed it fresh, starting with the motion sensors, but I get the same results.

Here is the log from ZHA:

[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_rsp: [<Status.SUCCESS: 0>]
[0x0000:zdo] No handler for ZDO request:ZDOCmd.Mgmt_Permit_Joining_rsp([<Status.SUCCESS: 0>])
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Jo ining_rsp: [<Status.SUCCESS: 0>]
[0x0000:zdo] No handler for ZDO request:ZDOCmd.Mgmt_Permit_Joining_rsp([<Status.SUCCESS: 0>])

And here is the log from the logger:

2022-02-11 19:00:27 INFO (MainThread) [zigpy_znp.zigbee.application] Permitting joins for 60 seconds
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.MgmtPermitJoinReq.Req(AddrMode=<AddrMode.NWK: 2>, Dst=0x0000, Duration=60, TCSignificance=1)
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MgmtPermitJoinReq.Rsp(Status=<Status.SUCCESS: 0>)
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.PermitJoinInd.Callback(Duration=60)
2022-02-11 19:00:27 INFO (MainThread) [zigpy_znp.zigbee.application] Coordinator is permitting joins for 60 seconds
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MgmtPermitJoinRsp.Callback(Src=0x0000, Status=<Status.SUCCESS: 0>)
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0x0000, IsBroadcast=<Bool.false: 0>, ClusterId=32822, SecurityUse=0, TSN=21, MacDst=0x0000, Data=b'\x00')
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.MgmtPermitJoinReq.Req(AddrMode=<AddrMode.Broadcast: 15>, Dst=0xFFFC, Duration=60, TCSignificance=0)
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_rsp: [<Status.SUCCESS: 0>]
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] No handler for ZDO request:ZDOCmd.Mgmt_Permit_Joining_rsp([<Status.SUCCESS: 0>])
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.Broadcast: 15>, address=0xFFFC), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=54, TSN=15, Options=<TransmitOptions.NONE: 0>, Radius=0, Data=b'\x0F\x3C\x00')
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0x0000, IsBroadcast=<Bool.false: 0>, ClusterId=32822, SecurityUse=0, TSN=22, MacDst=0x0000, Data=b'\x00')
2022-02-11 19:00:27 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-02-11 19:00:39 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2022-02-11 19:00:39 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP|UTIL|SAPI|ZDO|AF|SYS: 377>)
2022-02-11 19:01:27 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.PermitJoinInd.Callback(Duration=0)
2022-02-11 19:01:27 INFO (MainThread) [zigpy_znp.zigbee.application] Coordinator is not permitting joins anymore
2022-02-11 19:01:39 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2022-02-11 19:01:39 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP|UTIL|SAPI|ZDO|AF|SYS: 377>)

If anyone has an idea, I would be really thankful…

Welcome to the forums my friend :wave:

Many others have your issue too. Have a look if any suggestions here may help you out.

I was in the same boat as you once. The only way they would pair for me was quickly pressing the reset button during the pairing process. This would not work all the time and when it did, after a day or so, the sensor would become unavailable or always active for me. Did the unit have a fault?, not sure?, possibly.

The way I fixed this was to ask for a refund, added a few more $$$'s and went with the Aqara motion sensors.

No problems and reliable ever since :crossed_fingers:

Maybe not the answer you wanted, but if you are having issues with it already ?

All the best :+1:

Yes, not what I wanted to hear :upside_down_face:, but thank you for your answer. At least I am not the only one. I’ll try your method and if that does not help, asking for a refund sounds like a really good idea.