Giter Site home page Giter Site logo

opensaysme's Introduction

openSaysMe

WiFi enabled ESP8266 garage door opener using the Wemos D1 Mini and 2 relays

Description:
Garage door opener with basic HTML web page with 2 buttons that send GET request
to ESP8266 board to run functions. Each GET request has its own function that
is called aswell as a 404 error page. Get URLs can be called directly without
going through the web interface.


Variables
IPAddress ip(#,#,#,#): Static IP of device to request from router
IPAddress gateway(#,#,#,#)
IPAddress subnet(#,#,#,#)
const char* ssid
const char* password
bool doorOpen: Current position of the door
bool lightOn: Current state of lights
String webpage HTML body


Pins Used:

Indicator LED D1 GIOP 5 / LED_BUILTIN
Garage door relay D2 GIOP 4
Light relay D3 GIOP 0

Shortcuts & Android App:
For IPhone create web shortcuts to the IP followed by the get string to trigger
each function from the home screen.
For android I created a basic app using Tasker and exported it to APK to
be able to install on multiple devices.


Web interface:
Current static IP : 192.168.1.144
http://InternalIP/DOOR? & http://InternalIP/LIGHT?


TODO:

  1. DONE - Make webpage more user friendly with larger buttons and display current door & light status.
  2. DONE - Find better way to store web page instead of all in one variable
  3. Put in proximity sensor or limit switch to detect open or closed door
  4. Put photo resistor to detect day light and turn light on at night when door is opened

Untested:
OTA updating abilities are currently untested but code is in there for possible
future use.


Hardware Setup

  • 1x Wemos D1 Mini (or other ESP8266 board)
  • 2x Relays
  • Jumper/Dupoint Wires

Diagram

Schematic

Images

Rough Layout. You can tell how rough this is. I am using a solder spool as an antenna haha.

This is the top side of the final board that i attaced to the garage door opener.

Bottom side of the board

Bottom attached to the opener; yet to plug in the AC wires to the relay on the bottom side

opensaysme's People

Contributors

rr9 avatar

Stargazers

James Ostmann avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.