Openhab 2.2
Z-Wave binding 2.2
I have installed a GE/JASCO Z-Wave Plus Smart Switch 14291 FW version 5.22, which is supposed to have a double-tap scene actuation. I plan to create a rule triggered by this actuation (to turn on all other outside lights).
The switch seemed to discover correctly, and the binary switch functions are working normally, from manual to zwave commanded actions.
Problem: I cannot identify any double tap scene actuation occurring in the zwave or event logs.
The Zwave alliance product details show;
Supported Command Classes
Association Group Information V1 Association V2 Basic V1 Binary Switch V1 Configuration V1 CRC16 Encapsulation Device Reset Local V1 Firmware Update MD V2 Manufacturer Specific V2 Powerlevel Scene Activation Scene Actuator Configuration Switch All V1 Version V2 Z-Wave Plus Info V2
Controlled Command Classes
Basic V1
The attributes for this switch as discovered show up in HABmin as;
ZWave Plus Node Type ON_OFF_POWER_SWITCH
Basic Class ROUTING_SLAVE
Generic Class BINARY_SWITCH
Specific Class POWER_SWITCH_BINARY
There are two channels that show up;
Binary Switch
- Name: zwave_device_7efa0603_node14_switch_binary,
- Item type: Switch,
- Category: Switch
Scene Number
- Name: zwave_device_7efa0603_node14_scene_number,
- Item type: Number,
- Category:
When I attempt to double tap, however, I am unable to detect any trace of this in the zwave log or event log. A simple sequence of ON/OFF produces the expected in the zwave log;
018-02-04 08:21:05.766 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 14: Incoming command class SWITCH_BINARY
2018-02-04 08:21:05.766 [DEBUG] [dclass.ZWaveBinarySwitchCommandClass] - Received Switch Binary Request for Node ID = 14
2018-02-04 08:21:05.767 [DEBUG] [dclass.ZWaveBinarySwitchCommandClass] - NODE 14: Switch Binary report, value = 255
2018-02-04 08:21:05.767 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent
2018-02-04 08:21:05.767 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Got an event from Z-Wave network: ZWaveCommandClassValueEvent
2018-02-04 08:21:05.767 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Got a value event from Z-Wave network, endpoint = 0, command class = SWITCH_BINARY, value = 255
2018-02-04 08:21:05.767 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Updating channel state zwave:device:7efa0603:node14:switch_binary to **ON** [OnOffType]
2018-02-04 08:21:08.792 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 14: Incoming command class SWITCH_BINARY
2018-02-04 08:21:08.792 [DEBUG] [dclass.ZWaveBinarySwitchCommandClass] - Received Switch Binary Request for Node ID = 14
2018-02-04 08:21:08.792 [DEBUG] [dclass.ZWaveBinarySwitchCommandClass] - NODE 14: Switch Binary report, value = 0
2018-02-04 08:21:08.792 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent
2018-02-04 08:21:08.792 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Got an event from Z-Wave network: ZWaveCommandClassValueEvent
2018-02-04 08:21:08.792 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Got a value event from Z-Wave network, endpoint = 0, command class = SWITCH_BINARY, value = 0
2018-02-04 08:21:08.792 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Updating channel state zwave:device:7efa0603:node14:switch_binary to **OFF** [OnOffType]
And the event.log shows;
2018-02-04 08:21:05.316 [vent.ItemStateChangedEvent] - zwave_device_7efa0603_node14_switch_binary changed from OFF to ON
2018-02-04 08:21:08.793 [vent.ItemStateChangedEvent] - zwave_device_7efa0603_node14_switch_binary changed from ON to OFF
However, absolutely nothing shows up in either log when I try a double-tap, even when I vary the double-tap speed multiple times.
When this switch is polled, the following occurs;
2018-02-04 08:23:59.223 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Polling...
2018-02-04 08:23:59.224 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Polling zwave:device:7efa0603:node14:switch_binary
2018-02-04 08:23:59.224 [DEBUG] [converter.ZWaveBinarySwitchConverter] - NODE 14: Generating poll message for SWITCH_BINARY, endpoint 0
2018-02-04 08:23:59.225 [DEBUG] [dclass.ZWaveBinarySwitchCommandClass] - NODE 14: Creating new message for application command SWITCH_BINARY_GET
2018-02-04 08:23:59.225 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 14: Polling zwave:device:7efa0603:node14:scene_number
2018-02-04 08:23:59.225 [DEBUG] [ve.internal.protocol.ZWaveController] - Message queued. Queue length = 1. Queue={}
2018-02-04 08:23:59.225 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - Took message from queue for sending. Queue length = 0
2018-02-04 08:23:59.226 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 09 00 13 0E 02 25 02 25 76 9D
2018-02-04 08:23:59.226 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 14: Sending REQUEST Message = 01 09 00 13 0E 02 25 02 25 76 9D
the .xml file (attached) node14.xml (8.4 KB)
for the node shows the SCENE_ACTIVATION class;
<entry><commandClass>SCENE_ACTIVATION</commandClass><sceneActivationCommandClass><version>1</version><instances>1</instances><versionSupported>1</versionSupported></sceneActivationCommandClass></entry>
Since a double-tap up (DTU) is supposed to throw a 1.3, I plan on a rule that turns all the outside lights on;
if(frontdoor_light_scene.state.toString == "1.3")
{
logInfo("OutdoorLights","## All Outdoor Lights On")
sendCommand(DeckLight_switch,"ON")
<and all other outdoor lights....>
}
Am I missing something simple, such as the channel category?