https://github.com/eze-kiel/lg-tv-command-line-interface
Communicate with LG television via TCP/IP in command line
https://github.com/eze-kiel/lg-tv-command-line-interface
command-line-tool golang lg-television
Last synced: 3 months ago
JSON representation
Communicate with LG television via TCP/IP in command line
- Host: GitHub
- URL: https://github.com/eze-kiel/lg-tv-command-line-interface
- Owner: eze-kiel
- Created: 2019-07-19T15:25:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-11T17:03:51.000Z (almost 5 years ago)
- Last Synced: 2025-01-20T06:38:35.656Z (4 months ago)
- Topics: command-line-tool, golang, lg-television
- Language: Go
- Homepage:
- Size: 1.11 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CLI for LG television
Tool designed to send commands to a LG television via TCP/IP. Currently working with LG 55SL5B model.### Usage
```
USAGE:
LG-TV-command-line-interface [global options] command [command options] [arguments...]COMMANDS:
brightness Adjusts the brightness of the screen. The value must be in 0-100
mute Turns on/off the TV sound. The argument must be true to mute, anything else to unmute
poweroff Turns off the TV. Needs no arguments
volume Adjusts the TV volume. The value must be in 0-100
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--help, -h show help
```### Example
```
$ lg-cli volume 50 //set the volume to 50
```### Configuration
You have to specify the IP of your TV and the port used in the config.yaml file. By default, the port used should be 9761 or 9760.