# Effect 5 minutes en than next

**URL:** <https://wled.discourse.group/t/effect-5-minutes-en-than-next/717>\
**Category:** Uncategorized\
**Created:** [August 2, 2020, 8:28pm UTC](https://wled.discourse.group/t/effect-5-minutes-en-than-next/717 "2020-08-02T20:28:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ceesie15](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@Ceesie15](https://wled.discourse.group/u/Ceesie15)\
**Post date:** [August 2, 2020, 8:28pm UTC](https://wled.discourse.group/t/effect-5-minutes-en-than-next/717/1 "2020-08-02T20:28:19Z")

</div>

is it possible to let 1effect play for 5 minutes and then it continues to the next effect?

---

<div class="post-metadata">

**Author:** ![tonyno](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/tonyno/32/242_2.png) [@tonyno](https://wled.discourse.group/u/tonyno)\
**Post date:** [August 3, 2020, 12:00am UTC](https://wled.discourse.group/t/effect-5-minutes-en-than-next/717/2 "2020-08-03T00:00:07Z")

</div>

As far as I know, you can only specify things based on a time-of-day.

---

<div class="post-metadata">

**Author:** ![Aircoookie](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aircoookie/32/2_2.png) [@Aircoookie](https://wled.discourse.group/u/Aircoookie)\
**Post date:** [August 3, 2020, 10:58am UTC](https://wled.discourse.group/t/effect-5-minutes-en-than-next/717/3 "2020-08-03T10:58:57Z")

</div>

Welcome!  
Currently it is not possible in WLED itself (it is when using external automations), but I plan to introduce a playlist feature to achieve this functionality.

There is an “ugly workaround” though:  
Save the effect you want to run after 5 minutes in a preset (for example 1).  
Then, in Time settings, set `Timed-Light-Over Macro` to `1`. In Advanced Macros, put `PL=1` in the first text field.  
Now go to LED settings, and in the `Timed light` section, set the duration to 5 minutes, turn `Fade` off and set the target brightness to something close (but not exactly) the master brightness you are using (for example 254 if you are using max. brightness).  
Now set the first effect to run, turn on the Nighlight timer and after 5 min, it should switch to the effect stored in the preset!

---

<div class="post-metadata">

**Author:** ![GSVNoFixedabode](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/gsvnofixedabode/32/1350_2.png) [@GSVNoFixedabode](https://wled.discourse.group/u/GSVNoFixedabode)\
**Post date:** [June 14, 2021, 12:25am UTC](https://wled.discourse.group/t/effect-5-minutes-en-than-next/717/4 "2021-06-14T00:25:40Z")

</div>

Use the JSON config to load a playlist into a preset. Within that config you can specify the specific time for each preset to play:  
[Edit -better info]  
See bottom of the JSON wiki page:

> **[Aircoookie/WLED](https://github.com/Aircoookie/WLED/wiki/JSON-API)**
>
> Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi! - Aircoookie/WLED
