# Wipe off effect?!

**URL:** <https://wled.discourse.group/t/wipe-off-effect/5647>\
**Category:** Questions\
**Created:** [July 14, 2022, 7:58pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647 "2022-07-14T19:58:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 14, 2022, 7:58pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/1 "2022-07-14T19:58:33Z")

</div>

Hello,

i use a playlist with a wipe and than a solid effect with my Homeassistant.

 ![playlist_](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/1/184038c5cbaff6d1e519ff57f739d32602d3e4a1.jpeg)

```auto
{"playlist":{"ps":[14],"dur":[32],"transition":[7],"repeat":1,"r":false,"end":7},"on":true}

```

now i want that when my motion sensor has no motion anymore i must reverse or wipe off the wipe effect after the solid effect is executed in my playlist. not reverse the direction, reverse the wipe effect. he should shut down the led in the reverse direction

or gives any other possibilities?  
the problem is when i use reverse the stripe goes out and then reverse, but i want after the solid directly and then wipe off

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 14, 2022, 9:50pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/2 "2022-07-14T21:50:16Z")

</div>

Just played with this for someone else’s question.

For the segment reverse the direction.  
For the **effect** swap out the Foreground and Background colours.

Adding a “tb”:0 on the presets will make sure the effect always starts from the same place.

