I’m stumped by this one – I’m trying to set a Z-wave parameter from a Node Red flow, and it isn’t working. The thing is, setting a different parameter works fine, and I can set the parameter that doesn’t work in the flow with the Z-Wave integration with no problems. The node that isn’t working is just a copy of one of the working ones with the parameter number, value, and length changed.
What’s even stranger is that I don’t see anything in the OZW logs when this flow runs. The working flow shows up in the OZW log as expected. But I see the correct parameters set in the debug window if I enable debugging on the nodes that aren’t working.
Has anyone run into this before?
The idea is to set a parameter based on the value of an input selector. There are two – one to set the LED mode, and one to set the color of the LED (this is an Aeotec Smart Switch 6). In the following screenshot, the big ugly switch is for the color selector - the outputs of that all work. The simple one to set the mode is the one that’s failing - but as you can see from the timestamps it is running.
[{"id":"3a983835.578eb8","type":"server-state-changed","z":"382e0500.94421c","name":"Master Bedroom LED Color Input Select","server":"a54a6202.f4317","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.mstrbdrm_smart_switch_color","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":220,"y":420,"wires":[["407d98fc.2255b8"]]},{"id":"407d98fc.2255b8","type":"switch","z":"382e0500.94421c","name":"LED Color Selector","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Cool White","vt":"str"},{"t":"eq","v":"Warm White","vt":"str"},{"t":"eq","v":"Red","vt":"str"},{"t":"eq","v":"Lime","vt":"str"},{"t":"eq","v":"Blue","vt":"str"},{"t":"eq","v":"Yellow","vt":"str"},{"t":"eq","v":"Cyan","vt":"str"},{"t":"eq","v":"Magenta","vt":"str"},{"t":"eq","v":"Silver","vt":"str"},{"t":"eq","v":"Gray","vt":"str"},{"t":"eq","v":"Maroon","vt":"str"},{"t":"eq","v":"Olive","vt":"str"},{"t":"eq","v":"Green","vt":"str"},{"t":"eq","v":"Purple","vt":"str"},{"t":"eq","v":"Teal","vt":"str"},{"t":"eq","v":"Navy","vt":"str"},{"t":"eq","v":"Off","vt":"str"}],"checkall":"true","repair":false,"outputs":17,"x":500,"y":420,"wires":[["fd44f35.d49601"],["b0e63608.29bef8"],["3592d649.d4788a"],["5a2d47ba.b253a8"],["8c4a8a75.0f1768"],["ad685441.7faa08"],["177bff7b.2d79d1"],["bd34f5b7.d7ed08"],["5dd1698e.62d0c8"],["5f32d29f.7dc3fc"],["4668981a.3deeb8"],["550a296e.c3f478"],["cb9603a0.9469f"],["c27f8190.cc7f5"],["b9220353.129b4"],["b3c6efb7.bc80d"],["781491c4.a89bf"]]},{"id":"fd44f35.d49601","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Cool White","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -256, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":820,"y":280,"wires":[[]]},{"id":"b0e63608.29bef8","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Warm White","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -269953024, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1080,"y":300,"wires":[[]]},{"id":"3592d649.d4788a","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Red","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -16777216, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":790,"y":320,"wires":[[]]},{"id":"5a2d47ba.b253a8","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Lime","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": 16711680, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1060,"y":340,"wires":[[]]},{"id":"8c4a8a75.0f1768","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Blue","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": 65280, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":800,"y":360,"wires":[[]]},{"id":"177bff7b.2d79d1","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Cyan","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": 16776960, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":800,"y":400,"wires":[[]]},{"id":"5dd1698e.62d0c8","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Silver","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -1061109760, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":800,"y":440,"wires":[[]]},{"id":"4668981a.3deeb8","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Maroon","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -2147483648, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":810,"y":480,"wires":[[]]},{"id":"cb9603a0.9469f","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Green","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": 8388608, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":800,"y":520,"wires":[[]]},{"id":"ad685441.7faa08","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Yellow","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -65536, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1060,"y":380,"wires":[[]]},{"id":"bd34f5b7.d7ed08","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Magenta","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -16711936, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1070,"y":420,"wires":[[]]},{"id":"5f32d29f.7dc3fc","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Gray","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -2139062272, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1060,"y":460,"wires":[[]]},{"id":"550a296e.c3f478","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Olive","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -2139095040, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1060,"y":500,"wires":[[]]},{"id":"c27f8190.cc7f5","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Purple","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": -2147450880, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1060,"y":540,"wires":[[]]},{"id":"b9220353.129b4","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Teal","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": 8421376, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":790,"y":560,"wires":[[]]},{"id":"b3c6efb7.bc80d","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Navy","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": 32768, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1060,"y":580,"wires":[[]]},{"id":"242d54c.c3bdeac","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Night Light Mode","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 81, \"value\": 2, \"size\": 1}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":840,"y":800,"wires":[[]]},{"id":"9b87e604.c578d8","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Normal Mode","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 81, \"value\": 0, \"size\": 1}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":820,"y":680,"wires":[[]]},{"id":"1c92dca4.05a043","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Momentary Mode","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 81, \"value\": 1, \"size\": 1}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":840,"y":740,"wires":[[]]},{"id":"572b16ae.0e89b8","type":"switch","z":"382e0500.94421c","name":"LED Mode","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Normal","vt":"str"},{"t":"eq","v":"Momentary","vt":"str"},{"t":"eq","v":"Night Light","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":520,"y":740,"wires":[["9b87e604.c578d8"],["1c92dca4.05a043"],["242d54c.c3bdeac"]]},{"id":"13e76cc6.928e23","type":"server-state-changed","z":"382e0500.94421c","name":"Master Bedroom LED Color Input Select","server":"a54a6202.f4317","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.mstrbdrm_smart_switch_mode","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":220,"y":740,"wires":[["572b16ae.0e89b8"]]},{"id":"781491c4.a89bf","type":"api-call-service","z":"382e0500.94421c","name":"MstrBdrm LED Off","server":"a54a6202.f4317","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\": 8, \"parameter\": 83, \"value\": 0, \"size\": 3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":790,"y":600,"wires":[[]]},{"id":"2e781cbf.9906c4","type":"bigtimer","z":"382e0500.94421c","outtopic":"","outpayload1":"","outpayload2":"","name":"Sunset to Sunrise","comment":"","lat":"37.32603","lon":"-121.80849","starttime":"5004","endtime":"5003","starttime2":0,"endtime2":0,"startoff":"0","endoff":0,"startoff2":0,"endoff2":0,"offs":0,"outtext1":"ON","outtext2":"OFF","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,"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,"repeat":true,"atstart":true,"odd":false,"even":false,"x":150,"y":840,"wires":[[],[],["3adf42dd.d634ae"]]},{"id":"3adf42dd.d634ae","type":"switch","z":"382e0500.94421c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"ON","vt":"str"},{"t":"eq","v":"OFF","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":370,"y":840,"wires":[["242d54c.c3bdeac"],["1c92dca4.05a043"]]},{"id":"715fffd1.2c18f","type":"comment","z":"382e0500.94421c","name":"Nightlights","info":"","x":460,"y":640,"wires":[]},{"id":"a54a6202.f4317","type":"server","z":"","name":"Home Assistant","addon":true}]