To introduce Node-RED at least these packages and their dependencies are needed:
First step is to connect to the unit via SSH. This can be done with terminal emulator for example PuTTy.
To communicate with I/O in Node-RED we will use the Evok API. Guide how to install Evok can be found here.
Guide how to install Node-RED can be found here. Before running the script, make sure the package list was updated.
sudo apt update
Attention:
It is very important to have your system secured every time you create a new project.
To secured the Node-RED follow this guide on the official webpage.
After the installation, it is possible to enable automatic Node-RED start after boot. If you enabled this feature, restart the unit to start the Node-RED.
sudo reboot
Tip:
OS with Node-RED can be saved and copied with backup and upload to another unit.
With this you can avoid installation and setup of Node-RED on every unit separately.