Open ccm19931993 opened 2 months ago
Hey there @frenck, mind taking a look at this issue as it has been labeled with an integration (wled
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
wled documentation wled source (message by IssueLinks)
Same issue here with the Ericsity wled controller and ws2805 rgbcct Installed version:WLED 0.15.0-b4 ESP32_audioreactive Can't get only cw or ww to work with HA. You turn down Color brightness to 0 the whole strip goes off, then turn up white level to 100 nothing happens turn color to 100 and white to 100 then turn off color turn both off color and white. In Wled app it works as expected.
This is likely caused by the fact Home Assistant doesn't have a notion of RGBCCT. The light "work", but we won't be able to replicate the same functionality as seen in WLED itself into Home Assistant.
Can you provide a diagnostic dump of this specific device and attach it to this issue?
Thanks! 👍
../Frenck
/Frenck
I have attached the Info.
Thank You
Can you please attach it? Instead of copy and pasting the contents?
This is exactly what I was referring to in my PR (https://github.com/home-assistant/core/pull/123477)
I understand that in HA a light cannot be in two different color modes (RGB and COLOR_TEMP) at the same time (@frenck is that correct?)
So how cloud this be addressed? Maybe adding a new, specific, color mode (RGBCCT)?
@frenck Was just wondering , im not a coding expert, but curious on your thoughts as it relates to the RGBWW command in Home Assistant. Could that not be used to tell WLED to turn on all 5 channels. The RGBW part works fine, the Red , Green , Blue Warm White Function Correctly. Why cant we tell WLED to turn on the other "W" for the Cold White. (Of coarse im talking analog) Were just one W away Lol. Thanks
@frenck any chance you could take a look?
Not anytime soon; I'm traveling with my fam for a few weeks.
@frenck enjoy your vacation!!! 😃
I believe this is the same problem I am experiencing with Home Assistant not displaying the correct colour and brightness settings when using an analogue RGBCCT strip.
I set the colour in HA and it changes the colour in WLED and on the strip, but HA immediately (within a second) reverts back to a warm white. WLED and the strip do not change, meaning what is displayed in HA is incorrect. Likewise, changing the Colour Brightness or White Brightness from within HA changes in WLED and the strip, but the HA interface reverts back to 100% Colour Brightness and 50% White Brightness while the settings prevail in WLED, again meaning the values in HA are incorrect.
However, I think I may have found an albiet clunky workaround to this problem. What I have done is set two LED Outputs up and ticked the "Make a segment for each output" checkbox. I then renamed the Segments in the main control page and can now operate these as two separate light sources (i.e. a CCT one and an RGB one) and one master correctly in Home Assistant. It might need a couple of automations to deal with switching one light source off when the other turns on if you don't want CCT and RGB to be on at the same time, but that's simple enough to do. Not ideal, but it seems to work and maybe until Home Assistant can deal with RGBCCT natively it could create two separate light sources when it's RGBCCT automatically?
Unfortunately the workaround is not possible for digital RGBCCT strips becouse there is only on output for this kind of strips
Inviato da Outlook per Androidhttps://aka.ms/AAb9ysg
From: Robert Wigley @.> Sent: Thursday, September 26, 2024 7:09:47 PM To: home-assistant/core @.> Cc: Stefano Semeraro @.>; Comment @.> Subject: Re: [home-assistant/core] Wled Intergration, RGBCCT not working correctly. (Analog RGBCCT Strip) (Issue #123614)
I believe this is the same problem I am experiencing with Home Assistant not displaying the correct colour and brightness settings when using an analogue RGBCCT strip.
I set the colour in HA and it changes the colour in WLED and on the strip, but HA immediately (within a second) reverts back to a warm white. WLED and the strip do not change, meaning what is displayed in HA is incorrect. Likewise, changing the Colour Brightness or White Brightness from within HA changes in WLED and the strip, but the HA interface reverts back to 100% Colour Brightness and 50% White Brightness while the settings prevail in WLED, again meaning the values in HA are incorrect.
Home.Assistant.States.png (view on web)https://github.com/user-attachments/assets/2c95b661-5a70-4c99-bcad-261046d83b68
WLED.States.png (view on web)https://github.com/user-attachments/assets/97bb17db-929d-4de9-947f-9b294a573333
However, I think I may have found an albiet clunky workaround to this problem. What I have done is set two LED Outputs up and ticked the "Make a segment for each output" checkbox. I then renamed the Segments in the main control page and can now operate these as two separate light sources (i.e. a CCT one and an RGB one) and one master correctly in Home Assistant. Not ideal, but it seems to work and maybe until Home Assistant can deal with RGBCCT natively it could create two separate light sources when it's RGBCCT automatically?
WLED.Setup.png (view on web)https://github.com/user-attachments/assets/40043dc8-b769-4460-b971-3c0901596d90
WLED.Segments.png (view on web)https://github.com/user-attachments/assets/3d1900ac-1809-4849-8ff8-145d135371fe
— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/123614#issuecomment-2377499944, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGK2NI2TYBA77Q33S7XGB3ZYQ5VXAVCNFSM6AAAAABMLADYU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZXGQ4TSOJUGQ. You are receiving this because you commented.Message ID: @.***>
@frenck I hope you enjoyed holidays! Do you think you can have a look at RGBCCT in home assistant for wled? Thx
It seems like it's almost working correctly? The color wheel correctly updates the RGB color in WLED, and the temperature slider correctly updates the white balance in WLED. The only things not working from the HA UI are the "Color brightness" and "White brightness" sliders. They don't correctly adjust the corresponding sliders in WLED.
Anyway, in case it's useful to anyone, I did get my analog RGBCCT light strip working with esphome. I'm using a QuinLED-An-Penta so your GPIO may vary.
I am not sure if this helps, but I have recorded a screen grab of this behavior. The happens with my Athom RGB+CCT bulb and Analog RGBWW light strips as well.
https://github.com/user-attachments/assets/04687f4a-2e93-4200-a97b-a4b82a7630b7
The problem
Using the color wheel in Home Assistant, when choosing a color there is no issue, the strip goes to that corresponding color, but the bubble in the wheel goes from the color chosen to the middle (which would be white) on its own. But the color chosen does not change. In this situation going to the Warm White, Cold White slider does not turn on the WW or CW leds.
Now if you move the White Brightness to 51 from the default 50. then the Warm White, Cold White slider functions as expected. If you then chose another color the Warm White, Cold White slider does not function again.
Also when sending a rgbww command in dev tools the cold white does not turn on. for instance: [0,0,0,255,0] The WW led comes on [0,0,0,0,255] The CW led does not come on
Everything works correctly in the WLED App.
diagnostic dump of controller: config_entry-wled-01J4ZE40PSPX6RHWS7T84RRH0P.json
Hope all that makes sense
What version of Home Assistant Core has the issue?
2024.8.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
WLED
Link to integration documentation on our website
https://www.home-assistant.io/integrations/wled
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Wled Controller: Athom WLED RGBCCT Analog and Digital Light Strip Controller
WLED version : 0.14.4