isalkind / homebridge-away-mode

Homebridge plugin that provides triggers to turn on and turn off lights to simulate occupancy.
MIT License
26 stars 5 forks source link

Specify on/off time parameters? #1

Closed anon1y4012 closed 6 years ago

anon1y4012 commented 6 years ago

Is there a way to specify when the lights should stop turning on randomly? For the sake of realism, it would be great to not have lights turning on all night at random intervals.

isalkind commented 6 years ago

Think of it as a controllable light switch. You add an automation to turn it on when you want (dusk, 7pm, etc). You add an automation to turn it off when you want (dawn, 10pm, etc).

I typically set this up to turn on 15 minutes before sunset, and turn off at 10pm.

anon1y4012 commented 6 years ago

Of course, brilliant. Thank you!