Author Topic: Can I control a DLNA device (SONY TV) from Linuxmce?  (Read 5901 times)

ladekribs

  • Veteran
  • ***
  • Posts: 83
    • View Profile
Can I control a DLNA device (SONY TV) from Linuxmce?
« on: January 19, 2011, 01:56:58 pm »
I would like to power on/off a Sony TV via the network using DLNA commands, and maybe also select input,control volume etc.

Is it possible?
where can I find the command syntax?


BR Stefan

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #1 on: January 19, 2011, 04:55:33 pm »
looks like it's time to do some research, buddy. ;)

-Thom

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3020
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #2 on: January 19, 2011, 05:54:41 pm »
Stefan,

best place to ask this would be your local Sony representative. But I would not put my hopes to high

ladekribs

  • Veteran
  • ***
  • Posts: 83
    • View Profile
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #3 on: January 19, 2011, 07:00:16 pm »

@Thom,I have been searching for a while with no luck, trying to read the upnp docs, but know too little to understand it

@Posde, thought that maybe some other device used standard UPNP or DLNA commands, like for example the roku soundbridge,or the Sony VPL-HS51 Ethernet?


BR Stefan

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #4 on: January 19, 2011, 07:49:41 pm »
did you try to control it with the generic control point from gupnp? It has a nice upnp browser..
.
br Hari
rock your home - http://www.agocontrol.com home automation

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1087
  • hrumpf!
    • View Profile
    • Mah Website
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #5 on: January 19, 2011, 07:54:06 pm »
My understanding is that actual av control over upnp is spotty by device. Different ones come with remote control capability of vary degrees with the newer ones supporting remote initialization of both online media via integrated applications (connected tvs and such) and playback of media from devices such as other upnp servers and media devices. The upnp universe is far from anything resembling coherent at the moment despite the supposed DNLA Alliance. Basically, as others have mentioned, you need to investigate what the target devices capabilities are fully. LinuxMCE can do just about anything, its the devices its talking to and their interfaces being co-operative thats the question.

Hari's recommendation of using a upnp browser is a good idea although its probably best to investigate before you buy.

-golgoj4
Official Releases
http://deb.linuxmce.org/QOrbiter-release.apk latest Qt4 android apk  http://deb.linuxmce.org/QOrbiterQt5-release.apk for the Qt5 Android version http://deb.linuxmce.org/QOrbiter-release.dmg for the MacOSX version

Unstable Nightlies
http://langstonball.com/downloads

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4463
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #6 on: January 20, 2011, 01:50:47 am »
I would like to power on/off a Sony TV via the network using DLNA commands, and maybe also select input,control volume etc.

Is it possible?
where can I find the command syntax?


BR Stefan

Hi Stefan

We're very interested in this whole area ie using the more advanced aspects of the UPnP spec to allow all control functions to be handled. The next release of Dianemo will implement UPnP-AV and this enables our Dianemo system to become a UPnP control point and therefore control any UPnP device that supports the standard; See here for more info on what we're upto http://forum.linuxmce.org/index.php?topic=8880.msg60443#msg60443

In principle what you are asking is possible but those controls are not in the UPnP-AV service itself and so it would require the manufacturer to support the extended RenderingControlService. I am not aware of Sony doing that to date. See the snippit of the UPnP AV Architecture:1 docs below for a brief para on this service;

3.2.1. RenderingControlService
This service provides a set of actions that allow the Control Point to control how the Renderer renders a
piece of incoming content. This includes rendering characteristics such as Brightness, Contrast, Volume,
Mute, etc. The Rendering Control service supports multiple, dynamic instances, which allows a Renderer
to “mix together” one or more content items (e.g. a Picture-in-Picture window on a TV or an audio mixer
device). New instances of the service are created by the ConnectionManager::PrepareForConnection()
action. If the ConnectionManager::PrepareForConnection() action is not implemented the default value

See this doc for further information; http://upnp.org/specs/av/UPnP-av-RenderingControl-v1-Service.pdf

The full set of UPnP docs can be downloaded and read at your leisure here; http://upnp.org/sdcps-and-certification/standards/sdcps/

Hope the above is of use to you.

All the best


Andrew
Andy Herron,
Convergent Home Technologies Ltd

My Blog; http://ellipticalcurve.com

Get RaspSqueeze-CEC Wifi enabled for Dianemo/LinuxMCE: http://wp.me/P4KgIc-7C

Contact me for Smart Home consulting advice here;
@herron on Twitter, inquiries@ellipticalcurve.com via email or PM me here.

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

