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: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http:>
<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 ?