openhab / org.openhab.binding.zigbee

openHAB binding for ZigBee
Eclipse Public License 2.0
73 stars 111 forks source link

ADEO LDSENK09 device support #843

Open lo92fr opened 3 days ago

lo92fr commented 3 days ago

Hello,

I try to make this zigbee devices : Adeo Lexman Smart Compact Keyfob LDSENK09 Zigbee compatibility worked with openhab. This is a four button remote device, use for alarm / presence system.

The devices is correctly pairing and detect in openhab.

image

But the channel list seems to be incomplete, there is no channel for the button press result:

image

And i’m not able to get proper communication when pressing button with openhab. The openhab logs show the following sequence when pressing the button on the remote: The messageContents part on first line seems to change in regards of what button is pressed : messageContents=01 2C 00 01 00 00

the 4 octet : 01 seems to be the button, from 00 to 03.

Thanks, Laurent.

Configuration

Configuration Description
Coordinator used SONOFF ZigBee 3.0 USB Dongle Plus, EFR32MG21
openHAB version 4.2.0 M4
Hardware x86_64
Memory 16 Go
Java version OpenJDK17
Devices Provide all device types and their addresses

Logs

024-07-04 08:25:04.174 [TRACE] [e.ember.internal.ash.AshFrameHandler] - ASH RX EZSP: EzspIncomingMessageHandler [networkId=0, type=EMBER_INCOMING_UNICAST, apsFrame=EmberApsFrame [profileId=0104, clusterId=0501, sourceEndpoint=1, destinationEndpoint=1, options=[EMBER_APS_OPTION_RETRY], groupId=0, sequence=FC], lastHopLqi=56, lastHopRssi=-86, sender=82BD, bindingIndex=255, addressIndex=255, messageContents=01 2C 00 01 00 00] 2024-07-04 08:25:04.174 [DEBUG] [zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspIncomingMessageHandler [networkId=0, type=EMBER_INCOMING_UNICAST, apsFrame=EmberApsFrame [profileId=0104, clusterId=0501, sourceEndpoint=1, destinationEndpoint=1, options=[EMBER_APS_OPTION_RETRY], groupId=0, sequence=FC], lastHopLqi=56, lastHopRssi=-86, sender=82BD, bindingIndex=255, addressIndex=255, messageContents=01 2C 00 01 00 00] 2024-07-04 08:25:04.174 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=82BD/1, destinationAddress=0000/1, profile=0104, cluster=0501, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=FC, rssi=-86, lqi=38, payload=01 2C 00 01 00 00] 2024-07-04 08:25:04.175 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - 5C0272FFFEF822BF: Node 82BD is not updated from ZigBeeNode [state=ONLINE, IEEE=5C0272FFFEF822BF, NWK=----, endpoints=[]] 2024-07-04 08:25:04.175 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 5C0272FFFEF822BF: Added transaction to queue, len=35, transaction=ZigBeeTransaction [ieeeAddress=5C0272FFFEF822BF queueTime=0, state=WAITING, sendCnt=0, command=DefaultResponse [IAS ACE: 0000/0 -> 82BD/1, cluster=0501, TID=2C, commandIdentifier=0, statusCode=FAILURE]] 2024-07-04 08:25:04.175 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Incoming message from node 82BD did not translate to command 2024-07-04 08:25:04.195 [TRACE] [e.ember.internal.ash.AshFrameHandler] - ASH RX EZSP: EzspIncomingMessageHandler [networkId=0, type=EMBER_INCOMING_UNICAST, apsFrame=EmberApsFrame [profileId=0104, clusterId=0501, sourceEndpoint=1, destinationEndpoint=1, options=[EMBER_APS_OPTION_RETRY], groupId=0, sequence=FD], lastHopLqi=60, lastHopRssi=-85, sender=82BD, bindingIndex=255, addressIndex=255, messageContents=01 2C 00 01 00 00] 2024-07-04 08:25:04.195 [DEBUG] [zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspIncomingMessageHandler [networkId=0, type=EMBER_INCOMING_UNICAST, apsFrame=EmberApsFrame [profileId=0104, clusterId=0501, sourceEndpoint=1, destinationEndpoint=1, options=[EMBER_APS_OPTION_RETRY], groupId=0, sequence=FD], lastHopLqi=60, lastHopRssi=-85, sender=82BD, bindingIndex=255, addressIndex=255, messageContents=01 2C 00 01 00 00] 2024-07-04 08:25:04.195 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=82BD/1, destinationAddress=0000/1, profile=0104, cluster=0501, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=FD, rssi=-85, lqi=3C, payload=01 2C 00 01 00 00] 2024-07-04 08:25:04.195 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - 5C0272FFFEF822BF: Node 82BD is not updated from ZigBeeNode [state=ONLINE, IEEE=5C0272FFFEF822BF, NWK=----, endpoints=[]] 2024-07-04 08:25:04.195 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 5C0272FFFEF822BF: Added transaction to queue, len=36, transaction=ZigBeeTransaction [ieeeAddress=5C0272FFFEF822BF queueTime=0, state=WAITING, sendCnt=0, command=DefaultResponse [IAS ACE: 0000/0 -> 82BD/1, cluster=0501, TID=2C, commandIdentifier=0, statusCode=FAILURE]] 2024-07-04 08:25:04.195 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Incoming message from node 82BD did not translate to command 2024-07-04 08:25:05.204 [TRACE] [e.ember.internal.ash.AshFrameHandler] - ASH RX EZSP: EzspMessageSentHandler [networkId=0, type=EMBER_OUTGOING_DIRECT, indexOrDestination=82BD, apsFrame=EmberApsFrame [profileId=0104, clusterId=0501, sourceEndpoint=1, destinationEndpoint=1, options=[EMBER_APS_OPTION_RETRY, EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY, EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY], groupId=0, sequence=FE], messageTag=17, status=EMBER_SUCCESS, messageContents=] 2024-07-04 08:25:05.205 [DEBUG] [zigbee.dongle.ember.ZigBeeDongleEzsp] - RX EZSP: EzspMessageSentHandler [networkId=0, type=EMBER_OUTGOING_DIRECT, indexOrDestination=82BD, apsFrame=EmberApsFrame [profileId=0104, clusterId=0501, sourceEndpoint=1, destinationEndpoint=1, options=[EMBER_APS_OPTION_RETRY, EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY, EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY], groupId=0, sequence=FE], messageTag=17, status=EMBER_SUCCESS, messageContents=] 2024-07-04 08:25:05.205 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=5C0272FFFEF822BF queueTime=74280, state=COMPLETE, sendCnt=1, command=DefaultResponse [IAS ACE: 0000/0 -> 82BD/1, cluster=0501, TID=17, commandIdentifier=0, statusCode=FAILURE]] 2024-07-04 08:25:05.205 [DEBUG] [transaction.ZigBeeTransactionManager] - 82BD/1: Sending ZigBeeTransaction [ieeeAddress=5C0272FFFEF822BF queueTime=73903, state=WAITING, sendCnt=0, command=DefaultResponse [IAS ACE: 0000/0 -> 82BD/1, cluster=0501, TID=18, commandIdentifier=0, statusCode=FAILURE]] 2024-07-04 08:25:05.205 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: DefaultResponse [IAS ACE: 0000/0 -> 82BD/1, cluster=0501, TID=18, commandIdentifier=0, statusCode=FAILURE] 2024-07-04 08:25:05.205 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/1, destinationAddress=82BD/1, profile=0104, cluster=0501, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=8E, rssi=--, lqi=--, payload=18 18 0B 00 01] 2024-07-04 08:25:05.206 [DEBUG] [zigbee.transaction.ZigBeeTransaction] - Transaction state changed: nwk=82BD, TID=17, event=RX_ACK, state=COMPLETE 2024-07-04 08:25:05.206 [DEBUG] [e.ember.internal.ash.AshFrameHandler] - ASH TX EZSP: EzspSendUnicastRequest [networkId=0, type=EMBER_OUTGOING_DIRECT, indexOrDestination=82BD, apsFrame=EmberApsFrame [profileId=0104, clusterId=0501, sourceEndpoint=1, destinationEndpoint=1, options=[EMBER_APS_OPTION_RETRY, EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY, EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY], groupId=0, sequence=8E], messageTag=18, messageContents=18 18 0B 00 01] 2024-07-04 08:25:05.206 [TRACE] [e.ember.internal.ash.AshFrameHandler] - TX ASH EZSP: EzspSendUnicastRequest [networkId=0, type=EMBER_OUTGOING_DIRECT, indexOrDestination=82BD, apsFrame=EmberApsFrame [profileId=0104, clusterId=0501, sourceEndpoint=1, destinationEndpoint=1, options=[EMBER_APS_OPTION_RETRY, EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY, EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY], groupId=0, sequence=8E], messageTag=18, messageContents=18 18 0B 00 01]