Raspberrypi#Install Node-Red

This article will walk you through the process of installing Node-red on a Raspberry pi.

Installation

Execute the following command in Terminal.

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

Enter “y” and proceed with the installation.

You will be asked if it is Y/N again, enter “y” and proceed with the installation.

It takes roughly 10 minutes.

Done!

Running locally

You can launch Node-RED locally on the Raspberry PI from the Node-RED command.

You can stop the Node-RED Server by pressing Ctrl+C from the Terminal.

As a side note, Raspebrrypi can add an Argument when launching Node-RED to free up memory for unused Node.js due to memory issues.

Argument is here.

max-old-space-size argument.

The startup command looks like this.

node-red-pi –max-old-space-size=256

Enter yourdevicesIP:1880 in the Browser, and you should get a Node-Red screen like this!

Node-Red Auto Start

Execute the following command:

sudo systemctl enable nodered.service

Node-Red Auto Stop

Execute the following command:

sudo systemctl disable nodered.service
Footer_Basic

Please Support some devices for my blog

Amazon Gift List

Find ME

Twitter:@3threes2
Email:soup01threes*gmail.com (* to @)
YoutubeChannel:https://www.youtube.com/channel/UCQ3CHGAIXZAbeOC_9mjQiWQ

シェアする

  • このエントリーをはてなブックマークに追加

フォローする