After looking into modes, I tried to make the switch but came into one main issue. I’m willing to change my workflow if there’s something better, but ultimately for this attempt, I ended up reverting back because I couldn’t get past this issue. Any/all help would be greatly appreciated!
Currently, I have two very simple rules that manage devices based on mode.
- When mode changes to away, turn off all lights and turn on inside cameras.
- When mode changes to home, turn on a few inside lights and turn off inside cameras.
(I also have a basic rule for if mode changes to home and it’s night time, turn on flood lights)
The inside cameras are on smart plugs that activate based on the mode changes. The mode changes solely based on presence of 'all gone' or 'any present.'
I want to have a few modes like early morning, daytime, evening, and night. Currently I switched back to only home and away modes. The reason for the switch was the transition between away and whatever mode would have been scheduled. I understand there is a return from away based on time which I believe would solve the scheduling issue. The issue I ran into beyond that, was that devices would activate based on mode change even if we were present.
What I would like to happen is something like this:
- Away Mode - Turn off lights and turn on cameras
- Home (go to the proper mode) - Off cameras. IF no one was home, turn on some inside lights.
- Home (go to the proper mode) - IF dark turn on flood lights with any presence.
Morning - start on extended motion - end around 0830 (945 at latest probably saturday morning)
Daytime - start on multi light and motion activity - end at 2000
Evening - start at 2000 - end at bed (all lights off)
Night - start at bed - end on extended motion
Based on this, I'm going to say I can't really use mode manager to switch modes except for the evening mode (since it's a specific time).
I'm assuming that the mode switching would have to be a rule machine thing since there are conditions that have to be met when switching modes?
How many different rules would I need to accomplish something like this and how would I write something like the "go back to the mode you would have been if we had been home" rule?
The any/no one present thing has somewhat baffled me from the beginning. How can I distinguish between when someone arrives/no one was home and someone arrives/someone already present?
I'm probably overcomplicating it. I can see portions of it (like iF present, turn on flood lights - sunset/sunrise restriction) but I can't get the "full picture" in my head.