Installing Node Red - MintyTrebor/NodeDSF GitHub Wiki
Please follow these instructions from node-red (using the recommend settings on a r-pi running Raspbian - if installing on a r-pi). You must be in your home folder (eg. /home/pi/
) before running these commands. The instructions below are offered as a guide - if you have installation issues with node-red or any of the additional nodes please refer to the node-red website for support.
NOTE: NodeDSF requires node-red with node.js >= v18. If installing node-red under docker be sure to use the right docker tag to get the correct version with node.js >= 18.
Once installed enter the below commands to enable auto-start at boot.
sudo systemctl enable nodered.service
sudo systemctl start nodered
cd .node-red
The next set of actions will add a setting to node-red to enable storage persistence - which is a way of retaining values through a reboot by allowing them to be stored in a file. (This is used by some of the NodeDSF examples; eg. to store file paths for the Time-lapse).
sudo nano settings.js
find existing commented out contextStorage
section and replace it with the below
contextStorage: {
storeInFile: { module: "localfilesystem"},
default : { module: "memory" }
},
enter CTRL+X to save and exit (confirming overwrite).
Finally restart node-red
sudo systemctl restart nodered
Navigate to :
http://[YOUR-SBC-IP]:1880
to access your new node-red!