Page 1 of 1

Sony TV 2016+ (IP Control)

Posted: Thu Apr 05, 2018 5:49 am
by cdeslong
Here's the SONY TV IP Control. I know it works on 2016+. Still working on the feedback.
Sony TV (IP Control)

Re: Sony TV 2016+ (IP Control)

Posted: Mon Apr 09, 2018 8:11 pm
by hengenl

I created a generic Ip Device with the Ip Adress of my Tv and the port 20060.

I imported your codes, and tested them in the software. They do not work.

Am i missing something.

I got the KDX559005.

Thank you

Re: Sony TV 2016+ (IP Control)

Posted: Sat Apr 14, 2018 11:26 pm
by cdeslong
I use port 80 and you need to set a label called "SonyTV.Selected" to the ip address of your TV.

From there it works...


Re: Sony TV 2016+ (IP Control)

Posted: Sun Apr 15, 2018 8:52 am
by hengenl
Ok for the port but what do you mean by setting the label to the ip adress of the TV?

Re: Sony TV 2016+ (IP Control)

Posted: Sat Apr 21, 2018 11:56 pm
by cdeslong
I have more than one Sony IP TV, so I use a label to change the ip address within the commands to control the various TVs. That way you can control multiple TVs with the same device.


Re: Sony TV 2016+ (IP Control)

Posted: Mon Apr 23, 2018 8:07 am
by hengenl
Could you please post a screenshot how you set up the label?

Would be great :)


Re: Sony TV 2016+ (IP Control)

Posted: Mon Apr 23, 2018 7:18 pm
by hengenl
I just replaced the Host in the code of yours to my Ip Dress of my Television. Unfortunately the commands do not work?
Could you please advise what I'm doing wrong? I would really like to control my KD55X9005 through IP.

Here is what I send:

POST /sony/IRCC HTTP/1.1\x0D\x0AHost:\x0D\x0AUser-Agent: TVSideView/2.1.0 CFNetwork/672.0.8 Darwin/14.0.0\x0D\x0AContent-Length: 317\x0D\x0AContent-Type: text/xml; charset=UTF-8\x0D\x0ASOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"\x0D\x0AConnection: close\x0D\x0A\x0D\x0A<?xml version="1.0"?>\x0A<s:Envelope xmlns:s="" s:encodingStyle="">\x0A <s:Body>\x0A <u:X_SendIRCC xmlns:u="urn:schemas-sony-com:service:IRCC:1">\x0A <IRCCCode>AAAAAQAAAAEAAAAuAw==</IRCCCode>\x0A </u:X_SendIRCC>\x0A </s:Body>\x0A</s:Envelope>\x0A

Here is what I receive as data:

HTTP/1.1 403 Forbidden
Content-Length: 0
Connection: close

Re: Sony TV 2016+ (IP Control)

Posted: Tue Jul 17, 2018 9:49 am
by peterk125
You could use the low level HTTP Protocol. It allows you to send the HEX commands to Sony TV and i tested on my TV yesterday and it works fine. Change the termination to \xOA in the device and use port 20060. This is all the majority of the commands listed on the Bravia IP integration notes. If you are just looking simple control and use of the features of the TV set it may be easier option. Hope it helps

Re: Sony TV 2016+ (IP Control)

Posted: Sat Aug 04, 2018 6:21 pm
by shiftee
Thanks for posting the Hex commands PeterK - they worked a treat.

However, I'm missing a couple of commands for my 2018 model, namely: Action Menu and Apps.

Could you tell me where you got hold of the information. I've searched high and low and I can't find anything published by Sony. Why is this stuff so hard to find?

Thanks in advance,