Use Python to control Panasonic VIERA TVs.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 17 commits ahead of tomokas:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pyviera
LICENSE.txt
README.md
example.py
setup.py

README.md

PyViera

PyViera allows you control your Panasonic VIERA TV using Python.

Example

from pyviera import Viera, COMMANDS

# List out all possible commands
print(COMMANDS.keys())
print()

# Look for any supported TVs
tvs = Viera.discover()

# Make sure we have at least one
if len(tvs) > 0:
    # Get the first TV that was found
    tv = tvs[0]

    # Send TV commands
    tv.mute()
    tv.vol_up()
    tv.num(5)

else:
    print("No TVs could be found")

Compatibility

According to the description on the app store, the following models are supported:

Panasonic flat-panel TV, 2011/2012/2013/2014/2015 VIERA

Contributors

This is a forked repository, based on tomokas work.