BraviaRC Python Package
Installation
pip3 install git+https://github.com/dcnielsen90/braviarc.git
About
BraviaRC is a Python library for remote communication with Sony Bravia TVs 2013 and newer
(http://info.tvsideview.sony.net/en_ww/home_device.html#bravia)
Requirements
Python 3.3 or 3.4 is required.
Usage
#new instance for TV at 192.168.1.25
braviarc = BraviaRC('192.168.1.25')
#connect to the instance (or register)
pin = '1878'
braviarc.connect(pin, 'my_device_id', 'my device name')
#check connection
if braviarc.is_connected():
#get power status
power_status = braviarc.get_power_status()
print (power_status)
#get playing info
playing_content = braviarc.get_playing_info()
#print current playing channel
print (playing_content.get('title'))
#get volume info
volume_info = braviarc.get_volume_info()
#print current volume
print (volume_info.get('volume'))
#change channel
braviarc.play_content(uri)
#get app list
app_info = braviarc.load_app_list()
print (app_info)
#start a given app
braviarc.start_app("Netflix")
#turn off the TV
braviarc.turn_off()
Metadata
Release files for braviarc-homeassistant-dev 0.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| braviarc-homeassistant-dev-0.3.8.tar.gz | 5.5 kB | Without provenance | Details |
Release files / braviarc-homeassistant-dev-0.3.8.tar.gz
| Download URL | braviarc-homeassistant-dev-0.3.8.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efbf5144409a5454eff9a7a65632ed2bb5e7b51f243b6f43f29f8ef39bb9246e
|
|
BLAKE2b-256 checksum How to use checksums |
e21bdb7bbbc40248158a6ebcf549bd2baa42ff26799568fb29d0ffd2983b5a2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9
|
Security for braviarc-homeassistant-dev 0.3.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.