node + raspberry pi based sprinkler system
based on geddy with socket.io for triggers and pi-gpio for talking to the Raspberry PI gpio pins to tigger a relay.
[sudo] npm install -g geddy
GPIO access requires root access, but non-root access is available via gpio-admin
git clone git://github.com/quick2wire/quick2wire-gpio-admin.git cd quick2wire-gpio-admin make sudo make install sudo adduser $USER gpio
- cd /sprinkler
- geddy
/sys/devices/virtual/gpio/
- a simple startup.js server script fires up geddy (geddy must be installed in the local node_modules directory)