- Simple authorization
- Access from any smartphone or PC
- Two-way communication (every step verified)
- Capable of controlling doors, lights and locks simultaneously
- Live snapshots from security camera
The ESP8266 Microcontroller is connected to the Garage Door through the relay
The ESP8266 communicates with the Hub through a socket on the local network
The Hub then hosts a Telegram Bot to which authorized users may connect from their Telegram accounts
-
Wired garage door
-
ESP8266, ESP32 or another microcontroller
-
A 3V or 5V relay (depending on your controller)
-
Local hub with Python 3.6+ (windows, linux, rasbpian, etc...)
This version is set up for a Windows local hub, but it will take little change to adapt it for Unix.
-
Burn the firmware from this repo or from here onto your controller
-
Upload scripts from 8266 Micropython folder to the controller
-
Add your SSID and PSK to wifi.py on the controller
-
Rename config_example.ini to config.ini
-
Set up a telegram bot, note your bot's API key and Telegram user id
-
Populate config.ini with the API key and your user id as admin, as well as trusted users that will not have to register through the bot
-
In the config, set ESP8266_IP to your controller's local IP address
-
Power up the controller and run telegram.py
ESP8266:
- MicroPython 1.10
- SRD-05VDC-SL-C relay
Local Hub:
- Python 3
- Telepot