ladekribs

  • Veteran
  • ***
  • Posts: 83
    • View Profile
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #7 on: January 20, 2011, 08:49:55 am »
Thank You all, I will start reading.

ladekribs

  • Veteran
  • ***
  • Posts: 83
    • View Profile
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #8 on: February 01, 2011, 02:39:35 pm »
Hi All,

Sony support said that for time being such commands (poweron/off) are not supported, but has now been suggested as a good feature.




BR Stefan

Sigg3.net

  • Veteran
  • ***
  • Posts: 64
    • View Profile
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #9 on: February 09, 2011, 11:23:18 pm »
All HDMI hardware includes the CEC protocol wires. Though few includes all CDC features, and most of them use proprietary ones, I would bet that those that do have CEC functionality support turning device ON and OFF.

Read more here:
http://forum.linuxmce.org/index.php?topic=9664.0

So if your TV has HDMI then it has the CEC wires. Sony uses its own version of CEC called BRAVIA Sync.
We just need a few years of hacking it:)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4463
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #10 on: February 10, 2011, 03:57:31 am »
All HDMI hardware includes the CEC protocol wires. Though few includes all CDC features, and most of them use proprietary ones, I would bet that those that do have CEC functionality support turning device ON and OFF.

Read more here:
http://forum.linuxmce.org/index.php?topic=9664.0

So if your TV has HDMI then it has the CEC wires. Sony uses its own version of CEC called BRAVIA Sync.
We just need a few years of hacking it:)

Your right about CEC... but the problem is every manufacturer implements it in a proprietary way and therefore as you say it will take years of trial and error to get any kind of cross vendor support in place. With UPnP's RenderingControlService we are likely to see a lot of manufacturers get on board and they can add it and update in simple over-the-air updates that dont rely on specific hardware.

We expect to see Sony, Panasonic, LG and Philips support the RenderingControlService before the end of the summer this year in pretty much all of their lineups.

All the best


Andrew
Andy Herron,
Convergent Home Technologies Ltd

My Blog; http://ellipticalcurve.com

Get RaspSqueeze-CEC Wifi enabled for Dianemo/LinuxMCE: http://wp.me/P4KgIc-7C

Contact me for Smart Home consulting advice here;
@herron on Twitter, inquiries@ellipticalcurve.com via email or PM me here.

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

Sigg3.net

  • Veteran
  • ***
  • Posts: 64
    • View Profile
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #11 on: February 11, 2011, 11:36:38 am »
Sounds great, tm, I didn't know about RenderingControlService!

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3020
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #12 on: February 05, 2012, 11:08:07 am »
Hello Andrew,

[..]
We expect to see Sony, Panasonic, LG and Philips support the RenderingControlService before the end of the summer this year in pretty much all of their lineups.
[..]

did the manufacturers meet your expectations?

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4463
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #13 on: February 05, 2012, 11:19:57 am »
Hello Andrew,

did the manufacturers meet your expectations?

Yes some have - Panasonic and Sony in particular.
Andy Herron,
Convergent Home Technologies Ltd

My Blog; http://ellipticalcurve.com

Get RaspSqueeze-CEC Wifi enabled for Dianemo/LinuxMCE: http://wp.me/P4KgIc-7C

Contact me for Smart Home consulting advice here;
@herron on Twitter, inquiries@ellipticalcurve.com via email or PM me here.

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

dextaslab

  • Veteran
  • ***
  • Posts: 75
    • View Profile
    • modlog.net
Re: Can I control a DLNA device (SONY TV) from Linuxmce?
« Reply #14 on: August 17, 2014, 09:41:41 am »
Hi, I know this is an old topic, but... Most* Sony TV's (2011+) with network cards can be controlled using the Sony Virtual Remote  (v1.2 is the latest I could find). It uses IRCC (some kind of UPNP or DLNA derivative) to communicate with the TV:

Ircc_Xml\Bravia_default.xml
 <command name="Power" type="ircc" value="AAAAAQAAAAEAAAAVAw==" />
  <command name="Display" type="ircc" value="AAAAAQAAAAEAAAA6Aw==" />
  <command name="VolumeUp" type="ircc" value="AAAAAQAAAAEAAAASAw==" />
  <command name="VolumeDown" type="ircc" value="AAAAAQAAAAEAAAATAw==" />
  <command name="Mute" type="ircc" value="AAAAAQAAAAEAAAAUAw==" />

The virtual remote works fine after it's paired to the tv. I'm just trying make a device template to accommodate it... If anyone can point me in the right direction it would be appreciated  ;D