Home Assistant - 2nd Gen Switch RGB working!

in the line before your code type ```javascript then on a new line type your code.

‘’’ vs

''' this ''' and this.
even this

end it with ``` and it doesn’t mess with your code.

1 Like

Thanks for the heads up!

For anyone who uses AppDaemon, I created an app that handles on/off/dimming control and can be extended or modified to handle scenes: https://pastebin.com/GkSC20Ly

1 Like

Has anyone had success with the newer docker-based open z-wave implementation in Home Assistant?

I’m able to automate anything “standard” in Node Red but can’t seem to set the RGB strip.

I’m using a “call service” node with the following params. I notice there is no “length” param available.
Server: Home Assistant
Domain:ozw
Service: set_config_parameter
Data: {“node_id”:“2”,“parameter”:“8”,“value”:“69077589”}

My LZW31-SN is node 2 and I can use the switch itself successfully in other automations.

Setting the “LED Indicator Color” in the dockerized open zwave qt UI does change the LED strip color, but I’d like to automate in node red.

Really appreciate the product and effort of everyone involved!

Parameter 8 on the LZW31-SN is a short type and it currently isn’t supported in the 0.114 builds of Home Assistant. There was PR recently merged into Dev that adds support for this:


It will be in the 0.115 release or you can run a dev build if you want it now.

I’ve got automations in home assistant to turn on/off an “All” light group upon triple pressing up or down on any light switch in the house.

It works but there is quite a delay between different rooms which seems pretty random. They’ll turn off but within like 10-15 seconds, room by room.

Is there a best practice to ensure all lights turn off at the same time?

I’m running ozwdaemon on docker, and mqtt in docker. I don’t have an event_id named “zwave” in home assistant. Can anyone help me get the multiple button presses working? I DO have an option for ozw.set_config_parameter, I’m wondering if I use this for the multiple-button-presses?

@earus Yeah, if you’re running openzwave, it’s gonna be the ozw.set_config_parameter service.

1 Like

For anyone searching, this is the Trigger I used to get it the switch working with OpenZwave beta in Home Assistant - you can also test this by going to Developer Tools -> Events -> and type in ozw.scene_activated

platform: event
event_type: ozw.scene_activated
event_data:
node_id: 5
scene_id: 1
scene_value_id: 1

1 Like

Hey, I’m trying to copy/paste your code but it gives me error because of the " and can’t seem to correct it. I would like a flow that verifies activity around the house and notify me with the notification LED

I believe this one should work:

