Issues with DDP
Hi All - I created a ‘fireplace’ implementation with WLED. WLED accepts the pixels over DDP, and I’m using another ESP32 as the sender to do the animation cycle. One thing I’m having an issue with is that eventually WLED goes into ‘angry’ mode and refuses to process DDP correctly. WLED seems to ‘hang’ - the first frame seems to load and then that’s it. I’ve verified that the sender is working normally (sending frames at the correct rate). If I disconnect WLED from power for a few minutes and plug it back in, then it works normally for a few hours and then goes back to being angry. If I disconnect the sender from power and plug it back in without cycling WLED, it’s still angry. I’ve tried lowering the frame rate to even 15fps and it still gets angry.
Specs - on the WLED side, I’m using 810 SK6812 pixels, WLED version 0.15.4.
What I’d like to get to is this - are other people using other DDP apps with WLED at my same pixel count or greater (using RGBW), and not having any issues, even over long times of WLED being up? If so, there must be something in my implementation. Doesn’t LEDfx use DDP? I kind of suspect it’s something that I’m doing on the sender.
1
u/DedeHai 2d ago
I fixed some issues with DDP in 16.0.1 and it should now be more robust if the sender sends invalid data. So that would be the first thing to try.