Need help with simple motion activate flood lights


#1

I’d like to turn on the flood lights for 5 minutes when the motion sensor detects motion. Is this the best way to accomplish this? Thanks!


#2

Here is how I would do it:

pic

I inverted the times (which spans midnight), indented an IF, and removed an extraneous command.


#3

Thanks! That looks cleaner and makes sense about how to handle midnight. I’ll give it a try!