Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 1.88 KB

node-red_lab_1.md

File metadata and controls

26 lines (17 loc) · 1.88 KB

Innovation-Day: Internet of Things - Node-RED Lab. 1. Check if your Intel Edison has Node-RED installed

This lab is using the Grove Starter Kit for Intel Edison, so you may have to prepare your device first, just follow this Intel Edison installation tutorial and then install the Node-RED environment.

Node-RED installation

For using node-red with an Intel Edison board you will have to login inside the board using an SSH client like Putty or similar. Your lab trainer may have already prepared your Intel Edison device with a Node-RED server. You just need to go to your Edison IP Address and open a browser in the 1880 port like this:

  1. Type the ifconfig command inside your Intel Edison and take your wlan address. If you don't have an IP4 address, try to connect to the local WiFi again with the configure_edison --wifi command.
  2. Open a browser to your board address http://[YourBoardIPAddress]:1880

If nothing opens, and you are sure your board is connected to the WiFi, follow these steps:

  1. Copy the bash file you will find in the Scripts folder into the drive that appeared in your computer when connecting the Intel Edison
  2. Detach your Edison from your computer, so the drive is mounted in the linux FS inside the /media folder
  3. Run the script with the command:
    sh installnodered.sh

This script downloads and installs Node-RED as a daemon inside your Intel Edison, so it will be always running for you. The script will also install some useful libraries for controlling the Grove Kit sensors and connecting your board to Azure IoT Hub.

If you need to restart or reload the service you can use the pm2 start|stop commands (+info).


Continue to Step 2 or return to index.