# Diguno ESP32 lags with XLights

**URL:** <https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079>\
**Category:** Questions\
**Created:** [June 22, 2021, 8:51pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079 "2021-06-22T20:51:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhconcepts](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/rhconcepts/32/1650_2.png) [@rhconcepts](https://wled.discourse.group/u/rhconcepts)\
**Post date:** [June 22, 2021, 8:51pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/1 "2021-06-22T20:51:18Z")

</div>

Last night was my first test with xlights. All the lights are moving to the music but 2 of my new diguno boards lag real bad. Wifi to the boards is around -65 but in the wled app I see 0fps but I see that on all of them is that ok? How can I make this better and is a falcon controller way better?

---

<div class="post-metadata">

**Author:** ![huggy-d1](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/huggy-d1/32/51_2.png) [@huggy-d1](https://wled.discourse.group/u/huggy-d1)\
**Post date:** [June 22, 2021, 10:22pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/2 "2021-06-22T22:22:39Z")

</div>

I think WLED has to be in control for the fps to be calculated. You can test that theory by simply turning off E1.31 and check the fps, then turn E1.31 back on (with xLights not actually sending anything).

If you got the board from @Quindor, ask him for suggestions for improving signal strength. If you have an ESP32 with external antenna option, get an external antenna and try to place the antenna 100cm away from the board to see if the signal strength and xLights performance improves.

If you did not get the esp32 from @Quindor, your ESP32 antenna connection may not be making great contact, or could have a crack in the PCB around the antenna. There are many ESP32 knock-offs that I tend to think of as the ESP32’s that Espressif scrapped for signal strength but otherwise generally booted ok. Probably not true, but that’s how I think about them.

---

<div class="post-metadata">

**Author:** ![Quindor](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/quindor/32/59_2.png) [@Quindor](https://wled.discourse.group/u/Quindor)\
**Post date:** [June 22, 2021, 11:35pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/3 "2021-06-22T23:35:07Z")

</div>

Yes, doing it over WiFi will make it very WiFi situation dependant, for instance disabling deep sleep IN WLED is often a good first test to take.

Then, test with a strip on your desk and see how it does. If that works fine, but out in the garden or wherever you are using it, it doesn’t, then indeed it’s likely WiFi range related.

External antenna version can help with that or, very soon available, the Ethernet version of the QuinLED-ESP32. Then you can stream 1200+ LEDs without any issue (from my testing).

---

<div class="post-metadata">

**Author:** ![rhconcepts](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/rhconcepts/32/1650_2.png) [@rhconcepts](https://wled.discourse.group/u/rhconcepts)\
**Post date:** [June 23, 2021, 1:12am UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/4 "2021-06-23T01:12:55Z")

</div>

Thanks, Quindor. I placed an external antenna unit last week. I forgot about the Wifi sleep so I’ll try that. Would multicast help? Someone said it fixes alot of lag. It would be cool if you could make the new ones POE. 🙂

SWEET its all working great. I turned off the wifi sleep and turned on multicast not sure if that did anything.  
But now the last 5 leds in the string are not showing up while playing xlights but they work fine in wled.

---

<div class="post-metadata">

**Author:** ![huggy-d1](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/huggy-d1/32/51_2.png) [@huggy-d1](https://wled.discourse.group/u/huggy-d1)\
**Post date:** [June 23, 2021, 2:44pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/5 "2021-06-23T14:44:28Z")

</div>

How many LEDs? Is xLights hitting the right start/stop points?

---

<div class="post-metadata">

**Author:** ![rhconcepts](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/rhconcepts/32/1650_2.png) [@rhconcepts](https://wled.discourse.group/u/rhconcepts)\
**Post date:** [June 23, 2021, 5:44pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/6 "2021-06-23T17:44:47Z")

</div>

It’s only 55 lights and it’s missing the last five at the end. I have it set on its own universe. the biggest string I have is 76 lights for my garage door, that one is fine.

---

<div class="post-metadata">

**Author:** ![huggy-d1](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/huggy-d1/32/51_2.png) [@huggy-d1](https://wled.discourse.group/u/huggy-d1)\
**Post date:** [June 23, 2021, 5:48pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/7 "2021-06-23T17:48:37Z")

</div>

If you change (for testing) WLED to 60 LEDs and xLights to 60, does that suddenly start working for xLights?

---

<div class="post-metadata">

**Author:** ![rhconcepts](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/rhconcepts/32/1650_2.png) [@rhconcepts](https://wled.discourse.group/u/rhconcepts)\
**Post date:** [June 23, 2021, 6:45pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/8 "2021-06-23T18:45:32Z")

</div>

Well, it’s all fixed. Last night I deleted the polyline that makes up the window and remade it. Then I also removed the multicast in wled because it seemed fine without it on before. I just tried it before doing what you recommended and it’s all good.  
Here is the link to my first song 🙂 [My First Display](https://youtu.be/wRiBeWhoPJQ)

---

<div class="post-metadata">

**Author:** ![huggy-d1](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/huggy-d1/32/51_2.png) [@huggy-d1](https://wled.discourse.group/u/huggy-d1)\
**Post date:** [June 23, 2021, 10:41pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/9 "2021-06-23T22:41:15Z")

</div>

That’s great! Glad you got it figured out.

---

<div class="post-metadata">

**Author:** ![Quindor](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/quindor/32/59_2.png) [@Quindor](https://wled.discourse.group/u/Quindor)\
**Post date:** [June 29, 2021, 10:12pm UTC](https://wled.discourse.group/t/diguno-esp32-lags-with-xlights/3079/10 "2021-06-29T22:12:50Z")

</div>

Awesome that it’s all working now! Ethernet is coming very soon and POE is a very simple add-on, especially if you are only running a few lights per board like you are: [Can you run LEDs over POE? - quinled.info](https://quinled.info/2021/04/24/can-you-run-leds-over-poe/)

So no need for a POE board, if you want it you can add it on for a few bucks! 😃
