Node-RED Version 3.1.0 – auf einem Raspberry Pi Zero W ‚running locally‘

root@rpi-NodeRed-01:~#
root@rpi-NodeRed-01:~# bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
Running Node-RED install for user root at /root on raspbian
This can take 20-30 minutes on the slower Pi versions – please wait.
Stop Node-RED ✔
Remove old version of Node-RED ✔
Remove old version of Node.js ✔
Install Node.js for Armv6 ✔ v18.18.2 Npm 9.8.1
Clean npm cache ✔
Install Node-RED core ✔ 3.1.0
Move global nodes to local –
Npm rebuild existing nodes ✔
Install extra Pi nodes ✔
Add shortcut commands ✔
Update systemd script ✔
Any errors will be logged to /var/log/nodered-install.log
All done.
You can now start Node-RED with the command node-red-start
or using the icon under Menu / Programming / Node-RED
Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880
Started : Mon 13 Nov 16:41:25 CET 2023
Finished: Mon 13 Nov 16:55:20 CET 2023
root@rpi-NodeRed-01:~#

Due to the limited memory of the Raspberry Pi Zero W you will need to start Node-RED with an additional argument to tell the underlying Node.js process to free up unused memory sooner than it would otherwise

root@rpi-NodeRed-01:~# node-red-pi –max-old-space-size=256

Leave a Reply

You must be logged in to post a comment.