One node to edit them all?

Im looking for a quick way to change all my inovelli dimmers LED strips at once. Is there a node I can plug in (and where, and whats the code) so that I can just change the “value” field in this one magical node, and then it will set all my other nodes “value” field to the same? (IE Node 24, Node 23, etc)

Heres the flow (simplified for example sake)

[{"id":"9a0e1c7e.6886c","type":"api-call-service","z":"1d316bd5.28b9b4","name":"Node 24","server":"456659de.370498","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\":24,\"parameter\":16,\"size\":4,\"value\":50268762}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":360,"y":60,"wires":[[]]},{"id":"456659de.370498","type":"server","name":"Home Assistant","addon":true}]

image

[{"id":"f28e53f7.2465b","type":"inject","z":"ffbd7f06.4a014","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":268,"y":2208,"wires":[["cb5b75b4.684018"]]},{"id":"cb5b75b4.684018","type":"change","z":"ffbd7f06.4a014","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"[23,24]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":434,"y":2208,"wires":[["d8298340.cc752"]]},{"id":"d8298340.cc752","type":"split","z":"ffbd7f06.4a014","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":596,"y":2208,"wires":[["9a0e1c7e.6886c"]]},{"id":"9a0e1c7e.6886c","type":"api-call-service","z":"ffbd7f06.4a014","name":"","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{    \"node_id\": {{payload}},    \"parameter\": 16,    \"size\": 4,    \"value\": 50268762}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":814,"y":2208,"wires":[[]]}]

@Kermit

So I took what you sent and modified it for what works best for me and its working great. But now I am looking to improve it. So the posted flow right now, the change node is changing the “value” field for every node thats attached to it.

Is there anyway to add in a second change node to also change the parameter as well? So in essence, I could attach 40 nodes to the split node, go into change node #1 and set the value and go into change node #2 and set the parameter? Then when I press inject, that parameter and value get written to all the nodes.

[{"id":"fb8d911b.2417a","type":"api-call-service","z":"a32c3673.131728","name":"3 Front porch lights","server":"456659de.370498","version":1,"debugenabled":false,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\":46,\"parameter\":16,\"value\":\"{{payload}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":740,"y":100,"wires":[[]]},{"id":"456659de.370498","type":"server","name":"AvilaSmartHome","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

Assuming the arrays are the same size

[{"id":"94ab904c.fcd3c","type":"inject","z":"ffbd7f06.4a014","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":316,"y":3600,"wires":[["c1cd809e.bd23c"]]},{"id":"c1cd809e.bd23c","type":"change","z":"ffbd7f06.4a014","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"[23,24]","tot":"json"},{"t":"set","p":"values","pt":"msg","to":"[40,50]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":3600,"wires":[["c313992d.283358"]]},{"id":"c313992d.283358","type":"split","z":"ffbd7f06.4a014","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":644,"y":3600,"wires":[["a1dd4b46.64ca08"]]},{"id":"a1dd4b46.64ca08","type":"api-call-service","z":"ffbd7f06.4a014","name":"","version":1,"debugenabled":true,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\": payload,\t   \"parameter\": 16,\t   \"size\": 4,\t   \"value\": $single(values, function($v,$i) { parts.index = $i })\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":860,"y":3600,"wires":[[]]},{"id":"590d9146.2e11e","type":"inject","z":"ffbd7f06.4a014","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":316,"y":3680,"wires":[["912d583a.42d998"]]},{"id":"9922b3c5.d4d48","type":"api-call-service","z":"ffbd7f06.4a014","name":"","version":1,"debugenabled":true,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\t   \"node_id\": 1,\t   \"parameter\": param,\t   \"size\": 4,\t   \"value\": value\t}","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":860,"y":3680,"wires":[[]]},{"id":"912d583a.42d998","type":"function","z":"ffbd7f06.4a014","name":"","func":"const params = [23,24];\nconst values = [40,50];\n\nparams.forEach((_,i) => {\n    msg.param = params[i];\n    msg.value = values[i];\n    node.send(msg);\n});","outputs":1,"noerr":0,"initialize":"","finalize":"","x":460,"y":3680,"wires":[["9922b3c5.d4d48"]]}]

@Kermit

The “value” would always be the same, so for instance I would set it to 5. Would the following be ok?