Node-RED

From ArmadeusWiki
Revision as of 19:16, 27 December 2016 by JulienB (Talk | contribs) (creation)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Page under construction... Construction.png Informations on this page are not guaranteed !!

From Node-RED website: "Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways."

Installation

Node-RED was successfully tested on APF6 and OPOS6UL with Debian.

Debian

root@opos6ul:~/xxx# cd
root@opos6ul:~# apt-get update
root@opos6ul:~# apt-get install npm
root@opos6ul:~# npm i npm -g
root@opos6ul:~# mkdir .node-red
root@opos6ul:~# cd .node-red/
root@opos6ul:~/.node-red# npm install -g node-red-admin
root@opos6ul:~/.node-red# ln -s /usr/bin/nodejs /usr/bin/node
  • Nodes that can also be useful to install:
root@opos6ul:~# cd .node-red/
root@opos6ul:~/.node-red# npm install node-red-node-openweathermap
root@opos6ul:~/.node-red# npm install node-red-contrib-openzwave
root@opos6ul:~/.node-red# npm install node-red-contrib-bmp085

Launch

root@opos6ul:~# node-red
  • and wait until:
...
... - [info] Server now running at http://127.0.0.1:1880/
  • (may take some time)

Links