Node-RED: how to install and configure it on Raspberry Pi

1 minutes of reading
Guide purposes
  • Install and configure Node-RED su Raspberry Pi (Raspbian)
  • Difficulty level: bass
Concepts dealt with:
  • software installation and configuration
Software components used:
  • Wifi network connected to the Internet
  • Raspberry Pi configured and working with Raspbian
Physical devices used:

All environments

Notes and disclaimer
  • qualsiasi modifica all'impianto elettrico dev'essere progettata ed effettuata da personale qualificato;
  • any changes implemented in probefore is a propersonal responsibility as well as a profirst risk and danger (the contents of the present page are purely educational);
  • any changes implemented in proprior to a device it voids the guarantee, quality approvals and certifications.
Card revision: 2.0


Node-RED is a fantastic operating environment through which to define real e propri "flows" pronecessary for data manipulation, interfacing and management. Its extreme simplicity, power and expandability make it an irreplaceable tool in many fields of applicenses, including home automation and more generally the IoT.

In this guide we will see how to install it on Raspberry Pi equipped with operating system Raspbian.

Node-RED flow


Install Node-RED it's really trivial.

The approccio easier is to go to the Raspbian GUI menu item and select "Pref Renze">"Recommended software“, Then select Node-RED and wait for the installation to complete.

Otherwise, from local or remote terminal execute the following command:

bash <(curl -sL

at the end of the execution, Node-RED will have been installed correctly.

Start the service

Once installed, to run Node-RED automatically as a service when the unit starts, type the following command:

sudo systemctl enable nodered.service

e prosee later to the execution of:

sudo systemctl start nodered.service

Access to Node-RED

Now Node-RED is correctly installed and running, connect via browser at:


where obviously "ip_del_raspberry”Will be the IP address of the Raspberry.

Apparirà an interface similar to this one:

Node-RED Dashboard

Congratulations! Now Node-RED è prointended for use.


The possible uses of Node-RED - especially in home automation - they are the most disparate. The limit is really the imagination combined with specific needs.

One of the promost beautiful jets that we have dedicated to Node-RED Is that which illustrates how to create a true e profirst virtual MQTT device starting from several MQTT elements present in the proenvironment.