Hello @chris
Just included a FGS-223 v3.2 to use as a controller in OH2.
I’m running snapshot 2.2.0 Build #1008 with development binding from 20170808
I am able to receive all central scene events when pressing S1 & S2, and also get status from both binary_switch1 & 2 when changing state from Habmin. However, when pressing S1 or S2 on the node, events are only reported as binary_switch (no indication if it is ch1 or ch2.)
Lifeline association is openHab Controller, and in order to get any switch_binary report from S2 I also associated ON/OFF(S2) with openHab Controller. No other associations.
I have captured debug logs when pressing S1 and S2 and there is clearly different messages received, but it looks like they are all parsed to report the same event.
My .item file :
Switch WallSwitchStuaSW (div, switches) { channel = "zwave:device:f180343d:node52:switch_binary" }
Switch WallSwitchStuaSW1 (div, switches) { channel = "zwave:device:f180343d:node52:switch_binary1" }
Switch WallSwitchStuaSW2 (div, switches) { channel = "zwave:device:f180343d:node52:switch_binary2" }
S1 pressed:
2017-08-15 00:18:25.065 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 0D 00 04 00 34 07 56 01 25 03 00 67 A8 7B
2017-08-15 00:18:25.066 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Response SENT 6
2017-08-15 00:18:25.066 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=0, payload=00 34 07 56 01 25 03 00 67 A8
2017-08-15 00:18:25.066 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage past lock Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=0, payload=00 34 07 56 01 25 03 00 67 A8
2017-08-15 00:18:25.066 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=0, payload=00 34 07 56 01 25 03 00 67 A8
2017-08-15 00:18:25.066 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2017-08-15 00:18:25.066 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Application Command Request (ALIVE:DONE)
2017-08-15 00:18:25.066 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: resetResendCount initComplete=true isDead=false
2017-08-15 00:18:25.066 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: Decapsulating COMMAND_CLASS_CRC_16_ENCAP
2017-08-15 00:18:25.066 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: Incoming command class COMMAND_CLASS_SWITCH_BINARY, endpoint 0
2017-08-15 00:18:25.066 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: SECURITY NOT required on COMMAND_CLASS_SWITCH_BINARY
2017-08-15 00:18:25.066 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 52: Received COMMAND_CLASS_SWITCH_BINARY V1 SWITCH_BINARY_REPORT
2017-08-15 00:18:25.066 [DEBUG] [dclass.ZWaveBinarySwitchCommandClass] - NODE 52: Switch Binary report, value = 0
2017-08-15 00:18:25.066 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent
2017-08-15 00:18:25.067 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Got an event from Z-Wave network: ZWaveCommandClassValueEvent
2017-08-15 00:18:25.067 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Got a value event from Z-Wave network, endpoint = 0, command class = COMMAND_CLASS_SWITCH_BINARY, value = 0
2017-08-15 00:18:25.067 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Updating channel state zwave:device:f180343d:node52:switch_binary to OFF [OnOffType]
2017-08-15 00:18:25.070 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Commands processed 1.
2017-08-15 00:18:25.070 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Checking command org.openhab.binding.zwave.internal.protocol.ZWaveCommandClassPayload@74b7abf7.
2017-08-15 00:18:25.070 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0
2017-08-15 00:18:25.070 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0
2017-08-15 00:18:25.070 [DEBUG] [nal.protocol.ZWaveTransactionManager] - ZWaveReceiveThread queue empty
2017-08-15 00:18:25.070 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start
2017-08-15 00:18:25.070 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 49: listening == false, frequentlyListening == false, awake == false
2017-08-15 00:18:25.070 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 49: Node not awake!
S2 pressed: (note 2 messages received)
2017-08-15 00:13:48.265 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 09 00 04 08 34 03 20 01 FF 13
2017-08-15 00:13:48.265 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Response SENT 6
2017-08-15 00:13:48.265 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=8, payload=08 34 03 20 01 FF
2017-08-15 00:13:48.265 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage past lock Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=8, payload=08 34 03 20 01 FF
2017-08-15 00:13:48.265 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=8, payload=08 34 03 20 01 FF
2017-08-15 00:13:48.265 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2017-08-15 00:13:48.265 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Application Command Request (ALIVE:DONE)
2017-08-15 00:13:48.265 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: resetResendCount initComplete=true isDead=false
2017-08-15 00:13:48.265 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: Incoming command class COMMAND_CLASS_BASIC, endpoint 0
2017-08-15 00:13:48.265 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: SECURITY NOT required on COMMAND_CLASS_BASIC
2017-08-15 00:13:48.266 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 52: Received COMMAND_CLASS_BASIC V1 BASIC_SET
2017-08-15 00:13:48.266 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 52: Basic report, value = 255
2017-08-15 00:13:48.266 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent
2017-08-15 00:13:48.266 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Got an event from Z-Wave network: ZWaveCommandClassValueEvent
2017-08-15 00:13:48.266 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Got a value event from Z-Wave network, endpoint = 0, command class = COMMAND_CLASS_BASIC, value = 255
2017-08-15 00:13:48.266 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Updating channel state zwave:device:f180343d:node52:switch_binary to ON [OnOffType]
2017-08-15 00:13:48.270 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Commands processed 1.
2017-08-15 00:13:48.270 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Checking command org.openhab.binding.zwave.internal.protocol.ZWaveCommandClassPayload@3025de2a.
2017-08-15 00:13:48.270 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0
2017-08-15 00:13:48.270 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0
2017-08-15 00:13:48.270 [DEBUG] [nal.protocol.ZWaveTransactionManager] - ZWaveReceiveThread queue empty
2017-08-15 00:13:48.270 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start
2017-08-15 00:13:48.270 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 49: listening == false, frequentlyListening == false, awake == false
2017-08-15 00:13:48.270 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 49: Node not awake!
--
2017-08-15 00:13:48.282 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 09 00 04 00 34 03 20 01 FF 1B
2017-08-15 00:13:48.282 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Response SENT 6
2017-08-15 00:13:48.282 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=0, payload=00 34 03 20 01 FF
2017-08-15 00:13:48.282 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage past lock Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=0, payload=00 34 03 20 01 FF
2017-08-15 00:13:48.282 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], dest=52, callback=0, payload=00 34 03 20 01 FF
2017-08-15 00:13:48.282 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2017-08-15 00:13:48.282 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Application Command Request (ALIVE:DONE)
2017-08-15 00:13:48.283 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: resetResendCount initComplete=true isDead=false
2017-08-15 00:13:48.283 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: Incoming command class COMMAND_CLASS_BASIC, endpoint 0
2017-08-15 00:13:48.283 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 52: SECURITY NOT required on COMMAND_CLASS_BASIC
2017-08-15 00:13:48.283 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 52: Received COMMAND_CLASS_BASIC V1 BASIC_SET
2017-08-15 00:13:48.283 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 52: Basic report, value = 255
2017-08-15 00:13:48.283 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent
2017-08-15 00:13:48.283 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Got an event from Z-Wave network: ZWaveCommandClassValueEvent
2017-08-15 00:13:48.283 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Got a value event from Z-Wave network, endpoint = 0, command class = COMMAND_CLASS_BASIC, value = 255
2017-08-15 00:13:48.283 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 52: Updating channel state zwave:device:f180343d:node52:switch_binary to ON [OnOffType]
2017-08-15 00:13:48.287 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Commands processed 1.
2017-08-15 00:13:48.287 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 52: Checking command org.openhab.binding.zwave.internal.protocol.ZWaveCommandClassPayload@5f44b70b.
2017-08-15 00:13:48.287 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0
2017-08-15 00:13:48.287 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0
2017-08-15 00:13:48.287 [DEBUG] [nal.protocol.ZWaveTransactionManager] - ZWaveReceiveThread queue empty
2017-08-15 00:13:48.287 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start
2017-08-15 00:13:48.287 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 49: listening == false, frequentlyListening == false, awake == false
2017-08-15 00:13:48.287 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 49: Node not awake!
I’m quite happy with the central_scene working, except for the occasional missing release event after a long press, but I have seen this missing from many devices. Could be a critical timing in the protocol maybe? (I have also noticed that sending Z-wave commands too soon after receiving a central_scene event in a rule makes is unstable. Have to wait ~150ms. Could be related.)
Anyway, getting binary_switch1 & 2 state updates from S1 & S2 presses would make it perfect.
Cheers