Node-RED is a flow based programming application for wiring together hardware devices, APIs and online services in new and interesting ways. For more information see http://nodered.org
This snap is based on https://github.com/node-red but has additional Raspberry Pi specific sensor libraries and a toolchain included.
Node-RED listens by default on port 1880 after installation.
You will have to connect all the required snap interfaces for hardware your flows will use.
The snap does come with the palette editor enabled and ships the gcc toolchain as well as a bunch of development libraries so that npm can dynamically compile nodes where required when you add them via the palette editor.
To see all connected and available connections please run
sudo snap connections node-red-rpi
To connect i.e. a GPIO interface (GPIO 14 here) you do
sudo snap connect node-red-rpi:gpio pi:bcm-gpio-14 sudo snap connect node-red-rpi:gpio-memory-control
Similar for i2c
sudo snap connect node-red-rpi:i2c pi:i2c-1
When the snap is running you can view the Node-RED log using
journalctl -f -u snap.node-red-rpi*
You can also stop and restart the application by
snap restart node-red-rpi snap disable node-red-rpi snap enable node-red-rpi
The settings.js and flows.json files are located in
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.
Is there a problem with node-red-rpi? Report this app
Thanks for bringing this to our attention. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.