News:

VoxCommando works with Amazon Echo, Domoticz, EventGhost, Google Assistant, IFTTT, iTunes, J.River Media Center, Kodi, MediaMonkey, Nest, Philips Hue, Vera, Wemo, and the list keeps growing!

Main Menu

Sony Simple IP Control

Started by JoshK, March 14, 2016, 08:53:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JoshK

Has anyone got VC controlling a recent Sony Bravia set using IP Control?
If so, I'd love to see?

nime5ter

#1
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
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

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

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

#4
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 -

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

jitterjames

Looks pretty straightforward. :)