Node red and central zwave scenes

I’m trying to make my Aeotec wallmotes and popp wallc-s controllers work with node Red.
I have changed the zw… file to include command_class id=“91” to make it send a central scene.
This works, as I can see in the zwave log things like this:
2018-09-26 22:35:09.502 Detail, Node030, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x1e, 0x05, 0x5b, 0x03, 0x7c, 0x00, 0x04, 0xcb
2018-09-26 22:35:09.502 Detail,
2018-09-26 22:35:09.502 Info, Node030, Received Central Scene set from node 30: scene id=4 in 0 seconds. Sending event notification.
_2018-09-26 22:35:09.502 Warning, Node030, No ValueID created for Scene 4

where Node030 is a popp wallc-s.
The problem: In Node Red I have an Events: All node printing msg.payload to the debug window.
It causes all kinds of messages, of course, but it is not activated by the central scenes from the wallc-s.
How can I make it do that?

I searched for this recently and found some results:

It seems the most workable answer is here to output from the All Events to switch for just zwave.scene_activated, then another switch for your zwave devices, then another switch for scene ID, and a final switch for scene data.

From the second thread above:

I tried this. Nothing happens in my “Home Assistant Events” when I press buttons on my controllers.
The button presses show up in the OZW log, but the don’t make it to Node Red.

Hey there,

Could you post some JSON of an example of your scene automation in Node Red? I’m having a heck of a time figuring it out from the screenshots.

Thanks!

I’m not sure how to export the JSON and would need to sanitize it.

NodeRED is a bit tricky to wrap your head around first, especially if you are a techie, as it’s really aimed at people without programming skills.

I used this guide to get me famiiar with the hass integration and how to set up flows.

Hi, I just came across this and am having similar difficulty. Are you able to go into more detail about how you did this, or export it via the export menu? Would be greatly appreciated.

@halpplz

Here is a snippet that should get you started. I’m using a Homeseer WD-200+ for my scenes and the key details are…

-Use an “Events - All” node in
-Filter for msg.event_type of ‘zwave.scene_activated’
-Filter msg.payload.entity_id to whatever switch you want. In my case it’s ‘zwave.living_room_light_1’
-Filter msg.payload.event.scene_id to see if the switch is on or off. In my case 1 is on and 2 is off.
-Filter msg.payload.event.scene_data to see the number of taps.

Go to the HASS Zwave Device Specifics page and search “Central Scene” for additional details for your hardware.

[{"id":"a943813f.4b973","type":"server-events","z":"5070472.e6605b8","name":"","server":"c4f2a11e.677e","event_type":"","x":580,"y":500,"wires":[["8d3a2c43.70c3d"]]},{"id":"8d3a2c43.70c3d","type":"switch","z":"5070472.e6605b8","name":"Zwave Scene Activation","property":"event_type","propertyType":"msg","rules":[{"t":"eq","v":"zwave.scene_activated","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":830,"y":500,"wires":[["dc6f054.70d76f8"]]},{"id":"dc6f054.70d76f8","type":"switch","z":"5070472.e6605b8","name":"What Switch?","property":"payload.entity_id","propertyType":"msg","rules":[{"t":"eq","v":"zwave.living_room_light_1","vt":"str"},{"t":"eq","v":"zwave.living_room_2_level","vt":"str"},{"t":"eq","v":"zwave.entryway_light_zwave","vt":"str"},{"t":"eq","v":"zwave.master_bedroom_overhead_level","vt":"str"},{"t":"eq","v":"zwave.master_bathroom_vanity_light","vt":"str"},{"t":"eq","v":"zwave.eat_in_switch","vt":"str"},{"t":"eq","v":"zwave.kitchen_switch","vt":"str"},{"t":"eq","v":"zwave.master_bathroom_toilet","vt":"str"}],"checkall":"true","repair":false,"outputs":8,"x":1140,"y":500,"wires":[["d3487a76.cf2a38"],[],[],[],[],[],[],[]]},{"id":"d3487a76.cf2a38","type":"switch","z":"5070472.e6605b8","name":"On or Off?","property":"payload.event.scene_id","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"str"},{"t":"eq","v":"2","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1390,"y":440,"wires":[["68cb89eb.4a0928"],["4edad71b.5f6dc8"]]},{"id":"4edad71b.5f6dc8","type":"switch","z":"5070472.e6605b8","name":"Number of taps","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7860","vt":"str"},{"t":"eq","v":"7920","vt":"str"},{"t":"eq","v":"7980","vt":"str"},{"t":"eq","v":"8040","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":1620,"y":560,"wires":[[],[],[],[]]},{"id":"68cb89eb.4a0928","type":"switch","z":"5070472.e6605b8","name":"Number of taps","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7860","vt":"str"},{"t":"eq","v":"7920","vt":"str"},{"t":"eq","v":"7980","vt":"str"},{"t":"eq","v":"8040","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":1620,"y":340,"wires":[[],[],[],[]]},{"id":"c4f2a11e.677e","type":"server","z":"","name":"Home Assistant","legacy":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]

Appreciate it!