I was setting up the new GOVEE Outdoor Permanent Lights 2 (WS2814A Chip, physically confirmed) last night and really got confused with the Color Order/Swap behaviour.
So what works is Color Order BGR, Swap G&W
However, this makes no sense because
Selecting BGR with no swap has G and R working correctly, it is Blue swapped with White at that stage, but you need to swap G/W in WLED for it to work correctly.
This is surely incorrect?
The chip datasheet says the order is RGBW (sent in that order, high byte first)… so even if I presume some endian order on WLEDs behalf, I can’t figure out any context which explains the behaviour.
As an aside, maybe the color order/swap fields could be deprecated and instead just have a number of drop downs for ‘order’ instead, the number of drop downs and the options could be dynamically set according to the chip selected…
e.g. if you select SK6812/WS2814, you would get 4 drop downs (labelled 1,2,3,4) under a heading ‘order’ and each drop down will have R,G,B,W as an option, prefilled with 1 = R, 2 = G, 3 = B, 4 = W which matches the datasheet…
This means that through simple logic, you can set the colour to Red, if that physically appears blue, then you go to the Order 1 drop down and change it from Red to Blue… this would give a simple process for people to deal with non-default configurations with minimal logic required.