Access Keys:
Skip to content (Access Key - 0)

It has been a few month since I have made a post about the UPnP integration for the OpenRemote Controller. I have in my previous post discussed about the possibilities of UPnP. Now, here is a quick video of this implementation in action.

http://www.youtube.com/watch?v=NbJDTnPtMKY

The "scene" takes place with an iPod touch, where the OR app has been installed. The controlled device is the virtual UPnP light which is part of the Intel® Tools for UPnP. The action are simply "On" and "Off".

Here is the controller's xml code which has been used :

<?xml version="1.0" encoding="UTF-8"?><openremote xmlns="http://www.openremote.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.openremote.org http://www.openremote.org/schemas/controller-1.0-M3.xsd">
<buttons>
  <button id="4">
   <event>6</event>
  </button>
  <button id="5">
   <event>7</event>
  </button>
 </buttons>
 <events>
  <irEvents/>
  <knxEvents/>
  <httpEvents/>
  <upnpEvents>
   <upnpEvent id="6" label="On" device="uuid:3724a423-1569-489b-907b-98ee8bc0d413" action="SetTarget">
    <upnpEventArgument name="newTargetValue" value="True"></upnpEventArgument>
   </upnpEvent>
   <upnpEvent id="7" label="Off" device="uuid:3724a423-1569-489b-907b-98ee8bc0d413" action="SetTarget">
    <upnpEventArgument name="newTargetValue" value="False"></upnpEventArgument>
   </upnpEvent>
  </upnpEvents>
 </events>
</openremote>

Unfortunately, for now, the parameters (device's id, action to trigger, arguments...) have to be filled manually. Doing it using the composer might be complex has it needs a local discovery and some basic processing.

Also, yet, only A/V products are widely UPnP compatible. Lights, as in this video, is still a developping case. Maybe someday a manufacturer will sell UPnP controlled bulbs with a wifi/IP stack ?

Added by Mathieu Gallissot , last edit by Administrator on Sep 28, 2009 09:21

  1. Feb 08, 2010

    Marcus Redeker says:

    Mathieu, did you do some more work on the UPNP integration. I was wondering if ...

    Mathieu,

    did you do some more work on the UPNP integration. I was wondering if it would be possible to have the OpenRemote controller act as a control point for UPNP audio/video (audio more important for me right now). I would like to use OpenRemote to tell my Musicpal (MP3 player and UPNP renderer) to play a certain song from my UPNP server (Twonkey). The ultimate goal would be to see/search songs/playlists from the iPhone console and have them be played on my Musicpal. I want to have 2 or 3 Musicpals to use as renderes as input sources for my Russound multiroom amp.

    --Marcus

    1. Feb 09, 2010

      Mathieu Gallissot says:

      Yes, it is possible with the actual integration do have panel's button which are...

      Yes, it is possible with the actual integration do have panel's button which are triggering UPnP action for playing a particular song. Testing a few devices (mostly Sonos and XBMC), there is some differences in the implementation of the protocol. In some cases, some macros may be necessary.
      If you have UPnP enabled devices, have a look with some UPnP tools (I recommend the Intel UPnP suite, using the "device spy" software). You will be able to see which action are possible and also how to use them, and prepare the iphone.xml spec for OR.
      Mathieu

      1. Feb 14, 2010

        Marcus Redeker says:

        Great, thanks Mathieu. I was able to configure iphone.xml and controller.xml to ...

        Great, thanks Mathieu.
        I was able to configure iphone.xml and controller.xml to control my Musicpal MP3 player.
        Now I am able to use OpenRemote to control the device.

        All we need now is to implement a more complete control point so that you can transfer a list of available songs to the iPhone and select a song which should be played. In the moment this is hard coded into the controller.xml file.

© 2008-2011 OpenRemote Inc. OpenRemote is a trademark of OpenRemote, Inc.
Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10.3, the Enterprise Wiki.
Free theme builder license