(see http://nodered.org/docs/hardware/raspberrypi.html)
- node-red
- wiring pi
Install dependency
- npm install moment
Copy node-red files
- git clone https://github.com/iamkat/new-atlantis.git
- cp new-atlantis/settings.js node-red-0.9.1/
- cp new-atlantis/flows_raspberrypi.json node-red-0.9.1/
- cd ~/node-red-0.9.1
- node red.js
Ground to pin #6 (GND), live wire to pin #12, (GPIO 1 / BCM GPIO 18 / WiringPi 1)