Access Keys:
Skip to content (Access Key - 0)
blog entry  2009/09/27
Last changed: Sep 28, 2009 09:21 by Administrator

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 ?

Posted at 27 Sep @ 9:30 PM by user Mathieu Gallissot | comment 3 comments
© 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