[ST Edge] Sony Bravia TVs

This is a driver for Sony Bravia TVs that supports:

  • Power
  • Volume/Mute
  • Input selection
  • Channel
  • Launching apps (the “Pick a favorite” option)
  • Various remote control commands
  • Picture mute

The interface is not as polished as I would like it, but can hopefully be improved in a later version if the UI for the TV capability is finished. Also, the platform currently presents list items in random order, so the menu for remote control commands is a bit tough to navigate.

The driver uses UPnP for discovery, and then uses Simple IP Control for most functions. Installed apps are queried and launched using the REST API. My understanding is that Simple IP Control has been around for a while, so older TV models might function with the driver with the exception of launching apps.

Installation

  1. On the TV, enable Remote Start, enable Simple IP Control, set Authentication to Normal and Pre-Shared Key, and set up a Pre-Shared Key.
  2. Use the Channel Invitation to enroll in the channel and install the driver.
  3. With the TV on, select to scan nearby for new devices in the SmartThings app
  4. In the settings menu of the new device, enter the pre-shared key and configure the number of inputs

A description of the options in the settings menu can be found here.

Code

5 Likes

I installed the driver and followed your installation instructions.
Setup was quite simple.
I started control my Sony Android TV using this driver.

I tested:
Power on / off
Volume
Channel selection

I will continue testing.
Now it’s also possible to control Sony TV using automations.
Thanks!

1 Like

I have followed the instructions and it finds my SonynBravia XBR-75X850D but I am seeing the following:

  • Shows offline cloud Icon (unable to use power button)
  • When I increase the volume no matter how I high I turn it up it only goes to 26 on TV
  • Input source is working as expected.
  • Channel only updates when Input Source is TV
  • Home works as expected
  • Play Favorite works as expected
  • Remote Control commands works as expected
  • Picture Mute is working as expected.

I was able to resolve the power button issue by adding the IP Hex similar to the old groovy device.

1 Like

I assume this only happens when the TV is off (probably for a while) and you’re trying to turn it back on? I definitely saw with my TV that it doesn’t respond as readily (in particular to UPnP discovery) when it’s off, but mine is holding the connection fine now. The driver should be saving the most recent IP and first attempting to reconnect to that one, which was enough to get around the non-responsiveness when off for mine. I have a sample size of 1 TV though, so if you want to PM me some logs I’d be happy to see if yours behaves differently.

Do you have an external sound system hooked up to the TV? I’ve noticed on mine that the volume command will jump immediately to the volume I set if it’s using the built-in TV speakers, but will only move 1% at a time when playing through my AV receiver. I’ve just assumed that to be a limitation for now and will do any volume adjustments directly through the Onkyo. If yours is a different situation, send some logs and I’ll see if there’s anything that can be adjusted.

If I’m understanding correctly, you’re on HDMI1 but want to switch to channel 7, but in order for the channel capability to work you first have to swap input to TV? If that’s the issue, then I can add the command to swap to TV before sending the channel change. For channels, if you have any suggestions for improving behavior let me know (we don’t have cable, so no channels surfing in my house).

After I updated the Device ID in the IDE it seemed to start working, I can send logs if it continues to happen.

I have an external receiver that I use to control the volume for the TV, but can still use the regular TV remote to change as well.

I actually don’t use the TV input as we have a cable box hooked up via HDMI but want to test the functionality. Can you hide the “Channel” section if the “Input Source” isn’t TV.

This morning when I opened the app to check and the TV was on I saw the following:

  • Status of Power was showing correctly.
  • Volume showed 1 even though it was 38.
  • Input showed APP even though it was on HDMI 4
  • Refreshing the device changed the volume to 0 and source to TV in the app.
  • Setting the Input to HDMI 4 gave me the following error: “Network or Server error occurred”

@philh30 any thoughts on the issue as I am unable to get this working properly.

Hi,

Thank you for this! I’ve not tested it much yet, but a couple basic function reports:

On/off is fine. Most remote control commands work, and pass thru to my cable box correctly. The input chooser works well.

The volume functions don’t work. The channel commands on the “remote function” tile work, but the place to direct input a channel number is funky. No matter what channel I input, it sends 327 to the cable box!

It responds to on/off via Alexa.

Hi Phil, I can confirm that it does works amazingly on Bravia KD-49XE8004, many thanks, I was looking for this from long time

1 Like

Thank you @philh30 - This is a great addition to Smartthings, if I can get this working.

I am testing on a Sony KD-75XG9505, and after successfully finding the TV, the only thing that works is the “Play a favourite app” (which works great!)

I couldn’t turn the tv on/off; change the volume; use the home button; or change the source.
And the device tile is constantly “Checking…”.

Any guidance would be appreciated.

Thanks

Have you enabled Simple IP Control in your TV’s settings?

Yes, Simple IP control is enabled.

– Update: I turned off Simple IP control; turned the TV off; back on; turned on Simple IP control again… and now it’s working! Still testing, but everything tested so far is working well.
Thank you

1 Like

This might be the wrong place to ask but how do you install the driver. Very much want this

There are installation instructions in the top post of this thread. If you follow the link for the Channel Invitation, you’ll first need to enroll in the channel. You should then have a button to see the available drivers in the channel - follow that link and choose to install the Sony Bravia TV driver. The driver will then install onto your ST hub.

Do i need to purchase a hub for edge drivers to work?

I get this when o clixk the link

Yes a ST hub is required to use Edge Drivers. Edge Drivers reside in the hub.

1 Like

Do zigbee style hubs work. Is there a particular one that is better. I see the newest version is aeotec. Does this offer any more than a v2 or 3? Thanks

The Aeotec hub is the current model and is the same as the V3. The V2 also supports Edge drivers but is no longer being manufactured.

Hopefully you have plans for other hub-connected devices… I’m not sure it’d be worth the cost just for this.

I got myself a v3. This works brilliantly and works with AT aswel. Can you use the hubs to store the samsung tvs too? Take them off the router instead? Havnt seen an option to do this. Thanks

I have a fairly new Sony TV with Google TV as an OS. Any chance to integrate it?

It should work - give it a try.

1 Like