What is the most efficient way to handle daily events?


#1

For a simple example…

Let’s say I just want to turn a porch light on 10 minutes before sunset, and turn it off 10 minutes after sunrise.

What is the most efficient way to do that, so that the piston isn’t constantly using resources throughout the day and night if it isn’t close to sunrise/sunset?

I may also want to control the example light independently with other pistons, so this should be a twice a day, “check it, set it, and forget it” type of deal.


#2

You can trigger on sunrise and sunset with a time offset. The piston will only trigger at those two times.

Like so:


#3

Ok. That’s what I was using, but wasn’t sure if it was constantly checking the time or not.

I’m an old CoRE guy… just now switching my pistons over to webcore.

Thanks