infamy / LGtvPy

LG TV python interface library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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()

About

LG TV python interface library

License:Apache License 2.0


Languages

Language:Python 100.0%