home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.19k stars 30.22k forks source link

Cannot add WLED because it supposedly uses CCT #101029

Closed bennop closed 2 months ago

bennop commented 1 year ago

The problem

When trying to add a new WLED integration I get an error message telling me "This WLED device uses CCT channels, which is not supported by this integration".

This is definitely not the case. I verified through the direct interface that the LED choice is WS281x with GRB color order.

Any assistance on getting over this hurdle will be appreciated.

What version of Home Assistant Core has the issue?

core-2023.9.3

What was the last working version of Home Assistant Core?

started trying with 2023.9.2 - never worked

What type of installation are you running?

Home Assistant OS

Integration causing the issue

WLED

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Started trying with Core 2023.9.2, then again with the current 2023.9.3.
Same situation, never worked.

Additional information

No response

home-assistant[bot] commented 1 year 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!

Code owner commands Code owners of `wled` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign wled` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


wled documentation wled source (message by IssueLinks)

DjordjeMandic commented 1 year ago

⚠ "Compatibility notice"

WLED devices are not supported by Home Assistant 2022.2 or later if a CCT bus is configured or `White Balance Correction` is enabled.  

We hope to resolve this issue as soon as possible. As a temporary workaround you can enable the option `Calculate CCT from RGB` in LED settings.

https://kno.wled.ge/advanced/home-automation/

Sadly im really sad cuz of this. I had idea for really nice living room controller that will have SK6812RGBNW + SK6812WWA + one classic analog CCT led strip. Final goal is to have 3 light entities in HA. One normal for SK6812RGBNW, one for analog cct just like cwww component from esphome and one same like cwww from esphome but for digital adressable SK6812WWA with animation support. Would love to get that implemented together with UI support for SK6812WWA

bennop commented 1 year ago

Thank you for that feedback - and, of course all your efforts to make this work! Hadn’t seen this limitation before.

However, as I had tried to explain, I don’t see where I would have set up a CCT bus (or WBC) - I have set the strip for an RGB (actually GRB)-type WS2812. I do have the recommended “gamma-correction for color” ticked, though.

I’d appreciate if you could point me to where to look for those settings I could try fixing that.

Thanks,

Benno

PS: On a loosely related topic: I recently got one of those WWA strips, too - those are not yet connected but would like to soon … how do you set them up in WLED?

On 29. Sep 2023, at 09:54, Djordje @.***> wrote:

⚠ "Compatibility notice"

WLED devices are not supported by Home Assistant 2022.2 or later if a CCT bus is configured or White Balance Correction is enabled.

We hope to resolve this issue as soon as possible. As a temporary workaround you can enable the option Calculate CCT from RGB in LED settings. https://kno.wled.ge/advanced/home-automation/ https://kno.wled.ge/advanced/home-automation/ Sadly im really sad cuz of this. I had idea for really nice living room controller that will have SK6812RGBNW + SK6812WWA + one classic analog CCT led strip. Final goal is to have 3 light entities in HA. One normal for SK6812RGBNW, one for analog cct just like cwww component from esphome and one same like cwww from esphome but for digital adressable SK6812WWA with animation support.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/101029#issuecomment-1740466527, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNFDNNOL3TCEPKISAPO5MLX4Z5CZANCNFSM6AAAAAA5KCYWNA. You are receiving this because you authored the thread.

DjordjeMandic commented 1 year ago

Try enabling calculating cct from rgb. It might help. I don't know how it is implemented and why it's throwing that error. It's best to wait for response from devs.

About WWA adressable strip, it works fine but you can only use it as adressable rgb strip. Colors are mapped in same 24bit format with 8 bit per color but i dont know in which order. Bad thing is that UI does not support WWA adressable strip (for example you dont have UI option to control color temperature for WWA adressable strip). It's explained in documentation at https://kno.wled.ge/features/cct/

Since as of the release of version 0.13.0 no adjustable CCT addressable LEDs are supported*, this only applies to PWM analog LED outputs.

*SK6812 WWA (with 3 channels, warm white, cold white and amber) are supported, but treated as if RGB using the WS281x bus type. White spectrum support for this LED type will be added at a later point.

It's planned but probably not a priority. I guess we will have to wait for HA to implement CCT WLED device. Until then there would probably be no progress for WWA UI support. https://github.com/Aircoookie/WLED/issues/552

bennop commented 1 year ago

“Solved” - at least I can now register the device :)

I looked for all settings that could relate to CCT/White balance and unticked the setting

White management > White Balance correction

After that modification everything worked as expected.

Thank you pointing me in the right direction!

Benno

On 29. Sep 2023, at 15:29, Djordje @.***> wrote:

Try enabling calculating cct from rgb. It might help. I don't know how it is implemented and why it's throwing that error. It's best to wait for response from devs.

About WWA adressable strip, it works fine but you can only use it as adressable rgb strip. Colors are mapped in same 24bit format with 8 bit per color but i dont know in which order. Bad thing is that UI does not support WWA adressable strip (for example you dont have UI option to control color temperature for WWA adressable strip). It's explained in documentation at https://kno.wled.ge/features/cct/ https://kno.wled.ge/features/cct/ Since as of the release of version 0.13.0 no adjustable CCT addressable LEDs are supported*, this only applies to PWM analog LED outputs.

*SK6812 WWA (with 3 channels, warm white, cold white and amber) are supported, but treated as if RGB using the WS281x bus type. White spectrum support for this LED type will be added at a later point. It's planned but probably not a priority. I guess we will have to wait for HA to implement CCT WLED device. Until then there would probably be no progress for WWA UI support. Aircoookie/WLED#552 https://github.com/Aircoookie/WLED/issues/552 — Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/101029#issuecomment-1740899426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNFDNLR3XSDOSBGDQTXA5TX43EJ3ANCNFSM6AAAAAA5KCYWNA. You are receiving this because you authored the thread.

Chrisco93 commented 11 months ago

“Solved” - at least I can now register the device :) I looked for all settings that could relate to CCT/White balance and unticked the setting White management > White Balance correction After that modification everything worked as expected. Thank you pointing me in the right direction! Benno

This also fixed my issue. I unchecked "White Balance correction" under LED and Hardware configuration page.

issue-triage-workflows[bot] commented 8 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

bccranston commented 8 months ago

I cannot seem to get the work around to work, I have an sk6812rgbw strip connected to a dig2go controller with 0.14.0-b1. I unchecked the white balance correction and still cannot add the strip. What should I have "auto-calculate white channel from RGB:"? I have Calculate CCT from RGB turned on. Any help would be appreciated.

EDIT: I figured it out, I just had to reboot my wled instance for some reason...

DjordjeMandic commented 6 months ago

I wonder if CCT support is gonna be implemented soon. This has some work done but still that's not it.

R3Cardoso commented 6 months ago

I wonder if CCT support is gonna be implemented soon. This has some work done but still that's not it.

That only does a convertion of color_temp to rgb color. is not really a color_temp mode.

u20p17 commented 4 months ago

would also love to use my WS2805 strips (RGBCCT) in home assistant :D 👍

arjanhagedoorn commented 4 months ago

would also love to use my WS2805 strips (RGBCCT) in home assistant :D 👍

same here, now that WLED has the WS2805 support since the latest beta.

R3Cardoso commented 4 months ago

There was already beta support for 1/2 months.... There is support for other cct strips on wled for much more time, but no for wled intregation on ha. This look like is something no one cares.

u20p17 commented 4 months ago

frenck is working on the python-wled repository for support CCT. when he finishes there it can be also integrated into the homeassistant integration.

elkreto666 commented 4 months ago

I turned off "White Balance correction" and it's working now.

bjornmorsman commented 3 months ago

When will the ha integration be ready be ready to support cct?

ugorur commented 2 months ago

When will the ha integration be ready be ready to support cct?

chester512 commented 2 months ago

Still having this issue after updating to 2024.7.3. Just tried to add WLED w/ 2805 strips: "This WLED device uses CCT channels, which is not supported by this integration"

frenck commented 2 months ago

@chester512 makes aense, it isn't part of 2024.7.3. When in doubt, check the release notes, they are update for each patch release as well.

The code change that closed this issue is scheduled for the 2024.8 release.

../Frenck

rikkwebreg commented 2 months ago

Hello Frenck, Is should work to integrate this release (19.2/3) on the current HA 2024.7 using home assistant terminal and the command "pip wled install" ? I did it, without seeing any differences and the possibility to integrate CCT Wled. Thank you!

ugorur commented 2 months ago

you can use this method https://www.home-assistant.io/common-tasks/core/#running-a-development-version`pip3 install --upgrade @. `Sent from my Galaxy -------- Original message --------From: rikkwebreg @.> Date: 7/20/24 20:17 (GMT+03:00) To: home-assistant/core @.> Cc: Umurcan Gorur @.>, Comment @.***> Subject: Re: [home-assistant/core] Cannot add WLED because it supposedly uses CCT (Issue #101029) Hello Frenck, Is should work to integrate this release (19.2/3) on the current HA 2024.7 using home assistant terminal and the command "pip wled install" ? I did it, without seeing any differences and the possibility to integrate CCT Wled. Thank you!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

frenck commented 2 months ago

Hello Frenck, Is should work to integrate this release (19.2/3) on the current HA 2024.7 using home assistant terminal and the command "pip wled install" ? I did it, without seeing any differences and the possibility to integrate CCT Wled. Thank you!

As mentioned above, it is targeted for release with Home Assistant 2024.8

../Frenck

frenck commented 2 months ago

you can use this method home-assistant.io/common-tasks/core install --upgrade

That is not correct, as 2024.8 hasn't been released yet. It it scheduled for the first Wednesday of September.