Skip to content

"Auto-calculate W channel from RGB" appears to be ignored for last output #4610

Closed

Description

@marcone

What happened?

The value of the "Auto-calculate W channel from RGB" options for each of the defined outputs determines whether the "Colors" tab shows a color wheel or not, but it appears this is ignored for the last output in the segment.

To Reproduce Bug

  • define 4 "PWM White" outputs
  • set the "Auto-calculate W channel from RGB" option for the first output to "Max", and for the other 3 outputs to "None"
  • save and go back to the Colors tab, and note that the color wheel is shown, as expected.

But if instead of the first one, you set the LAST one to Max, then the color wheel is NOT shown.

Expected Behavior

Since all of the outputs are in the same segment, it shouldn't matter which output has the "Auto-calculate W channel from RGB" set to "Max". If any one of them has it set that way, the color wheel should be shown.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.15.0 (build 2412100)

Which microcontroller/board are you seeing the problem on?

ESP8266

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. blazoncek commented on Mar 25, 2025

    @blazoncek
    Contributor

    Please provide JSON status & info message from WLED for different configuration. Use your browser for that, developer tools, network tab.

  2. added
    cannot reproduce
    confirmed
    and removed
    cannot reproduce
    on Mar 25, 2025
  3. marcone commented on Mar 25, 2025

    @marcone
    ContributorAuthor

    Not sure what exactly you mean by "JSON status & info messages", but I've attached the response for /json/si after setting it to Max/None/None/None (which shows the color wheel), and after setting it to None/None/None/Max (which does not show the color wheel).
    All 4 outputs work either way, but the UI is different for those two cases.

    max-none-none-none.txt

    none-none-none-max.txt

  4. blazoncek commented on Mar 25, 2025

    @blazoncek
    Contributor

    Bug found.

  5. added a commit that references this issue on Mar 25, 2025
  6. added a commit that references this issue on Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions