# DMX/e1.31 effect control

**URL:** <https://wled.discourse.group/t/dmx-e1-31-effect-control/3283>\
**Category:** Questions\
**Created:** [July 27, 2021, 9:22am UTC](https://wled.discourse.group/t/dmx-e1-31-effect-control/3283 "2021-07-27T09:22:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevefromNewcastlw](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@stevefromNewcastlw](https://wled.discourse.group/u/stevefromNewcastlw)\
**Post date:** [July 27, 2021, 9:22am UTC](https://wled.discourse.group/t/dmx-e1-31-effect-control/3283/1 "2021-07-27T09:22:40Z")

</div>

I have the dmx/e1.31 controlling wled’s effects and it is working great. I was wondering if there was a way to have wled stay on the effect it is on when it loses a dmx/e1.31 connection? Currently wled returns to a black state with no colours selected and the LEDs off.  
Thanks for any advice you can offer.  
Steve

---

<div class="post-metadata">

**Author:** ![henrygab](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/henrygab/32/1744_2.png) [@henrygab](https://wled.discourse.group/u/henrygab)\
**Post date:** [August 8, 2021, 10:37pm UTC](https://wled.discourse.group/t/dmx-e1-31-effect-control/3283/2 "2021-08-08T22:37:10Z")

</div>

Unfortunately, I do not believe there is such an option.

E1.31 / Art-Net / DDP / etc. are each real-time protocols. When there’s real-time data, WLED allows that to control the output. When the real-time protocol stops sending data for a time (default is 2.5 seconds), then WLED resumes control. This is the behavior of many devices supporting these protocols (ESPixelStick, WLED, and others).

Even if you adjust the code to keep the last data, it would only be a _ **static setting of the current colors for each pixel** _ … it would not be an “effect”.

If this is really what you want for your case, then search for the variable `realtimeTimeoutMs` and the function `realtimeLock()` in the code, and have fun.

Please be aware that (imho) the likelihood of such changes being accepted to the main fork are very low, as it’s an extreme edge case, and doesn’t match the behavior of existing devices.

---

<div class="post-metadata">

**Author:** ![mxklb](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/mxklb/32/4032_2.png) [@mxklb](https://wled.discourse.group/u/mxklb)\
**Post date:** [July 19, 2022, 8:28pm UTC](https://wled.discourse.group/t/dmx-e1-31-effect-control/3283/3 "2022-07-19T20:28:19Z")

</div>

I my point of view the “Timeout” can/should be used to configure this behavior as needed.

Check this issue: [DMX proxy does not work](https://wled.discourse.group/t/dmx-proxy-does-not-work/2963)
