Install Node-RED on Raspberry Pi

Published by Tobias Hofmann on

2 min read

Node-RED is a tool that allows to develop flow-based apps. Users can create apps using visual programming, making it easy for everyone to create apps. Focus is on IoT based solutions. IBM released it under an open source license already in 2016. Therefore, developing apps is not only easy, but also free. Running it on a Raspberry Pi is a perfect use case.

Installation

The Node-RED project offers a nice documentation on how to install it on a Raspberry Pi. Installation is done by downloading a convenience script from the internet. You have to trust (or check) the script. The script will run as root, so take care!

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
Ein Bild, das Text enthält.

Automatisch generierte Beschreibung
Ein Bild, das Text enthält.

Automatisch generierte Beschreibung
Ein Bild, das Text enthält.

Automatisch generierte Beschreibung

Start Node-RED

You can start Node-RED from the command line. To run it as a service:

node-red-start
Ein Bild, das Text enthält.

Automatisch generierte Beschreibung

To have Node-RED start automatically at startup, install it as a service.

sudo systemctl enable nodered.service

Access

Node-RED is accessed via its web interface. When starting Node-RED, the address to use is shown in the output. The IP of my RP is 192.168.0.164 and port 1880:

http://192.168.0.164:1880/
Let the world know

Tobias Hofmann

Doing stuff with SAP since 1998. Open, web, UX, cloud. I am not a Basis guy, but very knowledgeable about Basis stuff, as it's the foundation of everything I do (DevOps). Performance is king, and unit tests is something I actually do. Developing HTML5 apps when HTML5 wasn't around. HCP/SCP user since 2012, NetWeaver since 2002, ABAP since 1998.

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.