Is there a kind of plugin standard defined for plugins controlling A/V or TV equipments ?
List of actions to implement…
The service descriptions for the Transmitter component (like a USB UIRT etc) are here:
http://wiki.micasaverde.com/index.php/Luup_UPNP_Files
But they not documented the standard AV service hooks. You can see the implemented in the various AV plugins on code.mios.com, although you’ll still need to read the underlying S_*.xml files for their complete definitions (since the services often aren’t completely implemented)
So the stand really exists ?
Yes. It’s been around for a while, just not well documented. It’s more documented through example at this time.
There are a bunch of different S_*.xml files, each covering different “spaces” of the function subset for AV (Media Control, Menu Control, Power Management, etc). Each of these S_ files has a corresponding “av” ServiceId, and there’s also a prefab set of “av” device types.
The easiest way to find these is to run "
This yields:
root@MiOS_57005:~# strings /usr/bin/LuaUPnP | grep :device:".
urn:schemas-micasaverde-com:device:tv:1
urn:schemas-micasaverde-com:device:cable:1
urn:schemas-micasaverde-com:device:satellite:1
urn:schemas-micasaverde-com:device:videoaccessory:1
urn:schemas-micasaverde-com:device:vcrdvd:1
urn:schemas-micasaverde-com:device:dvdbluray:1
urn:schemas-micasaverde-com:device:receiver:1
urn:schemas-micasaverde-com:device:amp:1
urn:schemas-micasaverde-com:device:cd:1
urn:schemas-micasaverde-com:device:mischomecontrol:1
urn:schemas-micasaverde-com:device:avmisc:1
The serviceId’s can be found similarly:
urn:micasaverde-com:serviceId:DiscretePower1
urn:micasaverde-com:serviceId:InputSelection1
urn:micasaverde-com:serviceId:MediaNavigation1
urn:micasaverde-com:serviceId:MenuNavigation1
urn:micasaverde-com:serviceId:Misc1
urn:micasaverde-com:serviceId:NumericEntry1
urn:micasaverde-com:serviceId:PIP1
urn:micasaverde-com:serviceId:TogglePower1
urn:micasaverde-com:serviceId:Tuning1
urn:micasaverde-com:serviceId:TV1
urn:micasaverde-com:serviceId:VideoAdjustment1
urn:micasaverde-com:serviceId:Volume1
urn:micasaverde-com:serviceId:WMC1
Once you’ve done this, then Vera’s IR Devices will be dicovered by Control Points that are setup to handle this, like SquareConnect’s SQRemote HD
[quote=“guessed, post:4, topic:171757”]The easiest way to find these is to run "
This yields:
root@MiOS_57005:~# strings /usr/bin/LuaUPnP | grep :device:".
urn:schemas-micasaverde-com:device:tv:1
urn:schemas-micasaverde-com:device:cable:1
urn:schemas-micasaverde-com:device:satellite:1
urn:schemas-micasaverde-com:device:videoaccessory:1
urn:schemas-micasaverde-com:device:vcrdvd:1
urn:schemas-micasaverde-com:device:dvdbluray:1
urn:schemas-micasaverde-com:device:receiver:1
urn:schemas-micasaverde-com:device:amp:1
urn:schemas-micasaverde-com:device:cd:1
urn:schemas-micasaverde-com:device:mischomecontrol:1
urn:schemas-micasaverde-com:device:avmisc:1
[/quote]
I don’t find D_*.xml files defining these types ?
There are one or two, with names like AvMisc, but now you start to see what I mean by not documented…