I have been looking forward to the luup to be able to control my sonos system.
I have been able to extract the upnp xml files from the sonos and upoaded these to Vera, but I do not seem to have any success when adding a device ref “go to the Devices tab and at the bottom fill in the UPnP Device filename in the ‘Add Device’ box and pick a room.”
I have tried
“/xml/myfilename.xml”
“myfilename.xml”
“myfilename”
But the added device doesnt do anything. Control by is to “PC” - that is all I can see.
I guess i have figured out that I need a ImplementationFile tag…
Here is part of the TestSerial:
I_TestSerial.xml
I do not have this in my Sonos upnp Device files. Is this Vera specific?
How should I go about implementing this?
I assumed that as a upnp certified product I would be able to “out-of-the-box-using lua” control the Sonos. Am I going the wrong direction here? Should I keep looking for the upnp device implementation or should it be possible for Vera to automaticaly control upnp devices?
The implementation file is unique to Vera. It contains the Lua script saying what Vera should do with the UPNP actions. The standard UPNP spec only defines what the actions are, and doesn’t have anything to do with how the actions are implemented. So the question is: What are you trying to do with the Sonos?
I assume you’re wanting Vera to control the Sonos, right? In that case, this is the wrong angle. You don’t want Vera to be a UPNP device. Rather you want Vera to be a UPNP Control Point for the Sonos. Unfortunately, the control point module isn’t implemented yet. So I think you’ll have to wait for us to finish that to do what you want. When it is done, you don’t actually do anything to use the Sonos–you don’t import the files or anything. The Sonos just automaically shows up in the device list.
Next week we’re going to release the Luup engine to the public (ie non-developers) as an official beta; we finished the translation engine from pre-Luup to Luup engine. So it just depends on how many bugs are flushed out during that beta. Getting the existing functionality solid is our first priority, but as soon as it is, this is next on the list of new stuff.
Anker, we’ve finished the control point module and it will be available in our next release along with the new UI, with it you should be able to control your Sonos device. We should release a test version most probably at the end of this week.
Me too! Can’t wait to test. Controlling Sonos through something that also controls, lights, security, etc. is perfect. Now for a touch panel that can integrate it all together! Perhaps an Apple tablet on Jan 27th?