Hi everyone.
I was successful in binding my own custom HA Light/ON/OFF Zigbee device into OH 3.0.2.
But it looks like that I still have some problems with the status of my device in OH.
The toggle switch in openhab sends only a zigbee command to turn ON.
In the attached example you will notice that the confirmation of the toggle ON was successful. But right after toggle ON, I tried in OH to turn the zigbee device OFF again, which even did not result in a new log entry. OH just did nothing. Any idea?
2021-06-27 17:25:02.043 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 84FD27FFFEE65E1A: Command for channel zigbee:device:03539ad1d6:84fd27fffee65e1a:84FD27FFFEE65E1A_1_switch --> ON [OnOffType]
2021-06-27 17:25:02.043 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 84FD27FFFEE65E1A: Added transaction to queue, len=1, transaction=ZigBeeTransaction [ieeeAddress=84FD27FFFEE65E1A queueTime=0, state=WAITING, sendCnt=0, command=OnCommand [On/Off: 0000/0 -> 95B0/1, cluster=0006, TID=--]]
2021-06-27 17:25:02.043 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=1, sleepy=0/3
2021-06-27 17:25:02.044 [DEBUG] [transaction.ZigBeeTransactionManager] - 95B0/1: Sending ZigBeeTransaction [ieeeAddress=84FD27FFFEE65E1A queueTime=1, state=WAITING, sendCnt=0, command=OnCommand [On/Off: 0000/0 -> 95B0/1, cluster=0006, TID=68]]
2021-06-27 17:25:02.044 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerAdded: 1 outstanding
2021-06-27 17:25:02.044 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: OnCommand [On/Off: 0000/0 -> 95B0/1, cluster=0006, TID=68]
2021-06-27 17:25:02.044 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX ZCL: ZclHeader [frameType=CLUSTER_SPECIFIC_COMMAND, manufacturerSpecific=false, direction=CLIENT_TO_SERVER, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=104, commandId=1]
2021-06-27 17:25:02.044 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/1, destinationAddress=95B0/1, profile=0104, cluster=0006, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=9E, rssi=--, lqi=--, payload=01 68 01]
2021-06-27 17:25:02.044 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee send: XBeeTransmitRequestExplicitCommand [frameId=104, ieeeAddress=84FD27FFFEE65E1A, networkAddress=38320, sourceEndpoint=1, destinationEndpoint=1, cluster=6, profileId=260, broadcastRadius=0, options=[], data=01 68 01]
2021-06-27 17:25:02.045 [DEBUG] [converter.ZigBeeBaseChannelConverter] - 84FD27FFFEE65E1A: Channel zigbee:device:03539ad1d6:84fd27fffee65e1a:84FD27FFFEE65E1A_1_switch waiting for response to ON
2021-06-27 17:25:02.045 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=68 state=TX_ACK
2021-06-27 17:25:02.045 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeTransmitRequestExplicitCommand [frameId=178, ieeeAddress=84FD27FFFEE65E1A, networkAddress=38320, sourceEndpoint=1, destinationEndpoint=1, cluster=6, profileId=260, broadcastRadius=0, options=[], data=01 68 01]
2021-06-27 17:25:02.045 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=68, state=TX_ACK, outstanding=1
2021-06-27 17:25:02.045 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeTransmitRequestExplicitCommand [frameId=178, ieeeAddress=84FD27FFFEE65E1A, networkAddress=38320, sourceEndpoint=1, destinationEndpoint=1, cluster=6, profileId=260, broadcastRadius=0, options=[], data=01 68 01]
2021-06-27 17:25:02.045 [DEBUG] [zigbee.transaction.ZigBeeTransaction] - Transaction state changed: nwk=95B0, TID=68, event=TX_ACK, state=TRANSMITTED
2021-06-27 17:25:02.049 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 17 11 B2 84 FD 27 FF FE E6 5E 1A 95 B0 01 01 00 06 01 04 00 00 01 68 01 7D
2021-06-27 17:25:02.108 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - RX XBEE Data: 00 17 91 84 FD 27 FF FE E6 5E 1A 95 B0 01 01 00 06 01 04 01 08 68 0B 01 81 1B
2021-06-27 17:25:02.108 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - RX XBEE: XBeeReceivePacketExplicitEvent [ieeeAddress=84FD27FFFEE65E1A, networkAddress=38320, sourceEndpoint=1, destinationEndpoint=1, clusterId=6, profileId=260, receiveOptions=PACKET_ACKNOWLEDGED, data=08 68 0B 01 81]
2021-06-27 17:25:02.108 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=95B0/1, destinationAddress=0000/1, profile=0104, cluster=0006, addressMode=null, radius=0, apsSecurity=false, ackRequest=false, apsCounter=--, rssi=--, lqi=--, payload=08 68 0B 01 81]
2021-06-27 17:25:02.109 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=104, commandId=11]
2021-06-27 17:25:02.109 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: DefaultResponse [On/Off: 95B0/1 -> 0000/1, cluster=0006, TID=68, commandIdentifier=1, statusCode=UNSUP_CLUSTER_COMMAND]
2021-06-27 17:25:02.109 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: DefaultResponse [On/Off: 95B0/1 -> 0000/1, cluster=0006, TID=68, commandIdentifier=1, statusCode=UNSUP_CLUSTER_COMMAND]
2021-06-27 17:25:02.109 [DEBUG] [zigbee.transaction.ZigBeeTransaction] - Transaction response received - waiting TX_ACK: ZigBeeTransaction [ieeeAddress=84FD27FFFEE65E1A queueTime=66, state=RESPONDED, sendCnt=1, command=OnCommand [On/Off: 0000/0 -> 95B0/1, cluster=0006, TID=68]]
2021-06-27 17:25:02.140 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - RX XBEE Data: 00 07 8B B2 95 B0 00 00 00 7D
2021-06-27 17:25:02.140 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - RX XBEE: XBeeTransmitStatusResponse [frameId=178, networkAddress=38320, transmitRetryCount=0, deliveryStatus=SUCCESS, discoveryStatus=NO_DISCOVERY_OVERHEAD]
2021-06-27 17:25:02.140 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=68 state=RX_ACK
2021-06-27 17:25:02.140 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=68, state=RX_ACK, outstanding=1
2021-06-27 17:25:02.141 [DEBUG] [converter.ZigBeeBaseChannelConverter] - 84FD27FFFEE65E1A: Channel zigbee:device:03539ad1d6:84fd27fffee65e1a:84FD27FFFEE65E1A_1_switch received ERROR in response to ON
2021-06-27 17:25:02.141 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=84FD27FFFEE65E1A queueTime=97, state=COMPLETE, sendCnt=1, command=OnCommand [On/Off: 0000/0 -> 95B0/1, cluster=0006, TID=68]]
2021-06-27 17:25:02.141 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerRemoved: 0 outstanding
2021-06-27 17:25:02.141 [DEBUG] [converter.ZigBeeBaseChannelConverter] - 84FD27FFFEE65E1A: Channel zigbee:device:03539ad1d6:84fd27fffee65e1a:84FD27FFFEE65E1A_1_switch received SUCCESS in response to ON
2021-06-27 17:25:02.141 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 84FD27FFFEE65E1A: transactionComplete, state=COMPLETE, outstanding=0
2021-06-27 17:25:02.141 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=0, sleepy=0/3
2021-06-27 17:25:02.141 [DEBUG] [zigbee.transaction.ZigBeeTransaction] - Transaction state changed: nwk=95B0, TID=68, event=RX_ACK, state=COMPLETE