Node-Red(NR) is Flow-based programming for the Internet of Things
This post isn't made as a complete install guide, there are several, just some links to the best information I have found.
The best thing is that even if you don't are a skilled programmer, but like logic flows, you can make really advanced things. It's pre-installed on some Raspberry Pi(RPi) distributions.
Running Node-Red with multiple instances ?
Another good, but old, Youtube tutorial with a twist of MQTT is found here.
The "bricks" of NR is Nodes. Nodes is black-boxes with a certain function with, almost always, an input and output.
Nodes connected together make a flow, and as usual with "Open source" software many people have contributed. In NR there is several prebuilt Nodes and flows.
Installation
In my case NR is installed on a RPi but it could be installed on several other hardware platforms.
If you use RPi and have used a distribution without NR preinstalled I really recommend the installation script which is used both in a new install and for an update.
It does a lot of things and can be run again to keep your NR installation updated.
node-red-log
http://your_host:1880/
The GUI URL, if node-red-dashboard is installed, is
If you would like to start up NR with something simple and useful I have written a post where your Internet speed is measured in selected interval. Or check out how the RPi is running.
Other NR posts
Here you find the other NR posts on this site.
=====================================
This tool will help you create a Node-RED settings file.
✔ Settings file · /home/pi/.node-red/settings.js
User Security
=============
✔ Do you want to setup user security? · Yes
✔ Username · pi
✔ Password · *********
✔ User permissions · full access
✔ Add another user? · No
Projects
========
The Projects feature allows you to version control your flow using a local git repository.
✔ Do you want to enable the Projects feature? · Yes
✔ What project workflow do you want to use? · manual - you must manually commit changes
Editor settings
===============
✔ Select a theme for the editor. To use any theme other than "default", you will need to install @node-red-contrib-themes/theme-collection in your Node-RED user directory. · dark
✔ Select the text editor component to use in the Node-RED Editor · monaco (new for 2.0)
Node settings
=============
✔ Allow Function nodes to load external modules? (functionExternalModules) · Yes
No comments:
Post a Comment
Feel free to leave a comment ! ... but due to a lot of spam comments I have to moderate them. Will reply ASAP !