Skip to main content

bravia tv controller for home-assistant

Project description

BraviaRC Python Package


  • pip3 install git+


BraviaRC is a Python library for remote communication with Sony Bravia TVs 2013 and newer (


Python 3.3 or 3.4 is required.


#new instance for TV at
braviarc = BraviaRC('')

#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
  #get app list
  app_info = braviarc.load_app_list()
  print (app_info)
  #start a given app

  #turn off the TV

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for braviarc-homeassistant-dev, version 0.3.8
Filename, size File type Python version Upload date Hashes
Filename, size braviarc-homeassistant-dev-0.3.8.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page