-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set all channels simultanously in 5CH mode (AEGHB-551) #334
Comments
Hi @ninharp , i just ended my vacation, and I apologize for only seeing your question now. The driver treats CCT mode (displaying warm and cool light) and color mode (displaying colors like red, pink, etc.) as two mutually exclusive modes, which is why switching between lightbulb_set_hsv and lightbulb_set_cctb causes a mode change. Usually, CW (cold/warm white) LEDs are used for CCT mode, and RGB LEDs are used for color mode. Considering the need for mixing LED colors, I've made some attempts to support outputting color temperature using RGB+C LEDs in the LED_BEADS_5CH_RGBWW configuration, which requires setting up a mixing table at https://github.com/espressif/esp-iot-solution/blob/master/examples/lighting/lightbulb/main/app_main.c#L21C1-L21C30. I'm currently coding the color mixing configuration for LED_BEADS_5CH_RGBCW LEDs. If you have any other requirements, please let me know. |
Answers checklist.
General issue report
How is it possible to set in 5 channel mode (LED_BEADS_5CH_RGBCW) to set all channels simultanously?
If i tried to set it via a two command combination for example lightbulb_set_hsv and lightbulb_set_cctb it stays on the last command issued and in a loop it looks like flashing. In my case for example i need the colors still enabled.
As i can see from the code it always sets the color array to 0 and change only the according parts (color, white) and then the colors or white values will be written as 0 instead to keep it original.
The text was updated successfully, but these errors were encountered: