Server-side application for garageoPIner. Running this application on a raspberry pi allows you to control your garage doors(up to 2) with your smartphone. All you need is a relay and a few wires.
sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install python-pip
sudo pip install rpi.gpio Flask configparser
wget https://github.com/wirthual/garageoPIner-server/archive/twoGarageDoors.zip
unzip twoGarageDoors.zip
cd garageoPIner-server-twoGarageDoors/
Edit garageoPIner.config for your needs:
[Settings]
port = 80 # port garageoPIner is running on
pin1 = 4 # pin for toggle door1
pin2 = 17 # pin for toggle door2
[Credentials]
username = admin # username for authentication on webpage and app
password = garageopiner # password for authentication on webpage and app
python garageoPIner.py &
Thats it :)
Now you can see the web-interface on http://ipaddressofrpi:80
An android client you find here: https://github.com/wirthual/garageoPIner-androidApp