I am reasonable new to node-red. in my project i have a number of settings that are changeable on a dashboard. When that change comes in i want to use the msg.topic as the name for the flow variable. i tried many syntaxes and thought to have it working but then not really:
flow.set("{{msg.topic}}", msg.payload};
I tried with double and single quotes, $ sign,... but could not get it to work. i probably miss a simple syntax thing.
You are right. I have tried this syntax before but it didn't work. Now tried it again and it does work. I must have made another error and sent myself looking for a difficult solution... Thanks for getting me on the road again