How to install and Set up Node-Red in DSGW-210 IoT Gateway

The following instruction describes how to install and set up Jeedom in DSGW-210 IoT Gateway.

Reference: DSGW-210 IoT Gateway Product Specification

Node-Red works as a programming tool for wiring together hardware devices. It provides a convenient method to enable the hardware to web-based services and software by creating a flow between the nodes. Node-Red Community provides a script to install Node.js, npm, and Node-RED onto a Debian-based operation system. The script can also be used to upgrade an existing install when a new release is available.

(Refer to Node-RED Computing Gateway for details)

Step 1. Running the following command first to ensure npm can fetch and build any

sudo apt install build-essential git cur

Step 2. Running the following command will download and run the script

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejsand-nodered)

Step 3. Running

Once installed as a global module you can use the node-red command to start NodeRED in your terminal. You can use Ctrl-C or close the terminal window to stop NodeRED.

DSGW 210 08

The user then accesses the Node-RED editor by pointing your browser at http://localhost:1880.

DSGW 210 09

NOTE: Get the latest information, please refer to https://nodered.org/docs/getting started/raspberry pi

2 Likes