News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Can I control a DLNA device (SONY TV) from Linuxmce?

Started by ladekribs, January 19, 2011, 01:56:58 PM

Previous topic - Next topic

ladekribs

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

looks like it's time to do some research, buddy. ;)

-Thom

Marie.O

Stefan,

best place to ask this would be your local Sony representative. But I would not put my hopes to high
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

ladekribs


@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

did you try to control it with the generic control point from gupnp? It has a nice upnp browser..
.
br Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

golgoj4

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
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

totallymaxed

Quote from: ladekribs 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

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,
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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

ladekribs


ladekribs

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

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

Quote from: Sigg3.net 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:)

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,
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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

Sigg3.net

Sounds great, tm, I didn't know about RenderingControlService!

Marie.O

Hello Andrew,

Quote from: totallymaxed on February 10, 2011, 03:57:31 AM
[..]
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?
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

totallymaxed

Quote from: posde on February 05, 2012, 11:08:07 AM
Hello Andrew,

did the manufacturers meet your expectations?

Yes some have - Panasonic and Sony in particular.
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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

dextaslab

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