import panasonic_viera
rc = panasonic_viera.RemoteControl("<HOST>")
volume = rc.get_volume()
rc.set_volume(volume + 1)
import panasonic_viera
rc = panasonic_viera.RemoteControl("<HOST>")
rc.send_key(panasonic_viera.Keys.epg)
This command line starts a REPL to the TV. Therefore it is mainly used testing purposes and not for automating the TV.
usage: panasonic_viera [-h] [--verbose] host [port]
Remote control a Panasonic Viera TV.
positional arguments:
host Address of the Panasonic Viera TV
port Port of the Panasonic Viera TV. Defaults to 55000.
optional arguments:
-h, --help show this help message and exit
--verbose debug output