How To Install Node-Red On A Raspberry PI

Or may be the question is why would you want to 🙂

Node-Red can be thought of as the “wiring” for the internet of things.  It allows you to connect “nodes” to each other to deliver functionality that would take days if not weeks to achieve without it.

I was lucky enough to see a demonstration of this at IBM Hursley (where it was written) over a year ago and and I knew we would meet again someday 🙂

As an example, I was able to learn enough node-red and create a real flow to display the output from a current cost energy monitor in a couple of hours (see next blog)

nodered2

Firstly, read think link on how to install the OS

https://wherethingsareborn.wordpress.com/2016/05/09/multiroom-audio-part-2-installing-the-os/

Then I followed the instructions at this link:

http://nodered.org/docs/hardware/raspberrypi

(make sure you do the adding nodes bit)

and finally, added the contrib-ui (which lets you have access to lots of chart widgets)

login as the pi user and then execute

cd ~\.node-red
npm install node-red-contrib-ui

Now you should be able to point your browser at the IP address of your pi on port 1080 and you should see this

nodered1

Read the next blog for why this is awesome )

WhereThingsAreBorn 🙂

Advertisements

One thought on “How To Install Node-Red On A Raspberry PI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s