[{"id":"7918ec23.6b13c4","type":"inovelli-status-manager","z":"880aae7a.81bc","name":"Green Success Blink","nodeid":"4","color":"87","level":10,"duration":"3","display":"3","switchtype":"16","x":1380,"y":100,"wires":[["6d1d87ae.25e1e"]]},{"id":"6d1d87ae.25e1e","type":"api-call-service","z":"880aae7a.81bc","name":"Send Blink","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1590,"y":100,"wires":[[]]},{"id":"31d9fbf.c162e84","type":"inovelli-status-manager","z":"880aae7a.81bc","name":"Red Fail Blink","nodeid":"4","color":"11","level":10,"duration":"3","display":"1","switchtype":"16","x":1360,"y":140,"wires":[["be7a3200.901b88"]]},{"id":"be7a3200.901b88","type":"api-call-service","z":"880aae7a.81bc","name":"Send Blink","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1590,"y":140,"wires":[[]]},{"id":"1121c535.19a1ab","type":"api-call-service","z":"880aae7a.81bc","name":"Turn off downstairs lights","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"group.all_lights_no_upstairs","data":"{\"entity_id\":\"group.all_lights_no_upstairs\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":590,"y":100,"wires":[["9cb026ef.bc075"]]},{"id":"9cb026ef.bc075","type":"delay","z":"880aae7a.81bc","name":"","pauseType":"delay","timeout":"1.2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":830,"y":100,"wires":[["23c364ae.ff71ec"]]},{"id":"23c364ae.ff71ec","type":"api-current-state","z":"880aae7a.81bc","name":"Downstairs Lights State","server":"497693ef.d5e6bc","version":1,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"group.all_lights_no_upstairs","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1090,"y":100,"wires":[["7918ec23.6b13c4"],["31d9fbf.c162e84"]]},{"id":"497693ef.d5e6bc","type":"server","z":"","name":"Home Assistant"}]

I’ve phased this out of my automation on my server in favor of a dedicated sub-flow so I could do like a “I’m thinking” animation while it runs. Here’s my new set-up, hopefully one works for you! This new one needs a group of all your switches to be made though:

[{"id":"309e6796.ed7f9","type":"subflow","name":"Green Solid","info":"","category":"","in":[{"x":120,"y":180,"wires":[{"id":"8c7e1e9f.7497d8"}]}],"out":[{"x":1180,"y":180,"wires":[{"id":"39ac349c.c1ded4","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":240,"y":60,"wires":[{"id":"38c22763.2aea1","port":0}]}},{"id":"38c22763.2aea1","type":"status","z":"309e6796.ed7f9","name":"","scope":null,"x":120,"y":60,"wires":[[]]},{"id":"8c7e1e9f.7497d8","type":"change","z":"309e6796.ed7f9","name":"Set Node Id in Payload","rules":[{"t":"set","p":"payload.node_id","pt":"msg","to":"payload.event.node_id","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":180,"wires":[["76f85f6.fc1162"]]},{"id":"76f85f6.fc1162","type":"api-call-service","z":"309e6796.ed7f9","name":"Set Green Solid Effect for 5 Seconds","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":17107536\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":570,"y":180,"wires":[["bc4ec1e9.db83d8"]]},{"id":"bc4ec1e9.db83d8","type":"delay","z":"309e6796.ed7f9","name":"","pauseType":"delay","timeout":"6","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":820,"y":180,"wires":[["39ac349c.c1ded4"]]},{"id":"39ac349c.c1ded4","type":"api-call-service","z":"309e6796.ed7f9","name":"Set default blue solid","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":16843434\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1020,"y":180,"wires":[[]]},{"id":"e7a93577.cbf7b8","type":"subflow","name":"Red Blink","info":"","category":"","in":[{"x":120,"y":180,"wires":[{"id":"dc2b2d64.0f5058"}]}],"out":[{"x":1160,"y":180,"wires":[{"id":"26fea29f.ac47d6","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":240,"y":60,"wires":[{"id":"7d539222.4d5264","port":0}]}},{"id":"7d539222.4d5264","type":"status","z":"e7a93577.cbf7b8","name":"","scope":null,"x":120,"y":60,"wires":[[]]},{"id":"dc2b2d64.0f5058","type":"change","z":"e7a93577.cbf7b8","name":"Set Node Id in Payload","rules":[{"t":"set","p":"payload.node_id","pt":"msg","to":"payload.event.node_id","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":180,"wires":[["52ededf7.b5a2dc"]]},{"id":"52ededf7.b5a2dc","type":"api-call-service","z":"e7a93577.cbf7b8","name":"Set Red Blink Effect for 5 Seconds","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":50662142\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":560,"y":180,"wires":[["143df3ec.4d8614"]]},{"id":"143df3ec.4d8614","type":"delay","z":"e7a93577.cbf7b8","name":"","pauseType":"delay","timeout":"6","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":800,"y":180,"wires":[["26fea29f.ac47d6"]]},{"id":"26fea29f.ac47d6","type":"api-call-service","z":"e7a93577.cbf7b8","name":"Set default blue solid","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":16843434\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1000,"y":180,"wires":[[]]},{"id":"c9c6dd02.707528","type":"subflow","name":"Yellow Chase","info":"","category":"","in":[{"x":140,"y":180,"wires":[{"id":"7aca26e5.a27cc"}]}],"out":[{"x":780,"y":180,"wires":[{"id":"60181e3f.173a2","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":260,"y":60,"wires":[{"id":"da5d5ce9.49c838","port":0}]}},{"id":"da5d5ce9.49c838","type":"status","z":"c9c6dd02.707528","name":"","scope":null,"x":140,"y":60,"wires":[[]]},{"id":"7aca26e5.a27cc","type":"change","z":"c9c6dd02.707528","name":"Set Node Id in Payload","rules":[{"t":"set","p":"payload.node_id","pt":"msg","to":"payload.event.node_id","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":300,"y":180,"wires":[["60181e3f.173a2"]]},{"id":"60181e3f.173a2","type":"api-call-service","z":"c9c6dd02.707528","name":"Set Yellow Chase Effect indefinitely","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":50268712\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":580,"y":180,"wires":[[]]},{"id":"497693ef.d5e6bc","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"ca26c6e3.886918","type":"subflow:c9c6dd02.707528","z":"880aae7a.81bc","name":"","env":[],"x":1080,"y":3400,"wires":[["84b81c5d.a8ecb"]]},{"id":"27f9e52a.539d72","type":"switch","z":"880aae7a.81bc","name":"Node ID","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"11","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":900,"y":3400,"wires":[["ca26c6e3.886918"]]},{"id":"84b81c5d.a8ecb","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until off","server":"497693ef.d5e6bc","outputs":2,"entityId":"group.basement_lights","entityIdFilterType":"exact","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1270,"y":3400,"wires":[["6eed43e.7ad3abc"],["67563558.93b1a4"]]},{"id":"67563558.93b1a4","type":"subflow:e7a93577.cbf7b8","z":"880aae7a.81bc","name":"","env":[],"x":1500,"y":3540,"wires":[[]]},{"id":"6eed43e.7ad3abc","type":"subflow:309e6796.ed7f9","z":"880aae7a.81bc","name":"","env":[],"x":1510,"y":3460,"wires":[[]]},{"id":"9e88bae.e103548","type":"subflow:c9c6dd02.707528","z":"880aae7a.81bc","name":"","env":[],"x":1080,"y":3580,"wires":[["896303b7.5e66f"]]},{"id":"cc9afb09.b0a99","type":"switch","z":"880aae7a.81bc","name":"Node ID","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"11","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":900,"y":3580,"wires":[["9e88bae.e103548"]]},{"id":"896303b7.5e66f","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until on","server":"497693ef.d5e6bc","outputs":2,"entityId":"light.gledopto_gl_c_008_level_light_color_on_off","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1270,"y":3580,"wires":[["6eed43e.7ad3abc"],["67563558.93b1a4"]]},{"id":"ff6888d1.a355f","type":"subflow:c9c6dd02.707528","z":"880aae7a.81bc","name":"","env":[],"x":1080,"y":3460,"wires":[["1df49968.d224f7"]]},{"id":"88503ca4.fb62a8","type":"switch","z":"880aae7a.81bc","name":"Node ID","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"11","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":900,"y":3460,"wires":[["ff6888d1.a355f"]]},{"id":"1df49968.d224f7","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until off","server":"497693ef.d5e6bc","outputs":2,"entityId":"light.gledopto_gl_c_008_level_light_color_on_off","entityIdFilterType":"exact","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1270,"y":3460,"wires":[["6eed43e.7ad3abc"],["67563558.93b1a4"]]},{"id":"1bc06ec8.6906d9","type":"subflow:c9c6dd02.707528","z":"880aae7a.81bc","name":"","env":[],"x":1080,"y":3520,"wires":[["c7b9a844.4a1528"]]},{"id":"a0f9d80.c5959a8","type":"switch","z":"880aae7a.81bc","name":"Node ID","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"11","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":900,"y":3520,"wires":[["1bc06ec8.6906d9"]]},{"id":"c7b9a844.4a1528","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until on","server":"497693ef.d5e6bc","outputs":2,"entityId":"group.basement_lights","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1270,"y":3520,"wires":[["6eed43e.7ad3abc"],["67563558.93b1a4"]]}]

Do you have a screenshot of it so people can see it without having the read the code like in the Matrix? :slight_smile:

No worries, you’ll have to import the first one to see that as I’ve since removed it from my node red so I don’t have a screenshot. I believe I posted a screenshot earlier in this thread though.

For the second flow, here’s what it looks like in my set up. It’s kind of a mess, but it works well I’ve found:

I gave too much of my automation in my other posting, I’ve trimmed it down to only include the LED control portion this time:

[{"id":"309e6796.ed7f9","type":"subflow","name":"Green Solid","info":"","category":"","in":[{"x":120,"y":180,"wires":[{"id":"8c7e1e9f.7497d8"}]}],"out":[{"x":1180,"y":180,"wires":[{"id":"39ac349c.c1ded4","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":240,"y":60,"wires":[{"id":"38c22763.2aea1","port":0}]}},{"id":"38c22763.2aea1","type":"status","z":"309e6796.ed7f9","name":"","scope":null,"x":120,"y":60,"wires":[[]]},{"id":"8c7e1e9f.7497d8","type":"change","z":"309e6796.ed7f9","name":"Set Node Id in Payload","rules":[{"t":"set","p":"payload.node_id","pt":"msg","to":"payload.event.node_id","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":180,"wires":[["76f85f6.fc1162"]]},{"id":"76f85f6.fc1162","type":"api-call-service","z":"309e6796.ed7f9","name":"Set Green Solid Effect for 5 Seconds","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":17107536\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":570,"y":180,"wires":[["bc4ec1e9.db83d8"]]},{"id":"bc4ec1e9.db83d8","type":"delay","z":"309e6796.ed7f9","name":"","pauseType":"delay","timeout":"6","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":820,"y":180,"wires":[["39ac349c.c1ded4"]]},{"id":"39ac349c.c1ded4","type":"api-call-service","z":"309e6796.ed7f9","name":"Set default blue solid","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":16843434\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1020,"y":180,"wires":[[]]},{"id":"e7a93577.cbf7b8","type":"subflow","name":"Red Blink","info":"","category":"","in":[{"x":120,"y":180,"wires":[{"id":"dc2b2d64.0f5058"}]}],"out":[{"x":1160,"y":180,"wires":[{"id":"26fea29f.ac47d6","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":240,"y":60,"wires":[{"id":"7d539222.4d5264","port":0}]}},{"id":"7d539222.4d5264","type":"status","z":"e7a93577.cbf7b8","name":"","scope":null,"x":120,"y":60,"wires":[[]]},{"id":"dc2b2d64.0f5058","type":"change","z":"e7a93577.cbf7b8","name":"Set Node Id in Payload","rules":[{"t":"set","p":"payload.node_id","pt":"msg","to":"payload.event.node_id","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":180,"wires":[["52ededf7.b5a2dc"]]},{"id":"52ededf7.b5a2dc","type":"api-call-service","z":"e7a93577.cbf7b8","name":"Set Red Blink Effect for 5 Seconds","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":50662142\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":560,"y":180,"wires":[["143df3ec.4d8614"]]},{"id":"143df3ec.4d8614","type":"delay","z":"e7a93577.cbf7b8","name":"","pauseType":"delay","timeout":"6","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":800,"y":180,"wires":[["26fea29f.ac47d6"]]},{"id":"26fea29f.ac47d6","type":"api-call-service","z":"e7a93577.cbf7b8","name":"Set default blue solid","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":16843434\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1000,"y":180,"wires":[[]]},{"id":"c9c6dd02.707528","type":"subflow","name":"Yellow Chase","info":"","category":"","in":[{"x":140,"y":180,"wires":[{"id":"7aca26e5.a27cc"}]}],"out":[{"x":780,"y":180,"wires":[{"id":"60181e3f.173a2","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":260,"y":60,"wires":[{"id":"da5d5ce9.49c838","port":0}]}},{"id":"da5d5ce9.49c838","type":"status","z":"c9c6dd02.707528","name":"","scope":null,"x":140,"y":60,"wires":[[]]},{"id":"7aca26e5.a27cc","type":"change","z":"c9c6dd02.707528","name":"Set Node Id in Payload","rules":[{"t":"set","p":"payload.node_id","pt":"msg","to":"payload.event.node_id","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":300,"y":180,"wires":[["60181e3f.173a2"]]},{"id":"60181e3f.173a2","type":"api-call-service","z":"c9c6dd02.707528","name":"Set Yellow Chase Effect indefinitely","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":msg.payload.node_id,\t   \"parameter\":16,\t   \"value\":50268712\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":580,"y":180,"wires":[[]]},{"id":"497693ef.d5e6bc","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"ca26c6e3.886918","type":"subflow:c9c6dd02.707528","z":"880aae7a.81bc","name":"","env":[],"x":1080,"y":3400,"wires":[["84b81c5d.a8ecb"]]},{"id":"27f9e52a.539d72","type":"switch","z":"880aae7a.81bc","name":"Node ID","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"11","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":900,"y":3400,"wires":[["ca26c6e3.886918"]]},{"id":"84b81c5d.a8ecb","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until off","server":"497693ef.d5e6bc","outputs":2,"entityId":"group.basement_lights","entityIdFilterType":"exact","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1270,"y":3400,"wires":[["6eed43e.7ad3abc"],["67563558.93b1a4"]]},{"id":"67563558.93b1a4","type":"subflow:e7a93577.cbf7b8","z":"880aae7a.81bc","name":"","env":[],"x":1500,"y":3540,"wires":[[]]},{"id":"6eed43e.7ad3abc","type":"subflow:309e6796.ed7f9","z":"880aae7a.81bc","name":"","env":[],"x":1510,"y":3460,"wires":[[]]},{"id":"9e88bae.e103548","type":"subflow:c9c6dd02.707528","z":"880aae7a.81bc","name":"","env":[],"x":1080,"y":3580,"wires":[["896303b7.5e66f"]]},{"id":"cc9afb09.b0a99","type":"switch","z":"880aae7a.81bc","name":"Node ID","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"11","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":900,"y":3580,"wires":[["9e88bae.e103548"]]},{"id":"896303b7.5e66f","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until on","server":"497693ef.d5e6bc","outputs":2,"entityId":"light.gledopto_gl_c_008_level_light_color_on_off","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1270,"y":3580,"wires":[["6eed43e.7ad3abc"],["67563558.93b1a4"]]},{"id":"ff6888d1.a355f","type":"subflow:c9c6dd02.707528","z":"880aae7a.81bc","name":"","env":[],"x":1080,"y":3460,"wires":[["1df49968.d224f7"]]},{"id":"88503ca4.fb62a8","type":"switch","z":"880aae7a.81bc","name":"Node ID","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"11","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":900,"y":3460,"wires":[["ff6888d1.a355f"]]},{"id":"1df49968.d224f7","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until off","server":"497693ef.d5e6bc","outputs":2,"entityId":"light.gledopto_gl_c_008_level_light_color_on_off","entityIdFilterType":"exact","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1270,"y":3460,"wires":[["6eed43e.7ad3abc"],["67563558.93b1a4"]]},{"id":"1bc06ec8.6906d9","type":"subflow:c9c6dd02.707528","z":"880aae7a.81bc","name":"","env":[],"x":1080,"y":3520,"wires":[["c7b9a844.4a1528"]]},{"id":"a0f9d80.c5959a8","type":"switch","z":"880aae7a.81bc","name":"Node ID","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"11","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":900,"y":3520,"wires":[["1bc06ec8.6906d9"]]},{"id":"c7b9a844.4a1528","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until on","server":"497693ef.d5e6bc","outputs":2,"entityId":"group.basement_lights","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1270,"y":3520,"wires":[["6eed43e.7ad3abc"],["67563558.93b1a4"]]}]

Specify your node ID in the node id node, and set up a group of your switches. This automation in particular is hard coded to only do dimmer switches, but can easily be updated for on/off switches as well (on/off switches do not have a parameter 16, they take notification values under parameter 8). I used the calculator to come up with the value to set under parameter 16.

This one would work with on/off switches though. I only have one so I hard coded that as well:

[{"id":"a0491585.37ef78","type":"subflow","name":"Yellow Pulse On/Off","info":"","category":"","in":[{"x":100,"y":200,"wires":[{"id":"99be8502.db92f"}]}],"out":[{"x":500,"y":200,"wires":[{"id":"99be8502.db92f","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":220,"y":80,"wires":[{"id":"f84da1da.d68de8","port":0}]}},{"id":"f84da1da.d68de8","type":"status","z":"a0491585.37ef78","name":"","scope":null,"x":100,"y":80,"wires":[[]]},{"id":"99be8502.db92f","type":"api-call-service","z":"a0491585.37ef78","name":"Set Yellow Pulse Effect for 5 Seconds","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":8,\t   \"parameter\":8,\t   \"value\":67766824\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":310,"y":200,"wires":[[]]},{"id":"9c0f20c.88195e","type":"subflow","name":"Red Blink On/Off","info":"","category":"","in":[{"x":140,"y":180,"wires":[{"id":"1f9efa32.f495fe"}]}],"out":[{"x":940,"y":180,"wires":[{"id":"3a1b13b5.3db8a4","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":260,"y":60,"wires":[{"id":"3135dae2.c7d5d6","port":0}]}},{"id":"3135dae2.c7d5d6","type":"status","z":"9c0f20c.88195e","name":"","scope":null,"x":140,"y":60,"wires":[[]]},{"id":"1f9efa32.f495fe","type":"api-call-service","z":"9c0f20c.88195e","name":"Set Red Blink Effect for 5 Seconds","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":8,\t   \"parameter\":8,\t   \"value\":33753600\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":340,"y":180,"wires":[["76b65471.ce8254"]]},{"id":"76b65471.ce8254","type":"delay","z":"9c0f20c.88195e","name":"","pauseType":"delay","timeout":"6","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":580,"y":180,"wires":[["3a1b13b5.3db8a4"]]},{"id":"3a1b13b5.3db8a4","type":"api-call-service","z":"9c0f20c.88195e","name":"Set default blue solid","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":8,\t   \"parameter\":8,\t   \"value\":16843178\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":780,"y":180,"wires":[[]]},{"id":"fedeb4c9.b7ce9","type":"subflow","name":"Green Solid On/Off","info":"","category":"","in":[{"x":120,"y":200,"wires":[{"id":"ad19dabb.20b4a"}]}],"out":[{"x":940,"y":200,"wires":[{"id":"3a13696d.a052c6","port":0}]}],"env":[],"color":"#DDAA99","status":{"x":240,"y":80,"wires":[{"id":"7c4c1ca8.e581b4","port":0}]}},{"id":"7c4c1ca8.e581b4","type":"status","z":"fedeb4c9.b7ce9","name":"","scope":null,"x":120,"y":80,"wires":[[]]},{"id":"ad19dabb.20b4a","type":"api-call-service","z":"fedeb4c9.b7ce9","name":"Set Green Solid Effect for 3 Seconds","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":8,\t   \"parameter\":8,\t   \"value\":16976459\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":330,"y":200,"wires":[["4bc9f4fa.51305c"]]},{"id":"4bc9f4fa.51305c","type":"delay","z":"fedeb4c9.b7ce9","name":"","pauseType":"delay","timeout":"6","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":580,"y":200,"wires":[["3a13696d.a052c6"]]},{"id":"3a13696d.a052c6","type":"api-call-service","z":"fedeb4c9.b7ce9","name":"Set default blue solid","server":"497693ef.d5e6bc","version":1,"debugenabled":false,"service_domain":"ozw","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\":8,\t   \"parameter\":8,\t   \"value\":16843178\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":780,"y":200,"wires":[[]]},{"id":"40abeb8e.444da4","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until on","server":"497693ef.d5e6bc","outputs":2,"entityId":"group.bedside_lights","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1230,"y":1980,"wires":[["6de8857c.09f0b4"],["b46f3b65.386d3"]]},{"id":"34d280de.fcbbd","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until off","server":"497693ef.d5e6bc","outputs":2,"entityId":"group.all_lights","entityIdFilterType":"exact","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1230,"y":1860,"wires":[["6de8857c.09f0b4"],["b46f3b65.386d3"]]},{"id":"8d4509b8.ee0178","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until off","server":"497693ef.d5e6bc","outputs":2,"entityId":"group.all_bedroom_lights","entityIdFilterType":"exact","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1230,"y":1920,"wires":[["6de8857c.09f0b4"],["b46f3b65.386d3"]]},{"id":"2cab4925.74537e","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until on","server":"497693ef.d5e6bc","outputs":2,"entityId":"light.king_of_fans_inc_hdc52eastwindfan_5d3d2900_level_on_off","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1230,"y":2040,"wires":[["6de8857c.09f0b4"],["b46f3b65.386d3"]]},{"id":"10a331c8.7fc346","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until on","server":"497693ef.d5e6bc","outputs":2,"entityId":"fan.king_of_fans_inc_hdc52eastwindfan_5d3d2900_fan","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1230,"y":2100,"wires":[["6de8857c.09f0b4"],["b46f3b65.386d3"]]},{"id":"4152c4cf.73353c","type":"ha-wait-until","z":"880aae7a.81bc","name":"Wait until on","server":"497693ef.d5e6bc","outputs":2,"entityId":"switch.bedroom_air_purifier_on_off","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"10","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":1230,"y":2160,"wires":[["6de8857c.09f0b4"],["b46f3b65.386d3"]]},{"id":"6de8857c.09f0b4","type":"subflow:fedeb4c9.b7ce9","z":"880aae7a.81bc","name":"","env":[],"x":1570,"y":1960,"wires":[[]]},{"id":"b46f3b65.386d3","type":"subflow:9c0f20c.88195e","z":"880aae7a.81bc","name":"","x":1560,"y":2060,"wires":[[]]},{"id":"b0a7a6fe.ca97b8","type":"subflow:a0491585.37ef78","z":"880aae7a.81bc","name":"","env":[],"x":1030,"y":1860,"wires":[["34d280de.fcbbd"]]},{"id":"ef08aeab.fc3dc8","type":"subflow:a0491585.37ef78","z":"880aae7a.81bc","name":"","x":1030,"y":1920,"wires":[["8d4509b8.ee0178"]]},{"id":"bf453044.4b926","type":"subflow:a0491585.37ef78","z":"880aae7a.81bc","name":"","x":1030,"y":1980,"wires":[["40abeb8e.444da4"]]},{"id":"fd2034c3.0b2b68","type":"subflow:a0491585.37ef78","z":"880aae7a.81bc","name":"","x":1030,"y":2040,"wires":[["2cab4925.74537e"]]},{"id":"1aff9788.ac6268","type":"subflow:a0491585.37ef78","z":"880aae7a.81bc","name":"","x":1030,"y":2100,"wires":[["10a331c8.7fc346"]]},{"id":"7e9f585d.e94bc8","type":"subflow:a0491585.37ef78","z":"880aae7a.81bc","name":"","x":1030,"y":2160,"wires":[["4152c4cf.73353c"]]},{"id":"497693ef.d5e6bc","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

Calculator tool I used, look under the notification section: https://nathanfiscus.github.io/inovelli-notification-calc/

Man this is so great. Learning a lot very quickly!

2 questions

  1. has anyone developed scene manager for the fan/light switch?
  2. For status manager, the color is limited 1-255. How would I add 0? I’d almost rather have a numeric entry, but I don’t know how to modify someone else’s node that I imported!

TIA,

Kevin

I don’t recall there being a color value for 0. Are you trying to get white? White is 255 I believe, while red is 1. White is only supported on firmware 1.47+.

Also if you use my automation above, you can customize it by opening the subflow like so:

I use 50268712 for my forever yellow chase automation, but if you want a different effect check the link here and click the notification section. Then select Fan/Light Combo dimmer, set your color options, brightness preferences, duration preferences and effect type of your choice. Then Copy the below value and replace my value 50268712 with your new value. Also, if you use the Fan/light switch you will need to change my parameter value of 16 with 24, since that is the option for fan/light switches :slight_smile:

Also don’t forget to do the same for the other two subflows. Again, this is just for my automation above though. It should work with those minor adjustments for the Fan/Light switch (I don’t have one so I cannot test it unfortunately).

1 Like

0 is pure red, 1 is red with a tinge toward orange. You are correct that 255 is white.

Gotcha, did not know that sorry about that! Looks like that can be calculated still though. Click on here, go to notifications, set up your automation as you want but set the color to 1 and configure your other preferred options. Once set up, just reduce your value by 1. So if you end up with a value of 17107457 (this is color value 1, brightness 10, for 5 seconds with a solid effect), to get color of 0 it should just be 17107456 assuming I follow the number calculations correctly. :slight_smile:

1 Like

I’m getting an API Error using this, and I’ve eliminated server name as the issue. I’m using ZwaveJS, is it possible that this node isn’t compatible?

Here are the nodes in question:

Flow StatusMgr

See any issue here?

This is sending a signal to the Z-wave integration, not the Z-wave JS integration.

So far they have not developed the ability to set parameters through Z-wave JS yet. Z-waveJS2MQTT does have this ability through MQTT, but I am holding out for the developers to make this available via Zwave JS server integration.

So basically RIGHT NOW (2/24/21) you are out of luck unless you roll back to 1.4 integration (Z-wave). Development is moving forward with replicating this feature in Zwave JS but it might take a few months.

And believe me, all of my switches are purple because it was snowing when I swapped over. I usually have them white. I can’t wait either.