Python Module to control Sharp Aquos Smart TVs over the Network
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
frnmst/Franco Masotti 05ef468c4b Fixed readme. 5 years ago
sharp_aquos_rc Fixed channel up and channel down commands. 5 years ago
.gitignore Release 0.1 7 years ago
.pylintrc Add retries options and add pylint 6 years ago
LICENSE.txt first commit 7 years ago Fixed readme. 5 years ago Imported fixes from HerrHofrat. Fixed readme. Added a demo file. Added a 1s timeout so that sequential operations are not ignored. Fixed teletext_jump method signature. 5 years ago
setup.cfg first commit 7 years ago Update 6 years ago


Control Sharp Aquos SmartTVs with Python

Quick start

Before installing this API, follow the instructions reported at

Installation and basic instructions

Installation via pip:

pip install sharp_aquos_rc

Command profiles

Depending on the country of purchase of the television you must choose between one of the available profiles or command maps (see the ./sharp_aquos_rc/commands directory):

  • cn
  • eu
  • jp
  • us

The us profile is used by default, so to choose another one simply pass it as an option to the class constructor. For example:

>>> tv = sharp_aquos_rc.TV('', 10002, 'admin', 'password', command_map='eu')


>>> import sharp_aquos_rc
>>> tv = sharp_aquos_rc.TV('', 10002, 'admin', 'password')
>>> tv.power() # Returns 1 if TV is on and 0 if TV is off
>>> tv.power(0) # Turn the TV off
>>> tv.input('HDMI 2') # Set the TV to HDMI Input 2


Full Documentation is available through pydoc

pydoc sharp_aquos_rc


Contributions and Pull Requests always welcome.

Currently on the TODO list:

  • Unit Tests
  • Error Checking and Input Validation
  • Better timeouts for sequential operations so that the sent commands don't get ignored.
  • Documentation.