Repository navigation
feat: drive WLED Wi-Fi adapters over WebSocket - #2
Merged
Merged
Conversation
When the configured port is a host/IP instead of a /dev path, frames are sent as per-LED JSON over the WLED WebSocket (/ws) rather than serial. The vendor WLED firmware has every realtime UDP port closed (verified on hardware), so UDP DRGB/DDP/E1.31/Art-Net cannot work; the WebSocket is the only realtime path that does. - device.py: WebSocket transport alongside serial; effect that is running before connect is restored on close - cli.py: 'skydimo info' shows the link type - pyproject.toml, install.sh: add websockets>=12 dependency - README.md: document Wi-Fi setup; led_count must match the strip's real LED count - tests/test_core.py: unit tests for the transport Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Summary
portis a host/IP instead of a/devpath, frames are sent as per-LED JSON over the WLED WebSocket (/ws) instead of serial.skydimo infoshows the link type.websockets>=12dependency (pyproject.toml,install.sh).Why WebSocket and not UDP
The vendor WLED firmware has every realtime UDP port closed (verified on the device). UDP DRGB, DDP, E1.31 and Art-Net therefore cannot work against it. The WebSocket is the realtime path that does.
Test plan
Note for reviewers
led_countmust be set to the strip's real LED count. For this device that is 144.🤖 Generated with Claude Code