Skip to content

Open your garage door with python, telegram and ARM boards

License

Notifications You must be signed in to change notification settings

paketecuento/TeleDoor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeleDoor

Open your garage door with python, telegram and ARM boards.

Description

Python3 code to open/close your garage door using a telegram bot. I used an OrangePi zero WiFi board to control my door using a wired connection from a relay board to the door motor.

Dependencies

You need to install:

Usage

You need to create a token id at bot_father bot in Telegram. Also you need to your chat_id to receive notifications and send commands to your bot. These two parameters should be used at door.py.

Then, move the door.service file to /lib/systemd/system/ directory and enable the service to start on boot. Finally, add the following code to the end of your /etc/rc.local if you want monitor your wifi connection using the onboard red led:

python3 /root/moni.py &
exit 0

If the red led is blinking, there is no internet access. If the red led is lit, then you have internet on your board.

Releases

No releases published

Packages

No packages published

Languages