Thanks @Janneman, those are the clearest instructions that I’ve found yet! According to those, I have been putting the devices into pairing mode correctly. For the door sensor I wasn’t placing the magnet next to the sensor body during pairing, but I tried that and it didn’t make a difference. I see nothing in the logs (enabled debug logging as described in the docs) that looks pairing-specific when I try to pair with any of the devices.
I have only USB3 ports, but I am using an extension cable. But FWIW the M2 Hub, which worked fine, was located in exactly the same place, and I would really not expect this to matter if I’m holding the device a few centimeters away from the antenna. Interference might cause disconnects later, once the devices are moved further away, but it shouldn’t block pairing.
So perhaps there is an issue with the Sonoff dongle. I see no errors in the logs; only a periodically-repeating debug log segment that looks like this:
2022-10-10 12:25:16.345 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2022-10-10 12:25:16.347 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'242b21a9a52adca67e'
2022-10-10 12:25:16.364 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'432ba1a9a52a15b253944a25aa5592499c4e26abecce638bffc66389fc7e3fa7ebcdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca6580459a4d9e4f9ff7c3d9d46a35a251904824bdf67e'
2022-10-10 12:25:16.364 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e'
2022-10-10 12:25:16.365 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 241 (readCounters) received: b'00000a000000000000000000010001000400020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000'
2022-10-10 12:25:16.367 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
2022-10-10 12:25:16.367 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'352821a9fe2a1631c37e'
2022-10-10 12:25:16.373 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'5428a1a9fe2a15b3ae215e7e'
2022-10-10 12:25:16.373 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e'
2022-10-10 12:25:16.374 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 170 (getValue) received: b'0001f7'
2022-10-10 12:25:16.375 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 247
2022-10-10 12:25:16.375 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 0, MAC_TX_BROADCAST = 10, MAC_RX_UNICAST = 0, MAC_TX_UNICAST_SUCCESS = 0, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 4, APS_DATA_TX_UNICAST_SUCCESS = 2, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 0, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 10, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 247]
Does that say anything about whether the dongle is or isn’t working?
Unfortunately I don’t have any other Zigbee devices to try this with, except for some Philips Hue bulbs that I don’t want to unpair. In any case they’re apparently difficult to place into pairing mode (I don’t have a switch), so not a great test. Any other way to check whether the dongle is working correctly?