Raspberry Pi based garage door opener
-
{"trigger":"Garage Door","command":"\/root\/garagedoor.sh","ground":"background","voice":"door"},
garagedoor.sh contents:
#!/bin/sh
gpio mode 3 out
gpio write 3 0
sleep .5
gpio write 3 1You'll need to install this software on your Pi:
http://wiringpi.com/the-gpio-utility/I'm using this 8 channel relay board (8 is overkill but still cheap):
https://www.youtube.com/watch?v=oaf_zQcrg7g -