For me it works well with either Wipe or Sweep.  
Turning Mirror on in the segment can be pretty cool as well…

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 15, 2022, 6:06am UTC](https://wled.discourse.group/t/wipe-off-effect/5647/3 "2022-07-15T06:06:10Z")

</div>

> [@divsys](#):
>
> the **effect** swap out the Foreground and Background colours

> [@divsys](#):
>
> “tb”:0

i tried your suggestions, but i have a problem, this is my code

```auto
{"on":true,"tb":0,"bri":255,"transition":7,"mainseg":8,"seg":[{"id":0,"start":144,"stop":224,"grp":1,"spc":0,"of":0,"on":false,"frz":false,"bri":255,"cct":127,"n":"treppe_2ter","col":[[0,0,0],[0,0,0],[0,0,0]],"fx":0,"sx":215,"ix":178,"pal":0,"sel":false,"rev":false,"mi":false},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"id":8,"start":0,"stop":144,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"n":"treppe_1ster","col":[[255,243,236],[0,0,0],[0,0,0]],"fx":6,"sx":216,"ix":187,"pal":3,"sel":true,"rev":false,"mi":false},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}]}

```

the problem is the effect goes from top to bottom ON, but i want from top to Bottom OFF.

is this because i must swap the colors?  
this is my config for the colors.

how can i swap the colors? by doubleclick he makes the same as by singleclick

![shit](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/3/3fbb7de94fb0c00d2b6e3e42bccd2eb421e45071.jpeg)

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 15, 2022, 6:28am UTC](https://wled.discourse.group/t/wipe-off-effect/5647/4 "2022-07-15T06:28:54Z")

</div>

I just use Default for the palette.  
The colour choice I’m talking about is the set of 3 colour circles labelled “1”,“2”,“3” above the palette selection but below the colour sliders.  
For Sweep and Wipe, colour #1 choses the foreground (colour you’re changing **to** ) and #2 choses the background (colour you’re changing **from** ).  
So ON uses 1-White, 2-Black while OFF uses 1-Black, 2-White.

Here’s a JSON example of the ON preset:  
{“on”:true,“bri”:57,“transition”:0,“mainseg”:0,“seg”:[{“id”:0,“start”:0,“stop”:24,“grp”:1,“spc”:0,“of”:0,“on”:true,“frz”:false,“bri”:255,“cct”:127,“col”:[[255,255,255],[0,0,0],[0,0,0]],“fx”:3,“sx”:229,“ix”:12,“pal”:0,“sel”:true,“rev”:false,“mi”:false}]}

And the OFF preset:  
{“on”:true,“bri”:57,“transition”:0,“tb”:0,“mainseg”:0,“seg”:[{“id”:0,“start”:0,“stop”:24,“grp”:1,“spc”:0,“of”:0,“on”:true,“frz”:false,“bri”:255,“cct”:127,“col”:[[0,0,0,0],[255,255,255,0],[0,0,0,0]],“fx”:3,“sx”:229,“ix”:12,“pal”:0,“sel”:true,“rev”:true,“mi”:false}]}

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 15, 2022, 6:46am UTC](https://wled.discourse.group/t/wipe-off-effect/5647/5 "2022-07-15T06:46:43Z")

</div>

i tested it i choose for the first color black, and for color 2 white and 3 is black.

but now the leds only blink one time and stops.

{“on”:false,“tb”:0,“bri”:255,“transition”:7,“mainseg”:8,“seg”:[{“id”:0,“start”:0,“stop”:144,“grp”:1,“spc”:0,“of”:0,“on”:false,“frz”:false,“bri”:255,“cct”:127,“n”:“treppe\_2ter”,“col”:[[0,0,0],[0,0,0],[0,0,0]],“fx”:0,“sx”:215,“ix”:178,“pal”:0,“sel”:false,“rev”:false,“mi”:false},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“id”:8,“start”:0,“stop”:144,“grp”:1,“spc”:0,“of”:0,“on”:true,“frz”:false,“bri”:255,“cct”:127,“n”:“treppe\_1ster”,“col”:[[0,0,0],[255,255,255],[0,0,0]],“fx”:6,“sx”:98,“ix”:187,“pal”:0,“sel”:true,“rev”:true,“mi”:false},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 15, 2022, 6:59am UTC](https://wled.discourse.group/t/wipe-off-effect/5647/6 "2022-07-15T06:59:40Z")

</div>

Check your settings again.  
On one you’ve chosen Black-Black-Black (treppe\_2ter) and the other is Black-White-Black (treppe\_1ster).  
What version of WLED are you running Btw?

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 15, 2022, 7:19am UTC](https://wled.discourse.group/t/wipe-off-effect/5647/7 "2022-07-15T07:19:46Z")

</div>

i dont know why he added “treppe\_2ter” this is not selected in the UI. i only select “treppe\_1ster”.  
i have version 0.13

i reached a little goal, make a video for better understanding

> **[15. Juli 2022](https://www.youtube.com/shorts/OocnmSYB3_M?feature=share)**

the wipe works, then he changes to solid, thats correct to, and then he makes a second solid and than the sweep from top to bottom.

my config is that the wipe and the solid is in the first playlist, in the second playlist is a solid and the sweep.

you see in the video a blink when he changes from the first playlist to the second.  
i tried to add in the second playlist a solid before the sweep because i tried to remove the “blink”.

i need 2 playlists because i want to control it over my motion sensors.  
gives a elegant way Or do I have to live with it?

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 15, 2022, 7:34am UTC](https://wled.discourse.group/t/wipe-off-effect/5647/8 "2022-07-15T07:34:18Z")

</div>

Make sure you have a “tb”:0 entry in each preset.  
That makes the effect start from a fixed “timebase”, we like to think they start from “Zero” or no effect, but not always.

If you’re getting “odd stuff” in your playlists (like that treppe\_2ter entry), that’s a good sign you may have messed up a preset or playlist.  
Many times I’ve caused myself grief by playing around with a preset and getting close to what I want but it wouldn’t work right.  
Sometimes if you rebuild the preset from scratch it will “clean” some leftover settings you weren’t expecting.

The last thing you could try is a transition from playlist 1 to 2 so the “blink” is not as abrupt.

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 15, 2022, 3:22pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/9 "2022-07-15T15:22:06Z")

</div>

> [@divsys](#):
>
> if you rebuild the preset from scratch it will “clean” some leftover settin

okay i had it work, but then wled detelets all my presents, the work of 5 days is gone… thats really a bad joke

![shit](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/5adb774dc1fcb9128214d60e80bd69e0f7dd1457.jpeg)

i give up and search for another software, something like this must not happen!!!

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 16, 2022, 5:23am UTC](https://wled.discourse.group/t/wipe-off-effect/5647/10 "2022-07-16T05:23:36Z")

</div>

Yes that happens depending on the version you're running. I've found it's not usually completely fatal, that note about "a backup of the last known good state" is important.

If you click “Copy to the clipboard” then go to [http://my-wled-IP/edit](http://my-wled-IP/edit) and presets.json, you can paste it back to the presets and hit save.  
You may have to manually edit extra blanks out of the json string but it will give you your presets back.

If it’s too much trouble for you then by all means you can try and find something better.  
For me, WLED is still the most powerful piece of addressable LED software I’ve come across even with it’s warts.

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 16, 2022, 5:33pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/11 "2022-07-16T17:33:56Z")

</div>

I have reconsidered the whole thing a bit, maybe it was also my mistake, I will start again completely from scratch in peace. and then make a backup each time

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 16, 2022, 5:45pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/12 "2022-07-16T17:45:47Z")

</div>

Yah I’ve been there, when you put _ **hours** _ of effort in and something goes oooooops.  
`<sigh>`  
Hang in there, I promise you’ll learn more than just frustration, we’ll help where we can.

For me (and many others) this software has been worth the pain of bugs, especially compared with some of our personal efforts at try to do the same thing.

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 16, 2022, 6:49pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/13 "2022-07-16T18:49:30Z")

</div>

> [@pimp1310](#):
>
> “tb”:0,

okay i tried it but now the esp is gone. i added a present and saved it, than refreshed the page and the present was deletet again.

now the esp is completete dead over the UI, the led is on but no more…

okay i reflashed the esp32, wow that was a big surprise 😊

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 16, 2022, 8:40pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/15 "2022-07-16T20:40:17Z")

</div>

what is the best way to turn the leds off in a playlist ?

i tried a presents with a solid and all colors black but than the led go red and then off.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 16, 2022, 10:40pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/16 "2022-07-16T22:40:25Z")

</div>

I normally use solid all black and/or set “on”:false in JSON.  
For playlists, solid - Black is probably preferable.

When setting segment options and colours, you have to make sure the segment is checked on.  
After you’ve done a save, it’s often worthwhile to see what’s been saved in JSON data just to be sure.

Remember, go slow and take things one step at a time.  
I create my all my presets first and make sure they work manually one at a time in the order you think they’ll execute.  
Then try and combine them into an automatic playlist.

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 17, 2022, 10:49am UTC](https://wled.discourse.group/t/wipe-off-effect/5647/17 "2022-07-17T10:49:50Z")

</div>

ive tried it with solid black, and with on to false, but always he changes to red dann off.

 ![off](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/b/b63e9fd0559140a72125852e9aaaa3a116ce076e.jpeg)

i think it worked before the big crash, i dont know where now the problem is.

i found the problem i think, i had a effect blends with ocean color aktivated, when i now activate off, it goes from red to black.

when i now make a solid white and press off it works.

it has to do with the present with my blends and the color ocean. Have you perhaps a idea?

EDIT

Okay i found the right command

![off](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/d/d27ce6e9233e54f768984e49675e987dfa6a6a8d.jpeg)

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 17, 2022, 1:47pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/18 "2022-07-17T13:47:17Z")

</div>

okay now iam playing a litte bit with the possibilities but i think i reached the limit.

my idea was, every step a segment, than turn a sweep from example right to left, and then a solid effect and this from the top to the bottom step for step.

but this means i need for every step a playlist with the both effects correct? this means i must toogle the playlist in HA for every step, for example playlist1 wait 1 second playlist 2 wait 1 sec playlist 3.

i sure this kills my wled when i send every second or every 2 seconds a command.

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [July 17, 2022, 4:04pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/19 "2022-07-17T16:04:57Z")

</div>

There is a usermod for that.

---

<div class="post-metadata">

**Author:** ![pimp1310](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pimp1310/32/3317_2.png) [@pimp1310](https://wled.discourse.group/u/pimp1310)\
**Post date:** [July 17, 2022, 5:09pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/20 "2022-07-17T17:09:20Z")

</div>

Which one ?

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [July 17, 2022, 6:19pm UTC](https://wled.discourse.group/t/wipe-off-effect/5647/21 "2022-07-17T18:19:57Z")

</div>

animated staircase

[Next page](https://wled.discourse.group/t/wipe-off-effect/5647.md?page=2)
