Here is a part of my debug log (it’s node 16) :
22:45:41.536 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 10 04 2B 01 28 00
22:45:41.536 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 16: Application Command Request (ALIVE:DONE)
22:45:41.537 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 16: Starting initialisation from DONE
22:45:41.537 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@28ef3e7a already registered
22:45:41.537 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 16: Incoming command class SCENE_ACTIVATION
22:45:41.537 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 16: Command class SCENE_ACTIVATION not found, trying to add it.
22:45:41.537 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 16: Creating new instance of command class SCENE_ACTIVATION
22:45:41.537 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 16: Command class SCENE_ACTIVATION, endpoint null created
22:45:41.538 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 16: Adding command class SCENE_ACTIVATION
22:45:41.538 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 16: Adding command class SCENE_ACTIVATION to the list of supported command classes.
22:45:41.538 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - Received Scene Activation for Node ID = 16
22:45:41.538 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - Scene Activation Set
22:45:41.538 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - Scene activation node from node 16: Scene 40, Time 0
22:45:41.538 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent
22:45:41.538 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 16: Got an event from Z-Wave network: ZWaveCommandClassValueEvent
22:45:41.539 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 16: Got a value event from Z-Wave network, endpoint = 0, command class = SCENE_ACTIVATION, value = 40
22:45:41.539 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 3: Transaction not completed: node address inconsistent. lastSent=3, incoming=255
22:45:41.860 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 08 00 04 00 10 02 84 07 62
22:45:41.860 [INFO ] [marthome.event.ItemStateChangedEvent] - zwave_serial_zstick_aba1fcb7_serial_sof changed from 2973 to 2974
Here is my item :
Number I_SAM_Ouest { channel="zwave:device:aba1fcb7:node16:scene_number" }
and my rules :
rule "Interrupteur_SAM"
when
Item I_SAM_Ouest received update
then
if (I_SAM_Ouest.state == 10) {
logInfo("Remote Nodon", "Rule: Button1 SingleClick")
}
if (I_SAM_Ouest.state == 13) {
logInfo("Remote Nodon", "Rule: Button1 DoubleClick")
}
if (I_SAM_Ouest.state == 11) {
logInfo("Remote Nodon", "Rule: Button1 LongClick")
}
if (I_SAM_Ouest.state == 20) {
logInfo("Remote Nodon", "Rule: Button2 SingleClick")
}
if (I_SAM_Ouest.state == 23) {
logInfo("Remote Nodon", "Rule: Button2 DoubleClick")
}
if (I_SAM_Ouest.state == 21) {
logInfo("Remote Nodon", "Rule: Button2 LongClick")
}
if (I_SAM_Ouest.state == 30) {
logInfo("Remote Nodon", "Rule: Button3 SingleClick")
}
if (I_SAM_Ouest.state == 33) {
logInfo("Remote Nodon", "Rule: Button3 DoubleClick")
}
if (I_SAM_Ouest.state == 31) {
logInfo("Remote Nodon", "Rule: Button3 LongClick")
}
if (I_SAM_Ouest.state == 40) {
logInfo("Remote Nodon", "Rule: Button4 SingleClick")
}
if (I_SAM_Ouest.state == 43) {
logInfo("Remote Nodon", "Rule: Button4 DoubleClick")
}
if (I_SAM_Ouest.state == 41) {
logInfo("Remote Nodon", "Rule: Button4 LongClick")
}
end
Thanks !