Have you ever woken up in the morning to find you left your garage door open? This project attempts to solve that problem by creating an automatic garage door controller that close the garage door after being open for 2 minutes. I've also included my custom device type and connect app for integrating this with the SmartThings hub.
I'm assuming you know how to setup your Raspberry Pi with your favorite distro and Node.js (v0.10). I'm also leaving it up to you to figure out how to either start the server via upstart, a cron with the @reboot directive, or runnig it via screen.
git clone https://github.com/simianhacker/rpi-garage-door.git
cd rpi-garage-door && npm install
node index.js
- Raspberry Pi A+/B+ with case, wifi adapter, micro SD card and 2000mA power suppy.
- 2 Chanel Relay Switch link
- Magnetic Switch (Reed Switch) link
- 1kΩ Resistor
- 10kΩ Resistor
- 30 feet of wiring (Cat 5 works really well because you can use the left over for jumpers on breadboards and the wires that run from the relay to the garage door switch)
- 5 Female to Female jumper cables
- Sodering Iron
- Soder
- Heat shrink tubing
http://www.driscocity.com/idiots-guide-to-a-raspberry-pi-garage-door-opener/