Switch + contact sensor = garage door cover

I’d like a helper for combining an impulse switch and a contact sensor into a cover with assumed state for a garage door

Eg. The hook up’s great video here for demo hardware implementation. I’m sure lots of people have done it

Possible implementation, allow user to specify:
-Whether contact sensor is normally open or closed
-Whether the contact sensor senses when the door is fully open or fully closed
-how long it takes for the door to fully open/close

Given all that, we should be able to assume the state of the garage door in the form of a cover

Can’t that be done using the Template Cover?

I think that @marengaz want Template Cover with UI configuration

1 Like

Fair enough, that’s indeed missing

In this instance, I’m finding the logic extremely difficult to implement in a template cover, given the cyclic nature of the door actuation.

Good point though, I bet there are a bunch of similar scenarios where people would benefit from a way of sharing “template blueprints”, the same way we can already share “automation blueprints”.

Opened a different convo explicitly about that…

I desire this as well, but I understand the great challenges in pulling it off. There are two issues that I see.

  1. The cyclic nature of the door actuation as you mention. If you’re working with a dumb garage opener, there is no way to open it partially, then continue to open it without first closing it (at least a little bit) and sending it back up again.

  2. Dumb garage doors are either open or closed. There is no in between. Covers, by definition, can be opened/closed to any percent. But unless you line up reed switches all along the door opener track, HA would have no idea what % the door is opened.

Adding a duration could be calculate the percentaje. In EspHome we have cover by time