The esp8266 will connect to the garage door opener s controller through the 5v relay.
Control garage door with raspberry pi.
Use a raspberry pi and a smartphone to open close and monitor a garage door.
This raspberry pi based garage door opener is capable of controlling of your garage door which enables you to open close the door when desired and lets you monitor the status to report back if the door is opened or closed at that moment.
If the garage door is open when it shouldn t be then send a text message sms to a cell phone.
When you access the webserver from your browser of choice you will have a big button that triggers the garage door via a relay.
Open http ip address 3000 and click the relay 1 button.
Press it again and the door should close.
The garage door should open.
Flask setup in raspberry pi for controlling garage door.
What we will be doing is turning the raspberry pi into a small web server.
Here s a video showing the final setup.
The garage door controller application runs directly from the raspberry pi as a web service running on port 8081 or port 8444 when https is enabled.
So i decided to build this myself.
We will wire a very basic circuit to the pi s gpio pins and upload a website that triggers the circuit.
I directly wired a pi zero w running fauxmo to a relay to control my garage door opener otherwise similar setup.
I have ideas to try a transistor instead of a relay one day but the relay is safe and gets the job done.
At 6 40 in the video i made an error in the vid.
It can be used by directing a web browser on a pc or mobile device to http hostname or ip address 8081 or https hostname or ip address 8444 when https is enabled.
The goal is to hook a raspberry pi up to my garage door opener set up some sensors to determine the state of the garage door and create a web page that will control it all.
Flask allows us to run our python scripts through a webpage and we can send receive data from raspberry pi to web browser and.
Opening and closing the door is secured by using self signed certificates installed on family s mobile phones.
When i think of home automation with a raspberry pi controlling my garage door is the first project that comes to mind.
Setting up a flask web server to control your garage door display the door status log usage please note.
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.