//media_player.braviatv_pskbyrchl

media_player.braviatv_psk

Sony Bravia TV (Pre-Shared Key) component for Home Assistant

0
0
0

Version
mantained
maintainer
hacs_badge
Community Forum

Custom component for Sony Bravia TV using Pre-Shared Key (PSK)

A platform which allows you to interact with the Sony Bravia TV using a Pre-Shared Key.

Homekit TV supported

The media player will show up as Television accessories on devices running iOS 12.2 or later

Screenshots

Component used with Mini Media Player

Component used with Mini Media Player

Component used with standard Media Player

Component used with standard Media Player

Installation

You can use HACS or install the component manually:

To get started put the files from /custom_components/braviatv_psk/ in your folder <config directory>/custom_components/braviatv_psk/

Configuration

undefinedExample configuration.yaml:undefined

media_player:
  - platform: braviatv_psk
    host: 192.168.1.101
    psk: sony
    mac: AA:BB:CC:DD:EE:FF
    amp: True
    android: True
    sourcefilter:
      - ' HD'
      - HDMI
    name: MyBraviaTV

undefinedConfiguration variables:undefined

key description
undefinedplatform (Required)undefined The platform name.
undefinedhost (Required)undefined The IP of the Sony Bravia TV, eg. 192.168.1.101.
undefinedpsk (Required)undefined The Pre-Shared Key of the Sony Bravia TV, eg. sony (see below for instructions how to configure this on the TV). Place the psk between quotes if you use digits and those start with one or more zero’s, e.g. ‘0044’.
undefinedmac (Optional)undefined The MAC address of the Sony Bravia TV (see below for instructions how to get this from the TV). This is used to turn on the TV using WakeOn LAN and is only needed if the TV is non-Android.
undefinedamp (Optional)undefined Boolean, defaults to False. Set this to True if you have an amplifier attached to the TV and not use the internal TV speakers. Then the volume slider will not be shown as this doesn’t work for the amplifier. Mute and volume up and down buttons are there and working with an amplifier.
undefinedandroid (Optional)undefined Boolean, defaults to False. Set this to True when you have an Android TV as these TV’s don’t respond to WakeOn LAN commands, so another method of turning on the TV can be used.
undefinedsourcefilter (Optional)undefined List of text that is used to filter the source list, eg. ’ HD’ (with quotes) will only show TV channels in the source list which contain ‘HD’, eg. ‘NPO 3 HD’ (in my config this will only show HD channels)

undefinedInstallation instructions TVundefined

  1. Enable remote start on your TV: [Settings] => [Network] => [Home Network Setup] => [Remote Start] => [On]
  2. Enable pre-shared key on your TV: [Settings] => [Network] => [Home Network Setup] => [IP Control] => [Authentication] => [Normal and Pre-Shared Key]
  3. Set pre-shared key on your TV: [Settings] => [Network] => [Home Network Setup] => [IP Control] => [Pre-Shared Key] => sony
  4. Give your TV a static IP address, or make a DHCP reservation for a specific IP address in your router
  5. Determine the MAC address of your TV: [Settings] => [Network] => [Network Setup] => [View Network Status]

Due to how custom_componentes are loaded, it is normal to see a ModuleNotFoundError error on first boot after adding this, to resolve it, restart Home-Assistant.


[beta]v0.13.0