Node-red

References:

### install node-red on *PI
sudo su -
aptitude install npm
npm install -g --unsafe-perm  node-red
ln -s /usr/bin/nodejs /usr/bin/node

### patch node-red to latest [stable] version [npm]
sudo su - 

# node -v
v0.10.29

# npm cache clean -f
# sudo npm install -g n
# sudo n stable
##### version can be switched by: sudo n 0.8.21
# shutdown -r now
# node -v
v6.2.0

Test : example from browser: http://192.168.2.2:1880/#

References:

### to install modules
## irc-one
# sudo su -
# node-red-admin install node-red-node-irc
  • projects/node_red.txt
  • Last modified: 2019/07/01 11:42
  • by cyberian