Hi, I’m thinking of starting a project with Home Assistant, but I need to carefully plan everything, and perhaps you can guide me with your experience.
I want my iOS app to override all my light automation. For instance, if an automation is set to turn on the light every 10 minutes, but I manually turn it off on my iOS app, I’d like it not to turn on automatically (perhaps with a timeout, maybe 30 minutes?).
Use Case:
In the early morning, to avoid waking everyone up, the lights should automatically turn off when there’s no motion. However, if someone needs to keep the lights on, they can bypass this automation using the app.
During the day, if the baby falls asleep in the living room, and the lights need to be off any automation that would turn on the lights would be disabled by turning it off in the app.
I was thinking of creating a bypass boolean switch and having every automation check the switch’s status before running. The iOS app button would enable or disable this switch. Is this a good approach? I’m also concerned about the possibility of an automation who don’t re-enabling the switch before 30 minutes, because the automation to crash or something and leaving the switch stuck in disabled mode. In this scenario, none of my automations would run until I manually re-enable it.
So, what do you suggest?
2 posts - 2 participants
Read full topic