This page last changed on Aug 31, 2013 by nipple.

Hi Guys,

Newbie trying to get some basic automation started with the idea of a whole home system when we build our new house next year.

I wanted to start by controlling our panasonic wt50 led tv as it is already on our home network. I have googled and found very little on this except that it can be done using SOAP commands.

I have found a good document on what these commands need to be, but cant enter them via open remote. I searched in open remote forums and found back in 2011 someone made a soap module but i cant find it to down load.

Any ideas or has someone already cracked this.

Cheers Jason

Do you have an example of a SOAP command?

Posted by mredeker at Sep 01, 2013 08:52

Hi Marcus,

POST /nrc/control_0 HTTP/1.1
User-Agent: Panasonic iOS VR-CP UPnP/2.0
Host: 10.0.1.15:55000
Content-Type: text/xml; charset="utf-8"
SOAPACTION: "urn:panasonic-com:service00NetworkControl:1#X_SendKey"
Content-Length: 334
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:X_SendKey xmlns:u="urn:panasonic-com:service00NetworkControl:1">
<X_KeyEvent>NRC_CH_DOWN-ONOFF</X_KeyEvent>
</u:X_SendKey>
</s:Body>
</s:Envelope>

I have also found what appears to be a full list of commands in a perl script on the fhem site, not sure if we can use that here though.

cheers

Posted by nipple at Sep 01, 2013 09:48

Sorry about the smiley faces trying again to not get them.

Can't work it out but replace them with the following : p minus the space in between.

cheers

Posted by nipple at Sep 01, 2013 09:59

include your listing in {code} ... {code} tags and the smileys should be gone. Please note there is NO slash in the end tag!

Posted by pz1 at Sep 01, 2013 10:52

Looks like you need a SOAPACTION header. Our HTTP command does not allow custom header information yet.

Posted by mredeker at Sep 01, 2013 11:36

Thanks PE, will try that next time,

Marcus, when i search the openremote forums for soap it appears that user "Mathieu Gallissot" has made a soap protocol that is available to download in the workspaces i cant work out which one or how to use it.

The perl script i found looks pretty thorough and i think i can follow the commands easily once i can work out the soap headers.

Sorry about the basic questions,

cheers

Posted by nipple at Sep 01, 2013 13:06

The SOAP protocol is here: http://sourceforge.net/p/openremote/code/9084/tree/workspace/mgallissot/Controller_SOAP_Command/src/org/openremote/controller/protocol/soap/

Posted by mredeker at Sep 01, 2013 19:56
Document generated by Confluence on Jun 05, 2016 09:42