While this has been done before i thought i d post my solution.
Raspberry pi wifi garage door opener without relays.
Raspberry pi garage door opener.
It controls the door.
The relay should be wired in the normally open position so that when activated the circuit will close and the garage door will open close.
Steve placed one sensor near the ceiling and the other is on the ground.
This instructable explains how i setup a raspberry pi to open my garage door using a smarthphone.
Then wire the relay to the garage door opener.
Opening and closing the door is secured by using self signed certificates installed on family s mobile phones.
With a magnet attached to the garage door the pi relies on two magnetic reed switches to check the garage door s status.
This model is necessary as it has wireless support while the raspberry pi zero does not.
Then wire pin 6 gnd to the gnd on the relay.
The project relies on a raspberry pi zero w using 8 gb of storage on a microsd card.
This was my first hardware project and instructable ever and i m sure.
The garage door has been in continuous use since late 2014.