1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED WLED & SK6812 - Can Turn On/Off, but Colors Don't Change/React

Discussion in 'Hardware Support' started by johndabeast, 21 January 2021.

  1. johndabeast

    johndabeast New Member

    Messages:
    2
    Hello all, so I'm having a problem with my setup reacting correctly. I am able to turn on and off my SK6812s, but they do not react to a test pattern or the video signal (which I can see if I preview the image). When enabling their instance, they only turn on to whatever color WLED was set to previously. I assumed there may have been an option to tell Hyperion that they're SK6812s, but I could not find anything anywhere besides if you're wiring up the LEDs to be directly connected to an RPi.

    As a test, I have both WS2812B and SK6812 LEDs hooked up, (NOT to each other, separate controllers.) Let me summarize the situation:

    Hyperbian installed on an RPi 4, 4 GB. Hyperion version 2.0.0-alpha.9

    5V 60A Mean Well power supply hooked up to two controllers (Dig-Quads with ESP32s), running WLED 0.11.1. Both controllers work exactly as expected when controlled through the WLED app. Colors, effects, dimming - all work perfectly.

    1 controller is setup for SK6812 LED strip, with 576 LEDs. (What I want to use with Hyperion.)
    1 controller is setup for WS2812B LED trip, with 60 LEDs. (My test strip to make sure I'm doing this correctly.)

    Both strips were added to Hyperion with 2 different instances, using the "wled" method, defining the IP addresses, and all the lights on the strips light up after defining the amount on the LED hardware tab.

    The WS2812B strip reacts as expected to the screen changes, test effects, turning on/off, etc.

    The SK6812 strip will only turn on and off via the "Remote Control" page on the site. Trying to set as a different color, change effects, etc. does nothing. Since they work perfect in WLED, I know it is an issue with Hyperion, and not a wiring issue. Additionally, since my WS2812B strip works as expected, I can narrow it down to the only difference - the type of LED strip.

    I'm hoping I'm just missing something simple, I'm so close to wrapping up this project and I cannot find anything that explains this behavior when searching on the forum and Google. Thank you for any assistance!

    I've attached the debug txt file as well.
     

    Attached Files:

  2. pclin

    pclin Active Member

    Messages:
    631
    Hardware:
    +nodeMCU/ESP8266
    WLED (UDP) supports only 490 LED's.

    regards pclin
     

    Attached Files:

    Last edited: 21 January 2021
    • Agree Agree x 1
  3. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    451
    Hardware:
    RPi3, 32/64bit
    @johndabeast You can find more background on the WLED website, too:

    https://github.com/Aircoookie/WLED/wiki/UDP-Realtime-Control

    Hyperion You can now use WLED with the popular Ambilight software Hyperion. Just configure Hyperion to use an UDP device with protocol 0 on port 19446! The maximum number of LEDs supported in this mode is 490. (WLED 0.8.0 and lower: 341)
    (Bearbeitet)

    Plus the rationale by WLED-Developer Aircoookie:
    Aircoookie Feb '20 Hi Maik, unfortunately the 490 LED is a hard limit. The reason is that the maximum amount of data that can be transmitted via a UDP frame at once is 1472 bytes (and we need 3 bytes data per LED). You could try to increase UDP_IN_MAXSIZE in wled07_notify.ino, maybe the 8266 (or at least ESP32) can handle larger UDP packets by reassembling the frames, but I wouldn’t count on it.

    You could build your own WLED or live with the limitation....
     
  4. pclin

    pclin Active Member

    Messages:
    631
    Hardware:
    +nodeMCU/ESP8266
    You can use 2 ESP with WLED and the corresponding LED layout.

    regards pclin
     
  5. johndabeast

    johndabeast New Member

    Messages:
    2
    I KNEW it was something simple and stupid I overlooked, gahhhh! Thank you so much, changing it to less than 490 makes it work!


    Lord-Grey, thank you for sharing this tidbit, you saved me the time of researching to see if that was changeable. I especially like that you included a statement from Aircookie himself.


    I was about to debate buying a bunch of 60 LED/m strips and delaying finishing this project even longer, and then you suggested this genius option. This is perfect, thank you!


    I appreciate all the thorough help from both of you. Can't wait to get this finished and calibrated.

    One last thing, @pclin, what did you mean for me to see by your screenshot? Are those the recommended WLED settings for use with Hyperion?
     
    Last edited: 22 January 2021
    • Like Like x 1