Author Topic: [SOLVED] Device Template using SOAP  (Read 16463 times)

bherbie

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: [SOLVED] Device Template using SOAP
« Reply #15 on: October 23, 2014, 03:03:39 am »
Quote
Reading the thread above I can't see any mention of the registration process - without it you may get intermittent or unreliable control capability.
Correct.  I did this simply by using php cURL from the command line. The issues I was running into is my particular model does not use the same ports as the Sonys that I could find the protocols for. I did register my core as a device before I began setting up the template for the device itself and I still have some kinks to work out such as hard coding in the magic packet for WOL.

-herb

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: [SOLVED] Device Template using SOAP
« Reply #16 on: November 06, 2014, 10:27:22 am »
Correct.  I did this simply by using php cURL from the command line. The issues I was running into is my particular model does not use the same ports as the Sonys that I could find the protocols for. I did register my core as a device before I began setting up the template for the device itself and I still have some kinks to work out such as hard coding in the magic packet for WOL.

-herb

Sorry for my slow response on this! Sony TV's (at least all the ones we've ever tested or built device templates for) do not work with WOL via the network port. If the TV is placed into 'Stand-by Off' the NIC is powered completely off in this mode and so cannot be communicated with. The only way to 'wake' a Sony TV (and any other brand with IP control) from 'Stand-by Off' is to either use the IR remote or to send an 'Stand-by On' via HDMI-CEC control. This is one of the functions we use Raspberry Pi's for in our systems (we used to use PulseEight CEC Adapters but they need to be controlled from an MD whereas the Rpi can do HDMI-CEC control directly)

All the best

Andy
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk