Author Topic: Sony Simple IP Control  (Read 4933 times)

0 Members and 1 Guest are viewing this topic.

JoshK

  • Jr. Member
  • **
  • Posts: 32
  • Karma: 3
    • View Profile
Sony Simple IP Control
« on: March 14, 2016, 08:53:11 AM »
Has anyone got VC controlling a recent Sony Bravia set using IP Control?
If so, I'd love to see?

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Sony Simple IP Control
« Reply #1 on: March 14, 2016, 10:29:00 AM »
For anyone who wants to give it a try, it looks like there might be a few approaches one could try.

1. Use the TCP plugin to create a TCP client and connect to your Bravia server, and then probably TCP.ClientWriteLn to send commands:
http://voxcommando.com/mediawiki/index.php?title=Plugin_TCP#Actions_for_the_TCP_plugin
http://shop.kindermann.com/erp/KCO/avs/3/3005/3005000168/01_Anleitungen+Doku/Steuerungsprotokoll_1.pdf

2. Use the Scrape.Post action to send SOAP http post requests:
http://www.openremote.org/display/forums/Sony+TV+HTTP+control

Example of VC commands that use this method: http://voxcommando.com/forum/index.php?topic=1932.0
« Last Edit: March 14, 2016, 10:31:45 AM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

JoshK

  • Jr. Member
  • **
  • Posts: 32
  • Karma: 3
    • View Profile
Re: Sony Simple IP Control
« Reply #2 on: March 28, 2016, 09:51:32 AM »
Have a sony kdl75w850c and haven't had any luck with either of these methods. I'm thinking it might be an authentication issue? i see from some threads in the irule forum that their needs to be some authentication performed to get irule working - https://getsatisfaction.com/irule/topics/sony-4k-2014-tv-ip-control-authentication

not sure if I should be doing something to authenticate vc?

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Sony Simple IP Control
« Reply #3 on: March 28, 2016, 10:02:31 AM »
What commands have you tried? (Post the xml)

What kind of error message are you getting in VC? (post the log file from VC after running the commands)
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

JoshK

  • Jr. Member
  • **
  • Posts: 32
  • Karma: 3
    • View Profile
Re: Sony Simple IP Control
« Reply #4 on: April 09, 2016, 01:33:29 PM »
I'd been trying using the web api, but couldn't get this to work.

got it working using the TCP.Client - power off pasted below -

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.4-->
<command id="-1" name="Actions copied from LCB">
  <action>
    <cmdType>TCP.Client.Connect</cmdType>
    <params>
      <param>LoungeBravia</param>
      <param>10.1.1.7</param>
      <param>20060</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TCP.Client.Write</cmdType>
    <params>
      <param>LoungeBravia</param>
      <param>*SCPOWR0000000000000000\x0A</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TCP.Client.Disconnect</cmdType>
    <params>
      <param>LoungeBravia</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>
« Last Edit: April 09, 2016, 01:58:36 PM by jitterjames »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sony Simple IP Control
« Reply #5 on: April 09, 2016, 02:00:26 PM »
Looks pretty straightforward. :)