jackw01 / led-control

Advanced WS2812/SK6812 RGB/RGBW LED controller with on-the-fly Python animation programming, web code editor/control interface, 1D, 2D, and 3D display support, and E1.31 sACN support
https://jackw01.github.io/led-control/
MIT License
162 stars 35 forks source link

sACN input not processed unless an animated pattern is selected #60

Open ArcanoxDragon opened 4 months ago

ArcanoxDragon commented 4 months ago

I just spent 30 minutes trying to figure out why my lights weren't animating from the sACN data I'm sending from LedFx. If I changed any parameters of the lights within the led-control panel, it would update the pixels with the latest "snapshot" from LedFx, but they wouldn't animate on their own.

I accidentally fixed it while playing around with the local patterns in led-control...it seems like if a "static" pattern is chosen (like "Static Color", "Static White", etc), the data from sACN is not processed. An animated pattern needs to be selected (it doesn't seem to matter which one...I used "Hue Scan 1D") in order for the sACN data to properly animate the lights.

It doesn't seem like the local pattern should matter at all if sACN is in use...it was not even remotely clear why they randomly stopped working and then randomly started working again until I stumbled upon this discovery.

somethingbitme commented 1 week ago

Interesting find, thanks. I ran into the same issue and this saved me a lot of time troubleshooting.