Hi ive created a new Device Handler for Sony Bravia Tv’s i’ve obviously been testing with mine which is a 2015 55 inch and all functions work well so far.
You will need to set up your tv on the network via lan or wifi and turn your tv’s security to PSK, ive tested with a passphrase of 1111 but you should be able to use whatever passphrase the TV allows.
Enable remote start on your TV: [Settings] → [Network] → [Home Network Setup] → [Remote Start] → [On]
Enable pre-shared key on your TV: [Settings] → [Network] → [Home Network Setup] → [IP Control] → [Authentication] → [Normal and Pre-Shared Key]
Set pre-shared key on your TV: [Settings] → [Network] → [Home Network Setup] → [IP Control] → [Pre-Shared Key] → [sony]
Give your TV a static IP address, or make a DHCP reservation for a specific IP address in your router.
Note: Within the Device on the SmartThings IDE the Device Network ID for Device instance must be hex of IP address and port in the form of 00000000:0000 (i.e. 10.0.1.220:80 is 0A0001DC:0050) - if you check the logs the smart device will log the correct address that you can copy paste, once the IP address has been set. If this is not set you wont get updated on/off status. Apparently you can get the Device handler to set it but ive not been able to properly test this yet.
the interface is basic and ive only added a few buttons from the remote, but over time I’ll try to add more
unfortunately there isn’t much in the way of feedback from the tv with the exception of the on or off status so the app works more like a remote than something we can read status from.
I would be interested in hearing some ideas about uses for the device handler however, as in smart apps for TV set up etc. My aim was to be able.to setup some sequences perhaps on a virtual button, for instance a Netflix scene button could in theory wake the TV from standby switch to Netflix and lower the lighting, or you might be able.to have an Xbox scene using one of the HDMI inputs. Not sure how all that would work perhaps a smart app would have to be put together. But maybe I’ll try that another time.