# Sunrise effect: How to properly end/reset effect?

**URL:** <https://wled.discourse.group/t/sunrise-effect-how-to-properly-end-reset-effect/13183>\
**Category:** Issues\
**Created:** [November 5, 2024, 7:43am UTC](https://wled.discourse.group/t/sunrise-effect-how-to-properly-end-reset-effect/13183 "2024-11-05T07:43:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdmiralRaccoon](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/admiralraccoon/32/4233_2.png) [@AdmiralRaccoon](https://wled.discourse.group/u/AdmiralRaccoon)\
**Post date:** [November 5, 2024, 7:43am UTC](https://wled.discourse.group/t/sunrise-effect-how-to-properly-end-reset-effect/13183/1 "2024-11-05T07:43:38Z")

</div>

Good Morning,  
I have a issue with the sunrise effectf, as it looks like the effect uses the last state from the day before, meaning it turns on and is already in it´s final bright state.

Is there a way to gracefully turn off the effect, so it can restart the next day from the beginning?

I´m just using the effect with 5 Minutes duration and a width of 0, so it doesn´t get too bright, and the preset is called in the morning by Home Assistant, alongside other things:

> {“on”:true,“bri”:128,“transition”:7,“mainseg”:0,“seg”:[{“id”:0,“start”:0,“stop”:96,“grp”:1,“spc”:0,“of”:0,“on”:true,“frz”:false,“bri”:255,“cct”:127,“set”:0,“col”:[[0,0,0],[0,0,0],[0,0,0]],“fx”:104,“sx”:5,“ix”:0,“pal”:0,“c1”:128,“c2”:128,“c3”:16,“sel”:true,“rev”:false,“mi”:false,“o1”:false,“o2”:false,“o3”:false,“si”:0,“m12”: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},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0}]}

---

<div class="post-metadata">

**Author:** ![dedehai](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/dedehai/32/7265_2.png) [@dedehai](https://wled.discourse.group/u/dedehai)\
**Post date:** [November 7, 2024, 11:17am UTC](https://wled.discourse.group/t/sunrise-effect-how-to-properly-end-reset-effect/13183/2 "2024-11-07T11:17:58Z")

</div>

You can create a playlist, start up with a black preset, thenn call the effect.  
or maybe reset the timebase, try if it works if you add “tb”: 0 to the preset
