/LGtvPy

LG TV python interface library

Primary LanguagePythonApache License 2.0Apache-2.0

A python class that uses pyserial to control an LG tv (**LH30 or better).

It's fairly straight forward to use.

#the following will use ttyUSB0 and turn the tv off.
#you need pySerial installed for this to work.
import LGtv

tv = LGtv.LGtv('/dev/ttyUSB0')
tv.powerOff()