Repository navigation
feat(web): set up the WLED Strip from Settings - #35
Merged
Merged
Conversation
The Strip could only be set up by hand in lueur.json. Settings now has a Lights switch, Philips Hue or WLED strip; the WLED step: - finds controllers on the network (mDNS `_wled._tcp`), or checks a typed address, and reads the controller's name and LED count (`/json/info`); - edits the Layout: start corner, direction, LEDs per side, with the total compared to the LEDs set up in WLED; - draws the Strip around the TV with LED 0 and the direction marked, then, once saved, live colors, a LED that blinks when clicked, and the rainbow. The Now and Look pages draw the Strip the same way instead of 135 Hue dots. Switching back to Hue forgets the controller and keeps the Layout. API: `GET /api/wled/discover`, `GET /api/wled/info?host=`. Refs #31 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MqWWDYFwNv4NMRRJyLea93
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Until now, the WLED Strip could only be set up by hand in
lueur.json.What changes
/json/info.GET /api/wled/discoverandGET /api/wled/info?host=.Checked
I checked it locally against a fake WLED controller (HTTP
/json/infoand a UDP listener on the DDP port):left: 35 → 30;cargo testandtscpass.Refs #31
Generated by Claude Code