I was wondering if there is a way that you can set up a routine that will perform 2 tasks at different time.
What I want to do is have a routine that will turn the outside lights on at sunset but only for a certain period of time. So basically have it turn on the outside light at sunset and then turn it off 2 hours later but be able to combine this into a single routine.
@rushboys Of course you could do this by implementing two instances of Smart Lighting, One to trigger on the light at Sunset and a second instance of Smart Lighting to trigger off the light two hours later by using an offset of 120 minutes from Sunset. Just curious why you wanted to do it with only one instance? [quote=“JDRoberts, post:2, topic:45878”]
I think if you use sunset as the trigger in the standard features, the only second trigger you get is sunrise.
But maybe this technique would be adequate for you since Smart Lighting allows you to make a +/- offset change to the Sunset and Sunrise times in minutes. So what you might consider is triggering on the light at Sunset and use Sunrise time to turn it off using a large offset that approximates the couple of hours of ON time you wanted. Of course the length of ON time will slowly change by a couple minutes a day but maybe for your purposes that could be acceptable and maybe even desirable if it’ll keep the potential burglars on their toes seeing it isn’t a perfectly set OFF time each day.
And if by any chance you loaded Rule Machine by @bravenel (before it was pulled) this kind of automation is child’s play
@JDRoberts I’ve tried to set up a single routine in the past to have a bedroom light to come on at 9 and then shut off at 9:45 but it wouldn’t allow me to do it in the same routine. In had to create 2 sepcerate routines. One for each function. So I have a Good night for turning on and Goodnight ii for tuning off. Where ideally l would like to have this combined into a single routine.
That is also what I want to with the outside Light as well. Seems that there is something I’m missing or this is a limitations or Smartthings to allow for complex routines