Skip to content
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

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

Open
1 task done
marcone opened this issue Mar 24, 2025 · 3 comments
Open
1 task done
Labels
bug confirmed The bug is reproducable and confirmed

Comments

@marcone
Copy link
Contributor

marcone commented Mar 24, 2025

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
@marcone marcone added the bug label Mar 24, 2025
@blazoncek
Copy link
Collaborator

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

@blazoncek blazoncek added cannot reproduce Developers are not able reproduce. Might be fixed already, or report is missing important details confirmed The bug is reproducable and confirmed and removed cannot reproduce Developers are not able reproduce. Might be fixed already, or report is missing important details labels Mar 25, 2025
@marcone
Copy link
Contributor Author

marcone commented Mar 25, 2025

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

@blazoncek
Copy link
Collaborator

Bug found.

blazoncek added a commit to blazoncek/WLED that referenced this issue Mar 25, 2025
- moved segment capabilities into state object (`state.seg[].lc`)
- deprecated `info.seglc` array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed The bug is reproducable and confirmed
Projects
None yet
Development

No branches or pull requests

2 participants