Sony TV 2016+ (IP Control)

Share any commands you know or look here to find commands for your devices.
Post Reply
cdeslong
Posts: 8
Joined: Wed Mar 07, 2018 6:15 am

Sony TV 2016+ (IP Control)

Post by cdeslong » Thu Apr 05, 2018 5:49 am

Here's the SONY TV IP Control. I know it works on 2016+. Still working on the feedback.
Sony TV (IP Control).dc1.zip
You do not have the required permissions to view the files attached to this post.

hengenl
Posts: 26
Joined: Sun Jul 22, 2012 10:52 am

Re: Sony TV 2016+ (IP Control)

Post by hengenl » Mon Apr 09, 2018 8:11 pm

Hi,

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

cdeslong
Posts: 8
Joined: Wed Mar 07, 2018 6:15 am

Re: Sony TV 2016+ (IP Control)

Post by cdeslong » Sat Apr 14, 2018 11:26 pm

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...

Chris

hengenl
Posts: 26
Joined: Sun Jul 22, 2012 10:52 am

Re: Sony TV 2016+ (IP Control)

Post by hengenl » Sun Apr 15, 2018 8:52 am

Ok for the port but what do you mean by setting the label to the ip adress of the TV?

cdeslong
Posts: 8
Joined: Wed Mar 07, 2018 6:15 am

Re: Sony TV 2016+ (IP Control)

Post by cdeslong » Sat Apr 21, 2018 11:56 pm

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.

Chris

hengenl
Posts: 26
Joined: Sun Jul 22, 2012 10:52 am

Re: Sony TV 2016+ (IP Control)

Post by hengenl » Mon Apr 23, 2018 8:07 am

Could you please post a screenshot how you set up the label?

Would be great :)

Thx

hengenl
Posts: 26
Joined: Sun Jul 22, 2012 10:52 am

Re: Sony TV 2016+ (IP Control)

Post by hengenl » Mon Apr 23, 2018 7:18 pm

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:192.168.1.128:80\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="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">\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

peterk125
Posts: 1
Joined: Tue Sep 26, 2017 6:13 pm

Re: Sony TV 2016+ (IP Control)

Post by peterk125 » Tue Jul 17, 2018 9:49 am

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
You do not have the required permissions to view the files attached to this post.

shiftee
Posts: 1
Joined: Fri Nov 09, 2012 11:10 pm

Re: Sony TV 2016+ (IP Control)

Post by shiftee » Sat Aug 04, 2018 6:21 pm

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,
Ric

hengenl
Posts: 26
Joined: Sun Jul 22, 2012 10:52 am

Re: Sony TV 2016+ (IP Control)

Post by hengenl » Wed Oct 17, 2018 8:46 am

Ok I need to check this out! I hope I can try it today! Happy to see there could be a solution :)

Post Reply