Coder Social home page Coder Social logo

marcuslonnberg / esphome-garage-cover-single-control Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juaigl/esphome-garage-cover-single-control

0.0 0.0 0.0 35 KB

Project to command a garage door with a single control interface.

C++ 86.41% Python 13.59%

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

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.