Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:node_red [2016/05/31 14:48]
over23 [Installation of NodeRed]
projects:node_red [2019/07/01 09:42] (current)
cyberian přidán Cyberian
Line 1: Line 1:
- 
 |**Project owner:**| [[user:​overdrive|Overdrive]] | |**Project owner:**| [[user:​overdrive|Overdrive]] |
-|**Interested:​** | [[user:​peterbay|peterbay]],​ [[user:​overdrive|Overdrive]]| +|**Interested:​** | [[user:​peterbay|peterbay]],​ [[user:​overdrive|Overdrive]], [[user:​cyberian|Cyberian]]| 
-|**Related:**|  |+|**References:**| [[http://​nodered.org/​docs/​hardware/​raspberrypi| [Node-RED : Raspberry Pi]]] -- [[https://​github.com/​LeMaker/​RPi.GPIO_BP| [GPIO for BananaPi]]] -- |
 | **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci; CC BY-SA]] ​ | | **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci; CC BY-SA]] ​ |
- +====== ​Node-red ​=======  
-====== ​Installation of NodeRed ​=====+===== Install node-red ===== 
 +References:​ 
 +  * http://​nodered.org/​docs/​hardware/​raspberrypi - Node-RED : Raspberry Pi
  
 <​code>​ <​code>​
 +### install node-red on *PI
 sudo su - sudo su -
 aptitude install npm aptitude install npm
 npm install -g --unsafe-perm ​ node-red npm install -g --unsafe-perm ​ node-red
 ln -s /​usr/​bin/​nodejs /​usr/​bin/​node 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
 </​code>​ </​code>​
  
-example from browser: +Test : example from browser: 
-   ​http://​192.168.2.2:​1880/#​+http://​192.168.2.2:​1880/#​
            
-GPIO knihovna pro GPIO na Bananu +===== GPIO Library for BananaPi =====
-    https://​github.com/​LeMaker/​RPi.GPIO_BP+
  
-====== Installation of NodeRed on Raspberry Pi  ​===== +  * https://​github.com/​LeMaker/​RPi.GPIO_BP 
-  * http://​nodered.org/​docs/hardware/raspberrypi ​Node-RED Raspberry Pi+  * https://​github.com/​LeMaker/​WiringBP 
 + 
 + 
 +===== Modules ​===== 
 +References:​ 
 +   * http://flows.nodered.org/​node/node-red-contrib-gpio 
 +   * http://​flows.nodered.org/​node/​node-red-node-bananapi 
 +   * http://​flows.nodered.org/​node/​node-red-node-irc 
 + 
 +<​code>​ 
 +### to install modules 
 +## irc-one 
 +# sudo su - 
 +# node-red-admin install node-red-node-irc 
 +</​code>​ 
 +===== Workflows ===== 
 +  * intersting bot: https://​developer.ibm.com/​bluemix/​2015/​06/​09/​building-slack-bot-bluemix-node-red-watson/​
  
  • projects/node_red.1464706099.txt.gz
  • Last modified: 2016/05/31 14:48
  • by over23