basbruss / adaptive-cover

An Adaptive Cover component for HomeAsisstant to control covers based on the sun's position
MIT License
71 stars 10 forks source link

Setting sensors for forced opening (emergency override) #140

Closed mlstolk closed 3 months ago

mlstolk commented 4 months ago

Checklist

Is your feature request related to a problem? Please describe.

I have some local sensors that I want to use to:

You can think of a local binary sensors for 'too much wind', 'rain' warnings or other conditions, that complement the online weather services.

Describe the solution you'd like

Adding additional options, in addition to the existing 'manual override', but for these emergency triggers:

Describe alternatives you've considered

I considered using the manual override options, but I think it would be beneficial to separate these emergency opening conditions and regular manual override.

Additional context

n/a

basbruss commented 4 months ago

I have some local sensors that I want to use to:

  • force an immediate full opening of the awning when one of the sensors is triggered
  • prevent the awning from closing again for a while after one of the sensors was triggered.

You can think of a local binary sensors for 'too much wind', 'rain' warnings or other conditions, that complement the online weather services.

You can easily automate this by triggering on those sensors. Turning off the adaptive control switch and set the correct cover action. Afterwards, when appropriate you can turn the adaptive control switch on again and everything should work again.

mlstolk commented 4 months ago

Ah, thank you for suggesting this. It seems like a plausible solution to what I want to accomplish; great!

Colorado4Wheeler commented 4 months ago

@mlstolk you might be interested in a post I made on the HA forum: https://community.home-assistant.io/t/what-is-your-most-useful-automation/648543/86.

I've really tricked out (i.e., totally geeked out) my curtain control to do things based on conditions and events and incorporated into it the adaptive cover features, like turning on or off the toggle based on other conditions or if it's in sun, etc.

The idea is setting up a sensor with a JSON of your various settings. Then I have two scripts, one is the actual brain that does the work and the other is simply something that goes through every cover and runs the brain function. For instance, I pre-set all the settings for when we awake, any cover that has an awake setting gets set. As a use case for you, an event could be "emergency" where all covers open to 100%. Doing this all my covers open at almost the exact same time to precisely where i want it to be.

Happy to talk further about this if you want, just DM me on HA.

mlstolk commented 4 months ago

Thank you very much @Colorado4Wheeler for bringing this to our (my) attention in relation to this question. A very interesting approach indeed.