Zooz Scene Processor for ZwaveJS

This subflow automatically processes button presses on Zooz Switches (tested with ZEN71).

Has 14 outputs: 1-5x taps, hold, and release for up/down.

It requires an Events: All node preceding it. Enter "zwave_js_value_notification" (no quotes) in the Event Type Field.

Note: 3x Down may be the shortcut for exclusion (at least on the Zen71).

This has only been tested with ZEN71 on/off switches

[{"id":"cc0d59e2c2d2520b","type":"subflow","name":"Zen71 Scenes","info":"","category":"","in":[{"x":380,"y":340,"wires":[{"id":"105296d8973a182c"}]}],"out":[{"x":980,"y":80,"wires":[{"id":"c49b939bcf91d4d6","port":0}]},{"x":980,"y":120,"wires":[{"id":"c49b939bcf91d4d6","port":1}]},{"x":980,"y":160,"wires":[{"id":"c49b939bcf91d4d6","port":2}]},{"x":980,"y":200,"wires":[{"id":"c49b939bcf91d4d6","port":3}]},{"x":980,"y":240,"wires":[{"id":"c49b939bcf91d4d6","port":4}]},{"x":980,"y":280,"wires":[{"id":"c49b939bcf91d4d6","port":5}]},{"x":980,"y":320,"wires":[{"id":"c49b939bcf91d4d6","port":6}]},{"x":980,"y":360,"wires":[{"id":"abee2b93125df17f","port":0}]},{"x":980,"y":400,"wires":[{"id":"abee2b93125df17f","port":1}]},{"x":980,"y":440,"wires":[{"id":"abee2b93125df17f","port":2}]},{"x":980,"y":480,"wires":[{"id":"abee2b93125df17f","port":3}]},{"x":980,"y":520,"wires":[{"id":"abee2b93125df17f","port":4}]},{"x":980,"y":560,"wires":[{"id":"abee2b93125df17f","port":5}]},{"x":980,"y":600,"wires":[{"id":"abee2b93125df17f","port":6}]}],"env":[],"meta":{},"color":"#DDAA99","outputLabels":["1x Tap Up","2x Tap Up","3x Tap Up","4x Tap Up","5x Tap Up","Hold Up","Release Up","1x Tap Down","2x Tap Down","3x Tap Down","4x Tap Down","5x Tap Down","Hold Down","Release Down"]},{"id":"105296d8973a182c","type":"switch","z":"cc0d59e2c2d2520b","name":"Scene ID","property":"payload.event.label","propertyType":"msg","rules":[{"t":"eq","v":"Scene 001","vt":"str"},{"t":"eq","v":"Scene 002","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":520,"y":340,"wires":[["c49b939bcf91d4d6"],["abee2b93125df17f"]]},{"id":"abee2b93125df17f","type":"switch","z":"cc0d59e2c2d2520b","name":"Scene Value (Down)","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"},{"t":"eq","v":"KeyPressed2x","vt":"str"},{"t":"eq","v":"KeyPressed3x","vt":"str"},{"t":"eq","v":"KeyPressed4x","vt":"str"},{"t":"eq","v":"KeyPressed5x","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"},{"t":"eq","v":"KeyReleased","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":760,"y":400,"wires":[[],[],[],[],[],[],[]],"outputLabels":["Single Tap Down","Double Tap Down","Triple Tap Down","Quad Tap Down","5 Tap Down","Hold Down","Hold Up"]},{"id":"c49b939bcf91d4d6","type":"switch","z":"cc0d59e2c2d2520b","name":"Scene Value (Up)","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"},{"t":"eq","v":"KeyPressed2x","vt":"str"},{"t":"eq","v":"KeyPressed3x","vt":"str"},{"t":"eq","v":"KeyPressed4x","vt":"str"},{"t":"eq","v":"KeyPressed5x","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"},{"t":"eq","v":"KeyReleased","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":750,"y":280,"wires":[[],[],[],[],[],[],[]],"outputLabels":["Single Tap Up","Double Tap Up","Triple Tap Up","Quad Tap Up","5 Tap Up","Hold Up","Release Up"]},{"id":"65206d27db08f74c","type":"subflow:cc0d59e2c2d2520b","z":"5601971d2c02417b","name":"","x":450,"y":800,"wires":[["ff4b926a7d7ff3d9"],["0266934abb982ed2"],["13d6c4b0a334afad"],["fc30704f5a3996bd"],["0c57b223843990d6"],["29c755d103fc8283"],["251c732e315ee8bf"],["5f0f29f22b43e69c"],["6a8ee3867f1addca"],["6d0022bfae9745f2"],["0c7f94f460590a81"],["74eebc9dc3cfdf94"],["c0a2daa86eac98f6"],["e94496c7cbdc3aa3"]]}]

Flow Info

Created 3 years, 9 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • switch (x3)
Other
  • subflow (x1)
  • subflow:cc0d59e2c2d2520b (x1)

Tags

  • Zooz
  • zen
  • zen71
  • scene
  • scenes
  • zwavejs
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option