Flask allows us to run our python scripts through a webpage and we can send receive data from raspberry pi to web browser and.
Rpi garage door opener web page button.
Raspberry pi garage door opener by quartarian.
After only writing software for many years in web development creating something that interacts with the real world was a special kind of excitement for me when i saw it.
I am using a raspberry pi3b gpio pins to control a relay board which simulates someone pressing the garage door opener on the wall.
Raspberry pi garage door opener.
This instructable explains how i setup a raspberry pi to open my garage door using a smarthphone.
While this has been done before i thought i d post my solution.
Grab a high resolution remote garage door opener from the web.
My config settings.
I ve written enough software and played with a raspberry pi long enough that this was a fairly simple project.
This tutorial assumes you have the gpio binding installed and have already gotten that working for other items.
Here we have created a web server using flask which provides a way to send the commands from webpage to raspberry pi to control the robot over the network.
It was anyway very helpful to understand the concept around dedicated rpi to control a motor from a relay.
Modify the image as you would like using mac paintbrush.
A wifi raspberry pi connected to a 2 channel relay connected to my actual garage door remote allows me to open and close my garage door with just a browser on my smartphone.
The project also lets users send a command to the door thus enabling you to.
This was my first hardware project and instructable ever and i m sure.
One image is the background remote background jpg and the other is the active image remote press jpg.
I tapped into the buttons on the wall and ran a pair of wires to the relayboard and connected them to common and normally open.
I had to buy a new garage door opener remote because my old remote s button had disintegrated and no longer worked.
I was curious if the board itself could still be activated and sure enough when i hit both pins on the board with a wire the garage door opened.
Flask setup in raspberry pi for controlling garage door.
No open close buttons no feedback.
Raspberry pi garage door opener created by lewis callaway last updated on 2014 03 14 01 30 14 pm edt.
So now i wondered if we could make this board interact with a raspberry pi so that it could be activated over the network.
In addition to using a raspberry pi the project uses two sensors to determine whether or not the garage door is open.
In the image above a high resolution genie garage opener was used a raspberry pi logo was added and the led was removed.