The plugin seems to work for me (physical connection between Vera and SBS, SBS clients connected via WLAN).
Installation instructions for the beta plugin:
[ul][li]@Vera: Install the plugin. You will get a new device on the GUI: the Squeezebox controller[/li]
[li]@Vera: Open the settings page for the new Squeezebox controller → ‘Advanced’ tab → ‘serverIP’: enter the IP address of your SBS → ‘serverPort’: 9090 (9090 is the default SBS port for the SBS CLI interface - do not change the port unless you know what you are doing).[/li]
[li]@SBS: Start your SBS and make sure that the SBS does detect your player(s).[/li]
[li]@Vera: Close the settings page and click the red ‘SAVE’ button. In addition to the Squeezebox controller you will now get a new player device for each player connected to your SBS[/li]
[li]Test the setup: @SBS: play a song, @Vera: open the settings page of the player (not the settings page of the Squeezebox controller), ‘Advanced’ tab, ‘SongName’ must contain the name of the currently playing song.[/li][/ul]
Use the Luup Lua extensions (http://wiki.micasaverde.com/index.php/Luup_Lua_extensions) or Vera’s scenes (‘Advanced’ tab, see attachment) to control your physical player(s). You will need the device id(s) for your physical player(s). The device ids are on the ‘Advanced’ tab to the right of ‘id’ just below ‘device_file’.
The following UPnP actions are implemented:
[ul][li]For UPnP service urn:micasaverde-com:serviceId:MediaNavigation1:
Play, Pause, Stop, Rewind (previous track), QuickSkip (next track)[/li]
[li]For UPnP service urn:schemas-upnp-org:serviceId:RenderingControl1:
SetVolume[/li][/ul]
The following UPnP variables are implemented:
[ul][li]For UPnP service urn:micasaverde-com:serviceId:SqueezeBox1:
playerId, SongName, PlayerStatus[/li]
[li]For UPnP service urn:micasaverde-com:serviceId:MediaNavigation1:
TargetVolumeLevel[/li][/ul]
Some examples for device id 16837:
[ul][li]luup.call_action( ‘urn:micasaverde-com:serviceId:MediaNavigation1’, ‘Pause’, {}, 16837 )[/li]
[li]luup.call_action( ‘urn:micasaverde-com:serviceId:MediaNavigation1’, ‘Play’, {}, 16837 )[/li]
[li]luup.call_action( ‘urn:micasaverde-com:serviceId:MediaNavigation1’, ‘Stop’, {}, 16837 )[/li]
[li]luup.call_action( ‘urn:micasaverde-com:serviceId:MediaNavigation1’, ‘Rewind’, {}, 16837 )[/li]
[li]luup.call_action( ‘urn:micasaverde-com:serviceId:MediaNavigation1’, ‘QuickSkip’, {}, 16837 )[/li]
[li]luup.call_action( ‘urn:schemas-upnp-org:serviceId:RenderingControl1’, ‘SetVolume’, { DesiredVolume = “10” }, 16837 )[/li][/ul]
[ul][li]local value = luup.variable_get( ‘urn:micasaverde-com:serviceId:SqueezeBox1’, ‘playerId’, 16837 )[/li]
[li]local value = luup.variable_get( ‘urn:micasaverde-com:serviceId:SqueezeBox1’, ‘SongName’, 16837 )[/li]
[li]local value = luup.variable_get( ‘urn:micasaverde-com:serviceId:SqueezeBox1’, ‘PlayerStatus’, 16837 )[/li]
[li]local value = luup.variable_get( ‘urn:micasaverde-com:serviceId:MediaNavigation1’, ‘TargetVolumeLevel’, 16837 )[/li][/ul]
Further information:
http://wiki.micasaverde.com/index.php/Squeezebox.