Page 1 of 1

Blink light every 2 seconds for 15 seconds

PostPosted: Tue Oct 05, 2021 3:00 am
by MarcoGT
Hi,

I have a light which I would like to blink (on/off) for 15 seconds.
Which would it be the best way to do it?

Thanks
Marco

Re: Blink light every 2 seconds for 15 seconds

PostPosted: Tue Oct 05, 2021 9:07 am
by jay (support)
There are several ways, but one would be to create schedule which runs every 15 seconds that turns on the light with an auto-off of 7 seconds on the Turn On action. Then you just enable the schedule when you need it to flash, disable it when you don't.

Re: Blink light every 2 seconds for 15 seconds

PostPosted: Tue Oct 05, 2021 9:37 am
by MarcoGT
Thanks Jay.
Basically the blink shall happen when a door opens, would it be possible to enable the schedule based on trigger?

Re: Blink light every 2 seconds for 15 seconds

PostPosted: Tue Oct 05, 2021 3:18 pm
by jay (support)

Re: Blink light every 2 seconds for 15 seconds

PostPosted: Wed Oct 06, 2021 10:06 am
by chase
hi Jay

isn't MarcoGT asking to have a light blink every 2 seconds for 15 (maybe 16) seconds ?

my take is the ask is for a Light action like this:
<blink>..... Pause....<blink>..... Pause....<blink>..... Pause....<blink>..... Pause....<blink>..... Pause....<blink>..... Pause....<blink>..... Pause....<blink>..... Pause....<blink>

where the sequence "<blink>..... Pause...." takes 2 seconds?

I am not following how your solution would do this.

Re: Blink light every 2 seconds for 15 seconds

PostPosted: Wed Oct 06, 2021 11:28 am
by jay (support)
Ah, right, I was basing my interpretation on the body of the post (which doesn't mention the 2 second criteria), not the subject. For this case, you'd create a schedule which would repeat every 4 seconds, turn on the light with an auto off after 2 seconds. This will create the flashing. Next, you add a Trigger when the door opens to enable the schedule and add an auto-disable after 15 seconds. This will start the flashing when the door opens and then stop the flashing after 15 seconds.