probonopd / ESP8266HueEmulator

Emulate a Philips Hue bridge running on an ESP8266 using the Arduino IDE.
MIT License
411 stars 93 forks source link

Incorrect colors #77

Open mtaram opened 7 years ago

mtaram commented 7 years ago

I recently did a fresh installation of everything, I am emulating just one light with 24 pixels.

All seems to work fine except the colors. What could be causing this issue? Any way I can fix it?

I am using wifimanager library to connect to a wifi network at initialization.

1 2 3 4 5 6 7

probonopd commented 7 years ago

Possibly you have a different type of strip. Which chicks does it use exactly?

mtaram commented 7 years ago

I am using WS2812B strips. I never noticed this earlier as I never tested it to the full extent. Is there some way I can fix it in code?

8

probonopd commented 7 years ago

Check https://github.com/Makuna/NeoPixelBus/wiki/NeoPixelBus-object#neo-features.

pecirep commented 7 years ago

I am having the same issues, using a strip that I tested with the Adafruit Neopixel library so I know that my strip's layout is the standard GRB.

mtaram commented 7 years ago

I went through the Neopixel features list. Also did a layout check. GRB is the one I have but however in the hue app when I try and set the colors manually the colors get messed up. I works fine for the scenes but not manually. (It starts with correct color mapping but slowly it goes out of sync) Just Green remains the same R and B are swapped or at least they seem to be and Neopixel doesnt have a GBR feature so I couldnt test that.