feat(tv): LG webOS route (Wake-on-LAN + SSAP over WebSocket) - #94
Draft
nextestudios wants to merge 5 commits into
Draft
nextestudios wants to merge 5 commits into
nextestudios wants to merge 5 commits into
Conversation
… / Android TV) Settings → TV: console mode wakes the TV and switches it to the PC's HDMI input before the display flow, and can put it in standby after the restore. First provider: Google TV / Android TV through ADB (port 5555), with a small in-process ADB client (auth with this PC's RSA key, shell key events), so nothing has to be installed on the PC. Optional Wake-on-LAN for TVs that drop off the network in standby, and a custom input command for TVs that ignore the HDMI key codes. A TV that doesn't answer is only logged. Refs lippdev#75 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Powers the TV on with Wake-on-LAN, pairs over ws://:3000 (falling back to wss://:3001 on newer firmware) with a minimal permission list, keeps the client key per TV, then switches to HDMI_n with ssap://tv/switchInput; standby uses ssap://system/turnOff. Refs lippdev#75 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 26, 2026
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
Second route for #75: LG webOS TVs (2014+), over the local network, nothing to install.
TvNetwork.ConnectAsyncretry loop from feat(tv): turn the TV on and switch input over the network (Google TV / Android TV) #93.registeroverws://host:3000, falling back towss://host:3001(newer firmware; self-signed certificate, so validation is off for that socket only, on the LAN address the user typed). The manifest asks only forCONTROL_POWER,CONTROL_INPUT_TV,READ_INPUT_DEVICE_LIST,READ_POWER_STATE(no signed manifest needed, like aiowebostv). Theclient-keythe TV returns is kept per TV in the data folder (webos-<ip>.key), so it prompts once.ssap://tv/switchInputwithHDMI_1-HDMI_4;ssap://system/turnOff.WebOsProtocol.cs, linked into the tests.docs/TESTING.md§3d, changelog under[Unreleased].Validation
WebOsProtocolTests(register payload with/without key, switchInput for each port, reply classification: prompt, registered, response, refused, error, garbage).dotnet testare left to CI.docs/TESTING.md§3d.🤖 Generated with Claude Code