Last edited 2 weeks ago

How to install Node-RED

Applicable for STM32MP15x lines


Warning DB.png Important
The Node-RED, subject of this article, is not part of STM32MPU ecosystem releases, for which ST provides some support.
This article only provides, as example, some helper guidelines (tips): you may need to make some adaptations depending on your system setup.

Node-RED® can be easily installed using the package repository for OpenSTLinux distribution service.

1. Node-RED direct installation

Execute the following commands to install Node-RED:

apt-get update
apt-get install node-red

Node-RED is automatically started and can be accessed remotely using your web browser:

http://<board IP @>:1880
Warning white.png Warning
Target and your host computer must be connected to the same network.

2. node-red-dashboard module

This module provides a set of nodes in Node-RED to quickly create a live data dashboard [1].

apt-get install node-red-dashboard

To access the Node-RED dashboard using your web browser:

http://<board IP @>:1880/ui
Warning white.png Warning
Target and your host computer must be connected to the same network.

3. node-red-contrib-image-tools module

A Node-RED node to perform functions on images and decode barcodes [2].

apt-get install node-red-contrib-image-tools

4. References