Help Creating First Ever Scene

Lets take a step WAYYYY back. Can you set the following up and see if you get anything in the debug log?:

[{"id":"3f9222f0b1d7b83d","type":"server-events","z":"fe04533e2ef6a7a2","name":"ZWave Scenes","server":"86db4bb5.5e7458","version":1,"event_type":"zwave_js_value_notification","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"},{"property":"event_type","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"x":120,"y":80,"wires":[["8b40817dd4830b10"]]},{"id":"86db4bb5.5e7458","type":"server","name":"Home Assistant","version":1,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

No change… debug is empty

[{"id":"8411e384.fb1f9","type":"subflow","name":"Inovelli Scenes","info":"","category":"","in":[{"x":120,"y":220,"wires":[{"id":"1adf8d0e.cac7f3"}]}],"out":[{"x":680,"y":40,"wires":[{"id":"3faf3597.ea43ba","port":0}]},{"x":680,"y":80,"wires":[{"id":"3faf3597.ea43ba","port":1}]},{"x":680,"y":120,"wires":[{"id":"3faf3597.ea43ba","port":2}]},{"x":680,"y":160,"wires":[{"id":"3faf3597.ea43ba","port":3}]},{"x":680,"y":200,"wires":[{"id":"3faf3597.ea43ba","port":4}]},{"x":680,"y":240,"wires":[{"id":"eee43bc5.cec848","port":0}]},{"x":680,"y":280,"wires":[{"id":"eee43bc5.cec848","port":1}]},{"x":680,"y":320,"wires":[{"id":"eee43bc5.cec848","port":2}]},{"x":680,"y":360,"wires":[{"id":"eee43bc5.cec848","port":3}]},{"x":680,"y":400,"wires":[{"id":"eee43bc5.cec848","port":4}]},{"x":680,"y":440,"wires":[{"id":"7247d146.a727a","port":0}]}],"env":[],"color":"#DDAA99","outputLabels":["Single tap up","Double tap up","Triple tap up","Quad tap up","5 taps up","Single tap down","Double tap down","Triple tap down","Quad Tap down","5 taps down","Config tap"]},{"id":"1adf8d0e.cac7f3","type":"switch","z":"8411e384.fb1f9","name":"Scene ID","property":"payload.event.label","propertyType":"msg","rules":[{"t":"eq","v":"Scene 001","vt":"str"},{"t":"eq","v":"Scene 002","vt":"str"},{"t":"eq","v":"Scene 003","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":220,"y":220,"wires":[["eee43bc5.cec848"],["3faf3597.ea43ba"],["7247d146.a727a"]]},{"id":"eee43bc5.cec848","type":"switch","z":"8411e384.fb1f9","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"}],"checkall":"true","repair":false,"outputs":5,"x":460,"y":260,"wires":[[],[],[],[],[]],"outputLabels":["Double Tap Down","Triple Tap Down","Quad Tap Down","5 Tap Down",""]},{"id":"3faf3597.ea43ba","type":"switch","z":"8411e384.fb1f9","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"}],"checkall":"true","repair":false,"outputs":5,"x":450,"y":180,"wires":[[],[],[],[],[]],"outputLabels":["","Single Tap Up","","",null]},{"id":"7247d146.a727a","type":"switch","z":"8411e384.fb1f9","name":"Scene Value (Config)","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":460,"y":320,"wires":[[]],"outputLabels":["Single Config Tap"]},{"id":"20c3a8672d108be4","type":"tab","label":"Christmas Tree Lights","disabled":false,"info":"","env":[]},{"id":"51de0e6c86e20ce1","type":"server-events","z":"20c3a8672d108be4","name":"","server":"e976d2f1.a9534","version":1,"event_type":"zwave_js_value_notification","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"},{"property":"event_type","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"x":160,"y":420,"wires":[[]]},{"id":"ccf1f8328cef0dc6","type":"api-call-service","z":"20c3a8672d108be4","name":"Turn Tree Off","server":"fca0097c.d25db8","version":3,"debugenabled":true,"service_domain":"homeassistant","service":"turn_off","entityId":"switch.floor_outlet","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":260,"wires":[["b5cc524b2c390b66"]]},{"id":"2f24164375dd1140","type":"api-call-service","z":"20c3a8672d108be4","name":"Turn Tree On","server":"fca0097c.d25db8","version":3,"debugenabled":true,"service_domain":"homeassistant","service":"turn_on","entityId":"switch.floor_outlet","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":810,"y":200,"wires":[["b5cc524b2c390b66"]]},{"id":"6752068c7de8e7bd","type":"bigtimer","z":"20c3a8672d108be4","outtopic":"","outpayload1":"","outpayload2":"","name":"Timer","comment":"Lights on at Dusk -20 and off at 10pm","lat":"42.072500","lon":"-91.714460","starttime":"525","endtime":"1275","starttime2":0,"endtime2":0,"startoff":"0","endoff":0,"startoff2":0,"endoff2":0,"offs":0,"outtext1":"","outtext2":"","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"day7":0,"month7":0,"day8":0,"month8":0,"day9":0,"month9":0,"day10":0,"month10":0,"day11":0,"month11":0,"day12":0,"month12":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xday7":0,"xmonth7":0,"xday8":0,"xmonth8":0,"xday9":0,"xmonth9":0,"xday10":0,"xmonth10":0,"xday11":0,"xmonth11":0,"xday12":0,"xmonth12":0,"xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":false,"randon1":false,"randoff1":false,"randon2":false,"randoff2":false,"repeat":true,"atstart":true,"odd":false,"even":false,"x":710,"y":480,"wires":[["2f24164375dd1140","ccf1f8328cef0dc6"],[],[]]},{"id":"b5cc524b2c390b66","type":"debug","z":"20c3a8672d108be4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1070,"y":240,"wires":[]},{"id":"6e64209dd189fdf8","type":"switch","z":"20c3a8672d108be4","name":"Top of Stairs","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"46","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":360,"y":180,"wires":[["cd7e679b520e89be"]]},{"id":"f1e2a02f94164227","type":"inject","z":"20c3a8672d108be4","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":190,"y":60,"wires":[[]]},{"id":"cd7e679b520e89be","type":"subflow:8411e384.fb1f9","z":"20c3a8672d108be4","name":"","env":[],"x":570,"y":260,"wires":[[],[],[],[],[],[],["2f24164375dd1140"],[],[],[],["ccf1f8328cef0dc6"]]},{"id":"feb5e85d8372ca5a","type":"api-current-state","z":"20c3a8672d108be4","name":"","server":"fca0097c.d25db8","version":2,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.floor_outlet","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":510,"y":580,"wires":[[]]},{"id":"1e37f361374a6c63","type":"debug","z":"20c3a8672d108be4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":520,"y":420,"wires":[]},{"id":"2e49469fc465270f","type":"server-events","z":"20c3a8672d108be4","name":"ZWave Scenes","server":"e976d2f1.a9534","version":1,"event_type":"zwave_js_value_notification","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"},{"property":"event_type","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"x":120,"y":200,"wires":[["6e64209dd189fdf8","1e37f361374a6c63"]]},{"id":"e976d2f1.a9534","type":"server","name":"Home Assistant","version":1,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true},{"id":"fca0097c.d25db8","type":"server","name":"Home Assistant","addon":true}][quote="jerryacrocker, post:23, topic:9637, full:true"]
No change.. debug is empty
[/quote]

Here is the current flow if you want to inspect

Take a further step back.

When using ZJSMQTT as your zwave interface into Home Assistant and Node Red, you will never get scenes in Home Assistant or Node Red working until you get the scenes appearing in ZJSMQTT like @stu1811 posted. Don’t even bother messing with Node Red until you get that working because it is pointless.

If changing and then changing back the parameters @stu1811 listed doesn’t help then you may need to exclude and re-include the switch. I would exclude it then hold the config button for >20 seconds to do a reset before including it again.

1 Like

Is this a common problem with zwavejs2mqtt? Would I be better off disabling that and enabling zwavejs?

Trying to understand if this is going to be a larger issue as I build out more automation and scenes going forward. The dimmer in question functions as expected otherwise.

Thanks!

Param 50 should be set to 7 and param 51 should be enabled or 1. By setting param 50 to 1 you are allowing 100ms for you to press a button X number of times. Try 7 or 700ms then lower once you get things working.

Additionally are you sure you have a red dimmer and not a black dimmer?

It’s not a zwaveJS2MQTT problem.

I have 100% red dimmers throughout the house… 15 more on the way!

Obviously I have a lot of learning to do and greatly appreciate everyone helping me getting things sorted. Great group of people here!

1 Like

Can you elaborate on what the problem is, aside from the user in this case?

Changed 50 to 7 and again nothing in the logs.

Is there possibly some prerequisite something I’ve missed elsewhere? Do I need to configure the scene before I try doing this or is this node red flow enough?

Re-read my first response. If you can’t get the scenes showing then do what it says.

Actually, you could try re-interviewing the node first. After expanding the row for the device there is a button to get to that option.

I agree with @PJF. Don’t bother with node red until you get central scene working. Try reinterviewing the node or exclude, factory reset, include. To do a factory reset hold the config button for ~30 seconds. LED bar should turn green->yellow->red.

1 Like

Factory reset and added it back in, updated NR flow to the new ID and boom… it works!

Thank you very much for all of your help!

Side note, I still don’t see anything showing up in the central scene area for that switch. Should I?

1 Like

Excellent! The scene info only flashes on the display for a second. Make sure are watching it while activating scenes.