Skip to content

jaredcrean/wifi-garage-door-opener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

esp8266 Wifi Garage Door Opener


Description

Here I am using a esp8266 wifi enabled microcontroller to open my garage door

The plan is to have it controlled though a home automation system where it can send a text message if the door is open for longer then a hour.

I use a HTTP app for android called HTTP Shortcuts.

Requirements

This will require the esptool.py https://github.com/espressif/esptool

MicroPython https://github.com/micropython/micropython

Uploading to the NodeMCU/esp8266

cd /project/home/

Flash the MicroPython firmware to the esp8266

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dio 0 esp8266-20171101-v1.9.3.bin

Upload the boot.py and the main.py

  • I like to use the WebREPL website makes in easy http://micropython.org/webrepl/.
  • now upload the boot.py and the main.py.
  • once that completes you should be able to trigger the relay with a HTTP PUT. curl -X PUT http://<IPADDRESS>:\?Open-Close\=OFF0

Releases

No releases published

Packages

No packages published

Languages