Difference between revisions of "Install Bravia"
From xPL
Line 3: | Line 3: | ||
Different python packages allow to control the TV from a PC: | Different python packages allow to control the TV from a PC: | ||
* [https://github.com/darkosancanin/bravia_console Bravia Console] | * [https://github.com/darkosancanin/bravia_console Bravia Console] | ||
− | |||
* [https://pypi.python.org/pypi/py-sony-bravia-remote py-sony-bravia-remote], Python 3 | * [https://pypi.python.org/pypi/py-sony-bravia-remote py-sony-bravia-remote], Python 3 | ||
− | * [https://github.com/aparraga/braviarc BraviaRC] | + | * [https://github.com/aparraga/braviarc BraviaRC], Python 3 |
* [https://github.com/Charliedean/sonybraviacontrol sonybraviacontrol] | * [https://github.com/Charliedean/sonybraviacontrol sonybraviacontrol] | ||
+ | * [https://github.com/8none1/bravialib bravialib] | ||
= Set-up the TV = | = Set-up the TV = |
Revision as of 15:10, 3 November 2017
The Sony Bravia series are powered by Android.
Different python packages allow to control the TV from a PC:
- Bravia Console
- py-sony-bravia-remote, Python 3
- BraviaRC, Python 3
- sonybraviacontrol
- bravialib
Set-up the TV
Controlling the TV requires a mix of its
- IP address
- device name
- device id
- PIN
- Pre-Shared Key (PSK)
Check the settings
Install pip
if it isn't done yet
su which pip easy_install pip exit
Download Bravia Console.
cd /tmp/ cp ~/Downloads/bravia_console-master.zip . unzip bravia_console-master.zip sudo pip install requests ./bravia_console.py > exit
The console interface shows how to set-up the Pre-Shared Key (PSK).
Edit bravia_console.py
to match the script to your PSK:
self.psk = "0000"
Connect to the TV:
./bravia_console.py > show info > show commands > hdmi1 > poweroff > tvpower
Change input source:
./bravia_console.py -c hdmi2 > /dev/null ./bravia_console.py -c hdmi1 > /dev/null