Hi,
I’m trying to switch from OpenAssistant !
So I’ve configured a thing for my SONOFF dongle coordinator.
I’m now trying to add my first temperature sensor.
So I’ve clicked Settings, then ‘+’, then “OpenHab Zigbee Binding”, then the Scan button.
I set my sensor in pairing mode.
Nothing happens. The scan finishes with no message. The sensor says it’s not paired.
Please, what am I doing wrong ?
Thanks.
You should turn on debug logging as listed here: ZigBee - Bindings | openHAB. Then look in the log to see if there is any info when you try to pair.
Also, if you can, factory reset the device prior to attempting to pair it.
I have a log that seems to show that the coordinator is in discovery mode.
But then nothing more.
11:10:28.114 [DEBUG] [covery.Slzb06MDNSDiscoveryParticipant] - SLZB-06: Discovery getServiceType '_slzb-06._tcp.local.'
11:10:28.114 [DEBUG] [gbee.discovery.ZigBeeDiscoveryService] - Starting ZigBee scan for zigbee:coordinator_ember:fbfd2559c1
11:10:28.115 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - Permit join to FFFC/0 for 60 seconds.
11:10:28.116 [DEBUG] [ee.transaction.ZigBeeTransactionQueue] - Broadcast: Added transaction to queue, len=1, transaction=ZigBeeTransaction [ieeeAddress=null queueTime=0, state=WAITING, sendCnt=0, command=ManagementPermitJoiningRequest [0000/0 -> FFFC/0, cluster=0036, TID=--, permitDuration=60, tcSignificance=true]]
11:10:28.117 [DEBUG] [.transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=1, sleepy=0/3
11:10:28.118 [DEBUG] [.transaction.ZigBeeTransactionManager] - FFFC/0: Sending ZigBeeTransaction [ieeeAddress=null queueTime=2, state=WAITING, sendCnt=0, command=ManagementPermitJoiningRequest [0000/0 -> FFFC/0, cluster=0036, TID=07, permitDuration=60, tcSignificance=true]]
11:10:28.119 [DEBUG] [.transaction.ZigBeeTransactionManager] - transactionListenerAdded: 1 outstanding
11:10:28.120 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ManagementPermitJoiningRequest [0000/0 -> FFFC/0, cluster=0036, TID=07, permitDuration=60, tcSignificance=true]
11:10:28.121 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/0, destinationAddress=FFFC/0, profile=0000, cluster=0036, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=07, rssi=--, lqi=--, payload=07 3C 01]
11:10:28.122 [DEBUG] [ee.transaction.ZigBeeTransactionQueue] - E0798DFFFED1BDEC: Added transaction to queue, len=1, transaction=ZigBeeTransaction [ieeeAddress=E0798DFFFED1BDEC queueTime=0, state=WAITING, sendCnt=0, command=ManagementPermitJoiningRequest [0000/0 -> 0000/0, cluster=0036, TID=--, permitDuration=60, tcSignificance=true]]
11:10:28.123 [DEBUG] [.transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=1, outstandingQueues=1, sleepy=0/3
11:10:28.124 [DEBUG] [.transaction.ZigBeeTransactionManager] - 0000/0: Sending ZigBeeTransaction [ieeeAddress=E0798DFFFED1BDEC queueTime=1, state=WAITING, sendCnt=0, command=ManagementPermitJoiningRequest [0000/0 -> 0000/0, cluster=0036, TID=08, permitDuration=60, tcSignificance=true]]
11:10:28.124 [DEBUG] [.transaction.ZigBeeTransactionManager] - transactionListenerAdded: 2 outstanding
11:10:28.125 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ManagementPermitJoiningRequest [0000/0 -> 0000/0, cluster=0036, TID=08, permitDuration=60, tcSignificance=true]
11:10:28.125 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/0, destinationAddress=0000/0, profile=0000, cluster=0036, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=08, rssi=--, lqi=--, payload=08 3C 01]
11:10:28.130 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspSendBroadcastResponse [networkId=0, status=EMBER_SUCCESS, sequence=A7]
11:10:28.150 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspStackStatusHandler [networkId=0, status=EMBER_NETWORK_OPENED]
11:10:28.151 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspIncomingMessageHandler [networkId=0, type=EMBER_INCOMING_BROADCAST_LOOPBACK, apsFrame=EmberApsFrame [profileId=0000, clusterId=0036, sourceEndpoint=0, destinationEndpoint=0, options=[EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY], groupId=0, sequence=A7], lastHopLqi=255, lastHopRssi=0, sender=0000, bindingIndex=255, addressIndex=255, messageContents=07 3C 01]
11:10:28.151 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspSendUnicastResponse [networkId=0, status=EMBER_SUCCESS, sequence=A8]
11:10:28.152 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspIncomingMessageHandler [networkId=0, type=EMBER_INCOMING_UNICAST, apsFrame=EmberApsFrame [profileId=0000, clusterId=0036, sourceEndpoint=0, destinationEndpoint=0, options=[EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY, EMBER_APS_OPTION_RETRY], groupId=0, sequence=A8], lastHopLqi=255, lastHopRssi=0, sender=0000, bindingIndex=255, addressIndex=255, messageContents=08 3C 01]
11:10:28.152 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=0000/0, destinationAddress=0000/0, profile=0000, cluster=0036, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=A8, rssi=0, lqi=FF, payload=08 3C 01]
11:10:28.153 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - E0798DFFFED1BDEC: Node update. NWK Address=NULL
11:10:28.153 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - E0798DFFFED1BDEC: Node 0000 is not updated from ZigBeeNode [state=ONLINE, IEEE=E0798DFFFED1BDEC, NWK=----, endpoints=[]]
11:10:28.154 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ManagementPermitJoiningRequest [0000/0 -> 0000/0, cluster=0036, TID=08, permitDuration=60, tcSignificance=true]
11:10:28.155 [DEBUG] [.transaction.ZigBeeTransactionManager] - notifyTransactionCommand: ManagementPermitJoiningRequest [0000/0 -> 0000/0, cluster=0036, TID=08, permitDuration=60, tcSignificance=true]
11:10:28.156 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspMessageSentHandler [networkId=0, type=EMBER_OUTGOING_DIRECT, indexOrDestination=0000, apsFrame=EmberApsFrame [profileId=0000, clusterId=0036, sourceEndpoint=0, destinationEndpoint=0, options=[EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY, EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY, EMBER_APS_OPTION_RETRY], groupId=0, sequence=A8], messageTag=08, status=EMBER_SUCCESS, messageContents=]
11:10:28.156 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=08 state=RX_ACK
11:10:28.157 [DEBUG] [.transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=08, state=RX_ACK, outstanding=2
11:10:28.158 [DEBUG] [.transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=E0798DFFFED1BDEC queueTime=36, state=COMPLETE, sendCnt=1, command=ManagementPermitJoiningRequest [0000/0 -> 0000/0, cluster=0036, TID=08, permitDuration=60, tcSignificance=true]]
11:10:28.158 [DEBUG] [.transaction.ZigBeeTransactionManager] - transactionListenerRemoved: 1 outstanding
11:10:28.159 [DEBUG] [ee.transaction.ZigBeeTransactionQueue] - E0798DFFFED1BDEC: transactionComplete, state=COMPLETE, outstanding=0
11:10:28.159 [DEBUG] [.transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=1, outstandingQueues=0, sleepy=0/3
11:10:28.159 [DEBUG] [.zigbee.transaction.ZigBeeTransaction] - Transaction state changed: nwk=0000, TID=08, event=RX_ACK, state=COMPLETE
11:10:28.170 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspIncomingMessageHandler [networkId=0, type=EMBER_INCOMING_UNICAST, apsFrame=EmberApsFrame [profileId=0000, clusterId=8036, sourceEndpoint=0, destinationEndpoint=0, options=[EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY, EMBER_APS_OPTION_RETRY], groupId=0, sequence=A9], lastHopLqi=255, lastHopRssi=0, sender=0000, bindingIndex=255, addressIndex=255, messageContents=08 80]
11:10:28.171 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=0000/0, destinationAddress=0000/0, profile=0000, cluster=8036, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=A9, rssi=0, lqi=FF, payload=08 80]
11:10:28.171 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - E0798DFFFED1BDEC: Node update. NWK Address=NULL
11:10:28.171 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - E0798DFFFED1BDEC: Node 0000 is not updated from ZigBeeNode [state=ONLINE, IEEE=E0798DFFFED1BDEC, NWK=----, endpoints=[]]
11:10:28.172 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ManagementPermitJoiningResponse [0000/0 -> 0000/0, cluster=8036, TID=08, status=INV_REQUESTTYPE]
11:10:28.172 [DEBUG] [.transaction.ZigBeeTransactionManager] - notifyTransactionCommand: ManagementPermitJoiningResponse [0000/0 -> 0000/0, cluster=8036, TID=08, status=INV_REQUESTTYPE]
11:10:29.127 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspMessageSentHandler [networkId=0, type=EMBER_OUTGOING_BROADCAST, indexOrDestination=FFFC, apsFrame=EmberApsFrame [profileId=0000, clusterId=0036, sourceEndpoint=0, destinationEndpoint=0, options=[EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY], groupId=0, sequence=A7], messageTag=07, status=EMBER_SUCCESS, messageContents=]
11:10:29.128 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=07 state=RX_ACK
11:10:29.129 [DEBUG] [.transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=07, state=RX_ACK, outstanding=1
11:10:29.131 [DEBUG] [.transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=null queueTime=1014, state=COMPLETE, sendCnt=1, command=ManagementPermitJoiningRequest [0000/0 -> FFFC/0, cluster=0036, TID=07, permitDuration=60, tcSignificance=true]]
11:10:29.131 [DEBUG] [.transaction.ZigBeeTransactionManager] - transactionListenerRemoved: 0 outstanding
11:10:29.132 [DEBUG] [ee.transaction.ZigBeeTransactionQueue] - Broadcast: transactionComplete, state=COMPLETE, outstanding=0
11:10:29.133 [DEBUG] [.transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=0, sleepy=0/3
11:10:29.134 [DEBUG] [.zigbee.transaction.ZigBeeTransaction] - Transaction state changed: nwk=FFFC, TID=07, event=RX_ACK, state=COMPLETE
11:10:30.319 [DEBUG] [covery.Slzb06MDNSDiscoveryParticipant] - SLZB-06: Discovery getServiceType '_slzb-06._tcp.local.'
(It’s better if you use the code fences to post logs - makes them more readable - the small rectangular box in the GUI with the <> puts the fences in for you.)
I’m not a Zigbee expert, but if the coordinator gets into discovery mode, then it points at the sensor device not being in pairing mode for some reason. Have you been able to pair anything else with this same coordinator? Was the sensor paired with something else before?
Perhaps @chris has better debug ideas.
What do you mean by “then it points at the sensor device not being in pairing mode for some reason” ? What do you see in the log ?
I paired a relay (they usually call switch, but it’s a relay). All these temperature sensor were paired in Home Assistant. Yes, they work.
Does this temperature sensor needs to be supported to appear ? Or would any zigbee device appear at least as unknown ?
I’m guessing that the issue is with the pairing because the log says that discovery is enabled, but nothing seems to come in from the device. And you’ve used the same coordinator for other devices in OH successfully, so that indicates there is no issue with it. Yes, I do believe that you should get an unknown device. But I would defer to @chris and others for further debug.
I use the Zigbee binding and it works well for me, but a lot of people use the zigbee2mqtt instead because it handles more non-standard devices. You could consider it.
Any device, once it joins the network, will be visible in the inbox. If the device doesn’t provide any supported channels, then there will be a message to this effect.
So, it seems the device is not joining the network, but unfortunately it’s hard to say why this is since there is no information. A sniffer might help, or it may be the device has a problem?
Did you put the sensor in pairing mode, too? Otherwise it will not even try to register with the new system!