Skip to content

LEDs static color, refactor updates#126

Merged
SpComb merged 55 commits into
masterfrom
leds-static-color
Jul 4, 2026
Merged

LEDs static color, refactor updates#126
SpComb merged 55 commits into
masterfrom
leds-static-color

Conversation

@SpComb

@SpComb SpComb commented Jun 9, 2026

Copy link
Copy Markdown
Member

New LEDs static mode to set a static color at boot, or at runtime via CLI/web.

New config color type, using web <input type="color">.

Config static_enabled + static_color to set static output color at boot.

CLI leds static to change static color at runtime.

Web LEDS view static color control using POST /api/leds/static, optional Save button to update config and persist across boots.

Remove leds TEST_MODE_BLACK, fix leds test logic to reliably clear on TEST_MODE_NONE.

Refactor leds test vs artnet state relationships using new enum leds_update_state to update test, artnet state across transitions.

Add mutex locking to struct leds_state for the leds task vs cli/http updates, using a new start_leds_update() / end_leds_update() scheme.

@SpComb
SpComb marked this pull request as ready for review June 13, 2026 17:36
@SpComb SpComb changed the title LEDs static color LEDs static color, refactor updates Jun 17, 2026
@SpComb
SpComb merged commit 883ba8d into master Jul 4, 2026
2 of 3 checks passed
@SpComb
SpComb deleted the leds-static-color branch July 4, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant