Difference between revisions of "Node-RED"

From ArmadeusWiki
Jump to: navigation, search
(creation)
 
m
Line 1: Line 1:
 +
[[Category:Domotic]]
 +
 
{{Under_Construction}}
 
{{Under_Construction}}
  

Revision as of 16:10, 29 December 2016


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