In case anyone is in a similar situations I was. This doesn’t directly address OPs need, but maybe it helps:
Prefacing this by saying that I’m using openzwave and the LZW36 fan/light combo switch.
In node red, set up an “mqtt in” node and a debug node to listen for events. If you know your node number, you can listen to everything from that node by setting the “mqtt in” topic to OpenZWave/1/node/44/#. My node is 44. Use whatever yours is.
The messages you receive are actually really helpful. Tells you exactly what to do:
{
"Label": "Scene 2",
"Value": {
"List": [
{
"Value": 0,
"Label": "Inactive"
},
{
"Value": 1,
"Label": "Pressed 1 Time"
},
{
"Value": 2,
"Label": "Key Released"
},
{
"Value": 3,
"Label": "Key Held down"
},
{
"Value": 4,
"Label": "Pressed 2 Times"
},
{
"Value": 5,
"Label": "Pressed 3 Times"
},
{
"Value": 6,
"Label": "Pressed 4 Times"
},
{
"Value": 7,
"Label": "Pressed 5 Times"
}
],
"Selected": "Pressed 2 Times",
"Selected_id": 4
},
"Units": "",
"ValueSet": true,
"ValuePolled": false,
"Cha...
You need to figure out two things with the inovelli switch.
Each button activates a different scene. Holding a button or pressing it (x)times activates a different “Selected_id” within that scene.
For example, pressing the fan switch twice activates scene 1, Selected_id: 4. Pressing the light switch twice activates scene 2, Selected_id: 4.
I set up a couple of different switch nodes. The first switch node detects the scene activated and directs traffic to the next switch nodes. The next ones detect the “Selected_id” and direct traffic to whatever you want activated / controlled.
Here is the node-red export. Hope this helps.
[{"id":"45dff1c8.49b7b8","type":"mqtt in","z":"7a836c19.b39db4","name":"Bedroom Switch - Inovelli","topic":"OpenZWave/1/node/44/instance/1/commandclass/#","qos":"0","datatype":"auto","broker":"65414733.ac707","x":150,"y":3300,"wires":[["c47ce803.8cb86"]]},{"id":"c47ce803.8cb86","type":"switch","z":"7a836c19.b39db4","name":"Scene 1 or 2","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"\"Label\": \"Scene 2\"","vt":"str"},{"t":"cont","v":"\"Label\": \"Scene 1\"","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":370,"y":3300,"wires":[["ddddaf3e.e8e3a8"],["180f27dd.10907"]]},{"id":"ddddaf3e.e8e3a8","type":"switch","z":"7a836c19.b39db4","name":"Light Button - Selected_id","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"\"Selected_id\": 3","vt":"str"},{"t":"cont","v":"\"Selected_id\": 4","vt":"str"},{"t":"cont","v":"\"Selected_id\": 5","vt":"str"},{"t":"cont","v":"\"Selected_id\": 6","vt":"str"},{"t":"cont","v":"\"Selected_id\": 7","vt":"str"}],"checkall":"true","repair":false,"outputs":5,"x":600,"y":3180,"wires":[["dbf69c6a.dd3b3"],["aa6cfe44.5b04a8"],["d5cc7896.c20e"],["f4c9a062.659b58"],["6c606144.05dae8"]]},{"id":"180f27dd.10907","type":"switch","z":"7a836c19.b39db4","name":"Fan Button - Selected_id","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"\"Selected_id\": 3","vt":"str"},{"t":"cont","v":"\"Selected_id\": 4","vt":"str"},{"t":"cont","v":"\"Selected_id\": 5","vt":"str"},{"t":"cont","v":"\"Selected_id\": 6","vt":"str"},{"t":"cont","v":"\"Selected_id\": 7","vt":"str"}],"checkall":"true","repair":false,"outputs":5,"x":590,"y":3500,"wires":[["f1bd2cc4.dbc3a"],["341b3fa6.69f518"],["f69a21a8.0049"],["c44748fd.1278a"],["77603489.10ed14"]]},{"id":"65414733.ac707","type":"mqtt-broker","z":"","name":"Mosquitto","broker":"192.168.1.216","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthRetain":"false","birthPayload":"","closeTopic":"","closeQos":"0","closeRetain":"false","closePayload":"","willTopic":"","willQos":"0","willRetain":"false","willPayload":""}]