Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.29 KB

File metadata and controls

61 lines (44 loc) · 1.29 KB

NodeRED on Raspberry Pi

1. Installation

In terminal, type the following command:

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

This should take about 20-30 minutes, depending on the speed of the Raspberry Pi. Reference: https://nodered.org/docs/getting-started/raspberrypi

2. Run Node-RED

To run Node-RED:

node-red-start

To stop Node-RED:

node-red-stop

To restart Node-RED:

node-red-restart

To view log:

node-red-log

3. Remote SSH from Mac OS

Let us first determine the Raspberry Pi's IP address by typing the following command in the terminal of your Raspberry Pi:

hostname -I

hostname

On your Mac, in the terminal type:

ssh pi@<RaspberryPI'IP>

You will be asked for the Raspberry Pi's password. See below:

SSH

4. Turn OFF Raspberry Pi

To turn OFF Rapsberry Pi & keep the SD card and file system safe:

  1. Type the following command to stop your Raspberry Pi.
sudo halt -p
  1. Wait until the LEDs stop blinking on the Raspberry Pi.

  2. Wait additional 5 seconds and pull the power supply.