I flashed my D1 with 0.9.0 ota, and hooked up some new lights today and couldn鈥檛 get them to the correct colors using the color orders in led configuration. Using xlights I was able to determine that they are bgr, but would rather control it in wled. Is there an easy fix? I鈥檓 still new to pixels, and esp8266, but I鈥檒l probably dive a little deeper into the coding this weekend anyway.
Hi!
Interesting how the manufacturers could agree on a protocol but not on the d**n order the colors are in! Will add BGR order to the color order list :)
Hi!
Interesting how the manufacturers could agree on a protocol but not on the d**n order the colors are in! Will add BGR order to the color order list :)
Yeah I was pretty surprised that that is a thing myself. Haha
Just make rgb lights rgb and we don鈥檛 have this problem!
Thanks for the quick reply!
Thanks a bunch for adding ALL possible combinations of RGB color sequences as an enhancement.
As I mentioned in #529, my Alitove WS2811 12V strip requires yet a different GBR sequence!
Sure looking forward to the update.
This is now part of latest master!
So dumb question sorry, do I just reflash with the same release? Thank you very much!
@mthorwart no, that won't work. The release is set and will never change.
You would need to download the latest source code and compile it yourself.
Therefore, here is a binary for the latest version which supports BGR: https://drive.google.com/open?id=1jEKJc6F8KCowfzbOMoItovhqqK7KZdW-
Thank you! Obviously I am still learning all of this, but I am enjoying the hell out of it.
Thanks again for getting this fixed so quickly
Just now updated the firmware with your 0.9.0-b2 binary - works great! Thanks so much for adding this expanded color sequence option.
BTW, it turns out my strips needed the BRG sequence, not GBR. The vendor for the strips had confirmed that they require a GBR sequence but apparently that is only true when they are connected to a different controller that uses MagicHome app (which I have gotten rid of and replaced them with ESP8266's & WLED!)
I also flashed a new chip this morning and everything looked good so far. Working on some soldering then I will hook up the lights for the real test. Thank you!
Flashed the new file to a nodemcu... while switching between effects at some point (while selecting the fireworks starburst effect) got a "TypeError: s.nl is undefined". I ignored it and could continue.
@raoulteeuwen oh, that sounds like we are potentially running out of memory (or have heap fragmentation)... How many LEDs were you using? (Fireworks starburst, as well as a number of other effects now dynamically allocate memory for saving stuff like particle positions and speeds)
@Aircoookie it's a short strip with 120 LEDs. Maybe me switching effects rapidly also played a role? In the 1st 0.9.0-version while switching effects rapidly, another, i believe TypeError, reported in some issue(s also pops up...