Giter Club home page Giter Club logo

esphome-garage-cover-single-control's Introduction

ESPHome Garage Cover Single Control

Project to control a garage cover or gate with ESPHome and Home Assistant.

This project uses:

  • Esp board compatible with ESPHome
  • Relay to activate the cover control
  • Two reed switches to detect end positions of the door.

Cover description

Cover is controlled with a single control using a relay. Each time the control is activated, it performs an action according following state machine:

  • Sequence: open -> stop -> close -> stop -> open
  • When cover reach the end (open or close) it counts as a stop action

Project features

  • Position control
  • Calculate the number of times the control need to be activated to perform the action requested or reach requested position
  • Actuate the door many times as needed to perform requested action. For example if position in memory is wrong or unknow because a external control stops the door at middle.
  • Detect and update position when the cover is externally commanded. Only if door is full open or closed when commanded or reachs end stop sensors.
  • Configuration options for GPIOs, debounce time, open/close durations. time between control actuation...

Instructions

TODO

  • Detect if door is stopped at middle when commanded externally

esphome-garage-cover-single-control's People

Contributors

juaigl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

esphome-garage-cover-single-control's Issues

Feature Request: Third reed sensor.

Hello;

I would like to use a third reed sensor at a position where my door is just slightly opened. I'd call it my "vent" position.

I often need to have the door opened in this position. Would this be possible?

Thanks, I used your nice work to replace the MyQ paperweight.

Reed switches details

Can you please put some pictures on how you installed the two reed switches on your gate. For the reed switch that is on the other side of the esp module, that in my case is 5 meters apart, do i need to take extra precautions when i connect it to an esp pin?

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.