Na, sorry. I can’t work out what it is I am missing.
Reading stuff about it all I am seeing is what you posted - and that’s fair enough but I don’t get it.
They seem to be written for people who already know the answer and not a “noob” like me.
I can’t “find” (or know) where these things being edited are.
I looked at the settings.js file and am not really confident enough to go blindly in and edit stuff.
I read I can get a “CONFIG” node.
Set flow context or global context properties on start up or as needed.
Inputs
If the node receives any message, it will apply the configuration properties contained in the Config node. The trigger message is discarded. This allows you to have alternate configurations and programatically switch between them as needed.
So I am trying that way.
This is the flow I have:
[{"id":"2fa5d66a.f706c2","type":"config","z":"b9c91e78.6a1b7","name":"","properties":[{"p":"context","pt":"global","to":"{ myDeviceName: \"TimePi\"}","tot":"json"}],"active":true,"x":210,"y":1260,"wires":[]},{"id":"8ff1f165.aa1c3","type":"function","z":"b9c91e78.6a1b7","name":"","func":"msg.payload=global.get('myDeviceName');\nreturn msg;","outputs":1,"noerr":0,"x":550,"y":1260,"wires":[["316358.0e0caca8"]]},{"id":"316358.0e0caca8","type":"debug","z":"b9c91e78.6a1b7","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":700,"y":1260,"wires":[]},{"id":"63af7212.51a83c","type":"inject","z":"b9c91e78.6a1b7","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":400,"y":1260,"wires":[["8ff1f165.aa1c3"]]}]
But even that doesn’t work. OBVIOUSLY because I am not doing something right. But I admit, I am not getting what I am missing.
Thanks in advance.