Based on the API for "Remote Control App" defined on pages 8-3 through 8-8 in the sharp-user-manual.
-
MENU->Initial Setup->AQUOS Remote Control
-
Enable
-
Set Login/Pass
pip install sharp_aquos_rc
>>> import sharp_aquos_rc
>>>
>>> tv = sharp_aquos_rc.TV('192.168.1.5', 10002, 'admin', 'password')
>>>
>>> tv.power() # Returns 1 if TV is on and 0 if TV is off
1
>>> tv.power(0) # Turn the TV off
True
>>> tv.input(2) # Set the TV to HDMI Input 2
True
Full Documentation is available through pydoc
pydoc sharp_aquos_rc
MIT
Contributions and Pull Requests always welcome.
Currently on the TODO list:
- Remote Button Functionality
- Unit Tests
- Error Checking and Input Validation