A command-line tool to control LG webOS TVs via WebSocket, supporting newer firmware with SSL.
LGWebOSRemote is a command-line remote control tool for LG webOS televisions. It connects to the TV via WebSocket (using port 3000 or 3001 with SSL) to send commands for power management, media playback, app launching, and system control. It solves the problem of controlling newer LG TVs where traditional REST-based methods on port 8080 are no longer available due to firmware updates.
Developers, home automation enthusiasts, and power users who want to script or automate control of their LG webOS TVs from a command line or within custom applications.
Developers choose LGWebOSRemote because it supports modern LG TV firmware with SSL, offers a comprehensive set of commands, and is community-tested across a wide range of TV models. It provides a reliable, scriptable alternative to proprietary apps or unsupported methods.
Command line webOS remote for LGTVs
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses WebSocket on ports 3000/3001 with SSL, specifically working on newer LG TVs where older REST methods on port 8080 are blocked, as stated in the README.
Supports a wide range of functions from power management to app control, with commands like 'on', 'off', 'openApp', and 'sendButton' listed in the README.
Maintained with user contributions, with a tested model list including various OLED and UHD models, ensuring broad compatibility and ongoing debugging.
Includes a 'scan' feature to automatically find LG TVs on the local network, simplifying initial setup and authentication.
Requires SSL for newer firmware, connecting to port 3001, which can complicate setup if users face certificate issues or network configuration challenges.
The README lists TODOs like 'closeToast' and 'getSystemSettings', indicating missing functionalities that might be needed for comprehensive TV control.
Each TV requires on-screen pairing during authentication, which interrupts automation and adds a manual step before full control can be achieved.