philips_android_tv
Tools to control Philips 2016 Android TVs
The API is roughly the same as JointSpace with the following differences:
- Uses HTTPS over port 1926
- Uses /6/ instead of /1/ as the API path
- All calls have to have digest auth to be successful
- An initial pairing to determine the user/pass is required
- Channel and Source methods aren't available
Channel status and changes are performed using a different protocol that isn't described here.
The tool here will do the initial pairing. The credentials can then be used in a standard way (digest) in other tools.
Getting started
To get started with thie library you can install the requirements with pip using:
pip install -r requirements.txt
. After which you can run this script to pair your Philips TV
with python philips.py --host <YOUR_IP_ADDRESS> pair
to receive the credentials for your
television. When you have received the correct credentials, you can run the other commands.