node-red-rpi

Oliver Grawert (ogra) Publisher
  • Oliver Grawert (ogra) Publisher

Install latest/stable of node-red-rpi

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

Don't have snapd? Get set up for snaps.

Channel Version Published

Low-code programming for event-driven applications

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 the /root/snap/node-red-rpi/current/ directory.

Developer website

Contact Oliver Grawert

Details for node-red-rpi

License
Apache-2.0
Last updated
21 June 2020

Share this snap

Generate an embeddable card to be shared on external websites.


Related blog posts


Where people are using node-red-rpi


Install node-red-rpi on your Linux distribution

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