Difference between revisions of "Install Bravia"
From xPL
(Created page with "The Sony [https://www.sony.com/electronics/android-tv Bravia] series are powered by [https://www.android.com/tv/sony-bravia/ Android]. Different python packages allow to cont...") |
(→Check the settings) |
||
Line 19: | Line 19: | ||
== Check the settings == | == Check the settings == | ||
− | Install <code>pip</code> if it isn't yet | + | Install <code>pip</code> if it isn't done yet |
+ | su | ||
+ | which pip | ||
easy_install pip | easy_install pip | ||
+ | exit | ||
Download [https://github.com/darkosancanin/bravia_console Bravia Console]. | Download [https://github.com/darkosancanin/bravia_console Bravia Console]. | ||
cd /tmp/ | cd /tmp/ | ||
− | + | cp ~/Downloads/bravia_console-master.zip . | |
unzip bravia_console-master.zip | unzip bravia_console-master.zip | ||
sudo pip install requests | sudo pip install requests | ||
./bravia_console.py | ./bravia_console.py | ||
+ | > exit | ||
+ | |||
+ | The console interface shows how to set-up the Pre-Shared Key (PSK). | ||
+ | Edit <code>bravia_console.py</code> to match the script to your PSK: | ||
+ | self.psk = "0000" |
Revision as of 14:28, 3 November 2017
The Sony Bravia series are powered by Android.
Different python packages allow to control the TV from a PC:
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"