I’ve been looking and have not found a simple app that will turn on a light when I’m on my way home, only when its dark, using a presence and lux sensor. I would like to be able to pick the lux threshold as well as how long the light stays on.
This is how I have mine set as well. I also have mine set to turn on the light X minutes before sunset if the mode is home, which might help OPs concern that the lights wouldn’t trigger if his wife is already home.
Using a lux sensor seems needlessly complicated for this scenario. Your home gets dark the same minutes before sunset everyday. For this use case I’d set up a “Turn on lights when sensor arrives, but only X minutes before sunset.” As for how long the lights have been on, you can check the Activity Feed to see when they were turned on.
Yea, sunrise and sunset as event triggers are notoriously unreliable.
I’m with @onetrav on this one and for the exact same reason, overcast, storms.
The real test condition for lighting is LUX levels, I use it to drive the dimmer levels of all the dimmers in my house as well.
I have this exact rule running
–Create a trigger, include all your presence sensors
–Create a condition on illuminance < 20
–Select the single condition (illuminance) as the rule
–set actions for true: turn on these switches and also turn on/off after delay
sure, lux isn’t less than 20…
under define conditions the current state [true] or [false] is shown, so it’s not passing the lux test.
I use a lux sensor that’s outdoors so the interior lighting doesn’t mess with it.