A Node-RED flow or multiple flows can be imported from a text file. This means that you can quickly create the logic without having to create the functionality yourself. You can import a flow shared by a collegue as a text file or simply cut and paste an example flow from the Knowledge Base with these instructions.
Step-by-step instructions
Go to Node-RED settings and select Import.
2. In the Clipboard tab, paste the code from the text file or Knowledge Base and then select Import. You can choose to import flow to a new flow or to the one that is currently open.
3. The nodes are imported unpositioned and you can choose where to place them in your workspace.
When your flow is placed you need to adjust it to your own system. That means for example setting groups and assigning devices.
Then click Deploy button at the upper-right corner of the Node-RED and test the functionality.
Add Comment