Coder Social home page Coder Social logo

esp8266-garage-door's Introduction

esp8266-garage-door

This is the third revision of this project.

  1. the first revision used a shelly1 and "forwarded" the pulses to an esp8266, which forwarded to the correct remote button
  2. the second revision ditched the shelly, and was connected directly to the remote. This version also introduced the homekit controller and the mqtt api
  3. the thrid revision adds a dual relay, so the remote electric circuit is isolated from the esp8266's

Wiring

image

Basically, the firmware publish to the espgate/sensor mqtt topic, which homekit-garage subscribes. homekit-garage publishes open, close and ping events to the espgate/act mqtt topic, and the firware acts accordingly.

The firware is pretty "dumb", on purpose, as its the hardest part to maintain/update.

The homekit controller runs in a raspberry pi, and is very lightweight too.

Configuration

In the firmware, you might want to change the PULSE (default 500ms) time. You'll also need to create an arduino_secrets.h with the Wifi info and MQTT server IP.

In the homekit controller, you'll need to set the operationTimeout (default 30s) and the MQTT server IP.

Future

Maybe ditch the separated Go homekit controller and run it directly in the ESP? Not sure if worth it, as its painful to update/debug...

esp8266-garage-door's People

Contributors

caarlos0 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.