# Help in achieving the effect

**URL:** <https://wled.discourse.group/t/help-in-achieving-the-effect/12467>\
**Category:** Issues\
**Created:** [August 19, 2024, 1:08pm UTC](https://wled.discourse.group/t/help-in-achieving-the-effect/12467 "2024-08-19T13:08:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pako](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@pako](https://wled.discourse.group/u/pako)\
**Post date:** [August 19, 2024, 1:08pm UTC](https://wled.discourse.group/t/help-in-achieving-the-effect/12467/1 "2024-08-19T13:08:47Z")

</div>

Is there a ready project for the effect of running/flowing light?  
I searched on Google and people were looking for such an effect, I did not find a clear answer on how to handle it.  
I already have an ESP32 driver with WLED and I would like to get such an effect

[![](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/9/9d622c0db69ffe875b4cef82e91d06f8e565ff1c.jpeg "Sterownik korytarzowy LED - płynące światło cyfrowych taśm LED") ](https://www.youtube.com/watch?v=K04v-0CDDIU)

Thanks for your helpful suggestions

---

<div class="post-metadata">

**Author:** ![Magig\_Wled](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Magig\_Wled](https://wled.discourse.group/u/Magig_Wled)\
**Post date:** [August 19, 2024, 4:54pm UTC](https://wled.discourse.group/t/help-in-achieving-the-effect/12467/2 "2024-08-19T16:54:53Z")

</div>

hi @pako  
use 2segments left right  
make them chase  
make the time of preset as long to fill the Stripe  
then make preset for both Solid to make it Stop as long as you wand it to be FULL ON  
then use the Effect CHASE 2 with a Reverse Segments in first step  
preset time as long as you need to return from last led to first

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [August 19, 2024, 7:36pm UTC](https://wled.discourse.group/t/help-in-achieving-the-effect/12467/3 "2024-08-19T19:36:32Z")

</div>

(1) Create a Wipe preset with Fx color whatever color you want to wipe ON and the Bg color black.  
(2) Create a solid preset with the Fx color from the first preset above.  
(3) Create a preset with Fx color black and Bg color whatever Fx color you had in the above preset and set the segment to reverse direction.  
(4) Create an off preset or solid color black.

Create a playlist with the first entry as preset(1)  
Set it’s duration to however long you need it to run to fill your LEDs.

Next: Option 1 or 2:

Option 1: If you want the lights to stay ON until another trigger to turn them off:  
Add End preset(2)

Option 2: If you want the lights to wipe back OFF after set time:  
Add second preset(2) and set it’s duration  
Add third preset(3) and set it’s duration  
Add End preset(4).

If you chose Option 1 and now you want to wipe the lights back OFF with a new triggered event:

Create a New playlist  
Add preset(3) and set it’s duration  
Add End preset(4).

---

<div class="post-metadata">

**Author:** ![pako](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@pako](https://wled.discourse.group/u/pako)\
**Post date:** [November 11, 2024, 9:40am UTC](https://wled.discourse.group/t/help-in-achieving-the-effect/12467/4 "2024-11-11T09:40:50Z")

</div>

Hello again,  
I have a small problem with getting the effect, I have two playlists that work as I want.

I just don’t know how to set the trigger to change playlists with a button.

My controller is GLEDOPTO GL-C-309WL.

It has 2 GPIO outputs, which are factory-programmed as a pushbutton or switch.

How do I set this GPIO to change playlists?  
I hope it can be done 🙂

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [November 11, 2024, 7:47pm UTC](https://wled.discourse.group/t/help-in-achieving-the-effect/12467/5 "2024-11-11T19:47:04Z")

</div>

[https://www.reddit.com/r/WLED/comments/vvi78x/is\_there\_anyway\_to\_have\_a\_pushbutton\_cycle\_presets/](https://www.reddit.com/r/WLED/comments/vvi78x/is_there_anyway_to_have_a_pushbutton_cycle_presets/)

> [@Can a button cycle through playlists or just presets?](https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920/4):
>
> Is there an example available for a button to cycle through playlists? I have a button that when I long press, would like to cycle through playlists 100-105. I created a preset with API Command: P1=100&P2=105&PL=~ and assigned it in the macros section. When I select the preset or press the button, it selects Playlist 100, but when press again will not cycle to Playlist 101. It just keeps selecting Playlist 100.

{“ps”:“1~5~”} would cycle through presets 1 through 5

---

<div class="post-metadata">

**Author:** ![pako](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@pako](https://wled.discourse.group/u/pako)\
**Post date:** [November 11, 2024, 8:28pm UTC](https://wled.discourse.group/t/help-in-achieving-the-effect/12467/6 "2024-11-11T20:28:54Z")

</div>

I’ll check the preset settings for the pushbutton tomorrow. I hope the playlist is counted as a preset. I just have no idea how to set it so that each press switches between playlists. I’m left with the only option of a short or long press to turn it on and off? Do you have any ideas on how to handle it?

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [November 11, 2024, 9:18pm UTC](https://wled.discourse.group/t/help-in-achieving-the-effect/12467/7 "2024-11-11T21:18:25Z")

</div>

You would create a preset with {“ps”:“1~5~”} in the API box and set that preset to your button and when pressed it would cycle through presets 1-5 I believe.
