Stuck with variables in getting value from flow context

Node:
change

[{"id":"821066fcf882d5bf","type":"change","z":"a1911aa3.c45be8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"LEDSTRIP[6]","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":680,"y":3200,"wires":[["583eb6e3b1c0ce91"]]}]

The line:
LEDSTRIP[6]

I would prefer to be a bit more flexible in the value.

More like (example):
LEDSTRIP[{{msg.led}}]

Ok, I'll actually try that now, but I have little hope.

Ok, that's not going to work. Error straight away.

Have you tried LEDSTRIP[msg.led]

1 Like

Silly me... Thanks,.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.