EOL, unsupported.
Preliminary information:
[tt]UGC[/tt] is a Lua script that creates a Luup device ([tt]D_.xml, D_.json, I_.xml, S_.xml[/tt]) for UPnP devices.
Preliminary instructions:
- Import your [tt]UPnP[/tt] device via MiOS.
- Fix the imported Luup device, see [tt]http://forum.micasaverde.com/index.php/topic,10165.0.html[/tt].
- Paste [tt]UGC[/tt] into the ‘Test Luup code (Lua)’ window.
- Adjust the user-adjustable settings (‘BEGIN/END user-adjustable setting’) to your needs.
- Press ‘Go’.
- Create the device: Upnp Device Filename: D_<COMPILED_DEVICE_NAME>.xml
- Restart [tt]LuaUPnP[/tt] several times.
Limitations:
GIGO-ware (garbage in, garbage out)
UI5 only
[tt]ControType[/tt]s supported: [tt]button, label, variable[/tt]
Doesn’t overwrite existing files (files must be deleted manually).
Affected by bug [tt]http://bugs.micasaverde.com/view.php?id=2329[/tt].
History:
V0.2: support for ControlType ‘variable’ (polling only)
Justification for polling:
Excerpt from AVTransport:3 Service SDCP:
Each control point can poll for these values at a rate appropriate for their application, whenever they need
to. For example, a control point can invoke GetPositionInfo() every second when the TransportState is
“PLAYING”, “RECORDING” or “TRANSITIONING”. This is more efficient and flexible than requiring
event notifications to be sent to all subscribing control points, in all cases.
Download:
[tt]https://docs.google.com/open?id=0Bz4omZm4gYcsM0NEVEtQdWhGT1k[/tt]