jaredcrean / wifi-garage-door-opener

esp8266 Wifi Garage Door Opener

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

esp8266 Wifi Garage Door Opener


Languages

Language:Python 100.0%