All Projects → snabb → webostv

snabb / webostv

Licence: MIT license
LG WebOS smart TV remote control terminal program and Go library package (golang)

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to webostv

Amazon-Alexa-As-LG-TV-Remote
Control your LG WebOS 3.0+ TV with Amazon Alexa
Stars: ✭ 22 (-12%)
Mutual labels:  remote-control, webos
onkyo.js
Onkyo Receiver controller module
Stars: ✭ 21 (-16%)
Mutual labels:  remote-control
webos-homebrew-channel
Unofficial webOS TV homebrew store and root-related tooling
Stars: ✭ 343 (+1272%)
Mutual labels:  webos
RootMyTV.github.io
RootMyTV is a user-friendly exploit for rooting/jailbreaking LG webOS smart TVs.
Stars: ✭ 745 (+2880%)
Mutual labels:  webos
pc control
Remote control tool for laptop
Stars: ✭ 15 (-40%)
Mutual labels:  remote-control
ControllerBuddy
Highly advanced game controller mapping
Stars: ✭ 47 (+88%)
Mutual labels:  remote-control
Seatalk-Autopilot-Remote-Control
This repository shows how to build a Seatalk Autopilot Remote Control device based on an Arduino ProMicro and a simple 433 MHz KeyFob.
Stars: ✭ 32 (+28%)
Mutual labels:  remote-control
streaming-pt
Live TV 📺 and Radio 📻 shell scripts from Portugal 🇵🇹.
Stars: ✭ 52 (+108%)
Mutual labels:  television
mbrc
MusicBee Remote for Android
Stars: ✭ 96 (+284%)
Mutual labels:  remote-control
obs-websocket
Remote-control of OBS Studio through WebSocket
Stars: ✭ 2,896 (+11484%)
Mutual labels:  remote-control
UitzendingGemist
An *Unofficial* Uitzending Gemist application for Apple TV 4 (**deprecated, use TV Gemist ☝🏻**)
Stars: ✭ 48 (+92%)
Mutual labels:  television
remote-manager
This tool is intended for mass management and monitoring of remote servers. Getting information about the status of remote servers, analyze it, provide maintenance as easily as possible, extend for your needs.
Stars: ✭ 27 (+8%)
Mutual labels:  remote-control
DuinoDCX
WiFi remote controller for the Behringer Ultradrive.
Stars: ✭ 67 (+168%)
Mutual labels:  remote-control
dewdle
A remote video-feed drawing tool (telestrator) for streaming and broadcast environments.
Stars: ✭ 29 (+16%)
Mutual labels:  television
controlfloor
System for controlling devices remotely
Stars: ✭ 45 (+80%)
Mutual labels:  remote-control
omxremote
Remote control for omxplayer on raspberry pi
Stars: ✭ 13 (-48%)
Mutual labels:  remote-control
SonyAPILib
Sony Smart Device C# API Library for remote control
Stars: ✭ 52 (+108%)
Mutual labels:  remote-control
Me-TV
It's TV for me computer.
Stars: ✭ 39 (+56%)
Mutual labels:  television
pace
Remote Access Tool for Windows.
Stars: ✭ 68 (+172%)
Mutual labels:  remote-control
homeberry
HomeBerry is an Android remote control app for your Raspberry PI
Stars: ✭ 31 (+24%)
Mutual labels:  remote-control

webostv - Go package for controlling LG WebOS TV

GoDoc

This is Go library and a terminal application for remote control of LG WebOS smart televisions. Works on Linux and Windows and probably on OS X as well. It has been tested with LG 42LB650V-ZN television.

Installing and using the remote control application

Download pre-built executable binary for your OS/architecture from: https://github.com/snabb/webostv/releases

Run the downloaded application in a terminal window. On Linux, add execute permissions after downloading (chmod 755 webostvremote-linux-amd64). The IP address or name of the TV can be given as a command line argument:

./webostvremote 192.0.2.123

If the address is not supplied, it will try to connect to the default address LGsmartTV.lan.

Building the remote control application from source

Install Go compiler if you do not have it:

curl https://dl.google.com/go/go1.12.linux-amd64.tar.gz | sudo tar xzC /usr/local
PATH=$PATH:/usr/local/go/bin

(See https://golang.org/dl/ for newer version and more detailed instructions.)

Compile:

git clone https://github.com/snabb/webostv.git
cd webostv
go build ./cmd/webostvremote

The compiled binary webostvremote is produced in the current working directory. If there are errors, try again with up-to-date Go compiler version.

Simple example of using the library to turn off the TV

package main

import "github.com/snabb/webostv"

func main() {
	tv, err := webostv.DefaultDialer.Dial("LGsmartTV.lan")
	if err != nil {
		panic(err)
	}
	defer tv.Close()
	go tv.MessageHandler()

	_, err = tv.Register("")
	if err != nil {
		panic(err)
	}

	err = tv.SystemTurnOff()
	if err != nil {
		panic(err)
	}
}

Unimplemented / TODO

webostv library

  • Documentation.
  • Consider the method names, some could be shortened.
  • PIN based pairing.
  • UPnP discovery?
  • Add missing subscriptions?
  • Play media?

webostvremote application

  • Documentation.
  • Volume mute.
  • Make "store" a separate generic package (or find pre-existing one).
  • Make it look better.
    • Colors.
    • Clarify channel + program info etc.
  • Error popup?
  • Program guide.
  • TV mouse control.
  • TV keyboard input.
  • Play media?

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].