This video will show how you can control your garage door using a Raspberry Pi.
Setting up a Flask web server, we can open & close the garage door using a web browser, or using Siri. Siri commands will allow you to check the status of the garage door, as well as Opening/Closing the garage door.
This video is an update to a previous video. In that video, the hardware setup was the same, but didn't include Siri control. This new video will allow up to 3 garage doors to be monitored and controlled.
Check out My Original Raspberry Pi Controlled Garage Door Video here:
• Raspberry Pi Controlle...
--------------------------------------------------------------------
Thanks to the Sponsor of this Video:
--------------------------------------------------------------------
$2/5pcs 2Layer & $2/5pcs 4Layer PCBs: jlcpcb.com
Check out JLCPCB.com to get your own custom Printed Circuit Boards.
Free Web Based design software can be found through their site.
--------------------------------------------------------------------
Products I used in this video:
--------------------------------------------------------------------
Raspberry Pi Zero W with case on Amazon: amzn.to/34ujK5C
Raspberry Pi Zero W on Adafruit: www.adafruit.com/product/3400
4 Channel Relay (to Open Garage Door): amzn.to/3b4lHbD
Magnetic Reed Switch (You need at least 1 per door, 2 per door recommended): amzn.to/39YG7kU
Jumper/Breadboard wire 120ct: amzn.to/2V3fFlV
Hammer Header & Install Kit on Amazon: amzn.to/3b5RbxX
Hammer Headers on Adafruit: www.adafruit.com/product/3662
--------------------------------------------------------------------
Setup Instructions:
--------------------------------------------------------------------
1. First setup your Raspberry Pi: • Setting up the $10 Ras...
2. Lets upgrade the apt-get program:
- sudo apt-get update
3. To Allow us to use the GPIO pins on the Pi:
- sudo apt-get install rpi.gpio
4. Next install the Flask Web Server:
- sudo apt-get install python3-pip
- sudo pip3 install flask
5. Install the GIT application so you can download my Github code:
- sudo apt-get install git
6. Download my Github code:
- sudo git clone github.com/shrocky2/SiriGarage
7. Test out setup and webpage (default port is 5001)
- cd SiriGarage
Test Relay connections
- sudo python3 relaytest.py
Test Magnetic Reed Switches
- sudo python3 log.py
Test out Webpage
- sudo python3 siriweb.py
- Open your web browser to: Rasp_Pi_IP_Address:5001
8. To Change Settings, including renaming doors, passwords, enabling Siri, & Setting Program to AutoStart on Boot:
- Open your web browser to: Rasp_Pi_IP_Address:5001/Settings
- Default Username:Password are admin:admin
9. To Setup your iPhone & Apple Watch to control the garage door, follow the steps at:
- Rasp_Pi_IP_Address:5001/page/sirisetup.html
11. Reboot system and let program autostart
- sudo reboot
12. Set up Port Forwarding on your Router to allow access when away from home.
- You'll need to setup PORT FORWARDING on your home router to pass traffic from the internet to the Raspberry Pi.
- Check out this video for help with port forwarding: • Setting up Port Forwar...
- To find out your External IP Address, Check this link: checkip.amazonaws.com
- Setup Siri using your External IP Address and the Port Number you setup in Port Forwarding.
- Once setup, turn off WiFi on your phone and test. You'll need to know the EXTERNALL address of your home router.
--------------------------------------------------------------------
Wiring Diagram:
--------------------------------------------------------------------
Find the Wiring Diagram on my GitHub Page: github.com/shrocky2/SiriGarage
--------------------------------------------------------------------
Additional Videos:
--------------------------------------------------------------------
My Original Raspberry Pi Controlled Garage Door Video: • Raspberry Pi Controlle...
Sonoff Garage Door Opener: • $10 Alexa Controlled S...
How to set up your Raspberry Pi: • Setting up the $10 Ras...
How to set up Port Forwarding on your Router: • Setting up Port Forwar...
Негізгі бет Ғылым және технология Siri Controlled Garage Door Opener Using a Raspberry Pi. DIY Project Complete Tutorial
Пікірлер: 63