feat: add SSAP driver for LG webOS TV control#3
Open
ha7rock wants to merge 1 commit into
Open
Conversation
- New SSAP protocol driver (drivers/ssap.py) using TLS WebSocket (port 3001) - Supports: power on/off (WOL), volume, mute, launch apps, list apps, play/pause, switch input, set volume, screenshot - Auto-pairing with client key persistence in ~/.lan-control/ssap_keys.json - Fire-and-forget mode for volume/playback commands - Updated lg-webos.yaml: default to TLS port 3001 (port 3000 ws unavailable on newer TVs) - Registered SSAP protocol in drivers/__init__.py - Added ssap_keys.json to .gitignore
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
Add SSAP protocol driver for controlling LG webOS TVs via WebSocket.
What's included
drivers/ssap.py— Full SSAP implementation over TLS WebSocket (port 3001)devices/tv/lg-webos.yaml— Updated default port to 3001 (TLS), newer TVs don't support plain WS on port 3000drivers/__init__.py— Registeredssapprotocol in driver registry.gitignore— Addedssap_keys.jsonFeatures
Tested on
Dependencies
websockets— for SSAP WebSocket connectionwakeonlan— for power on via WOL (optional)