[_CODE_] Squeezebox Preset Button device - SPB V0.3

EOL, unsupported.

Theory of Operation:
The [tt]SPB[/tt] device maps preset buttons 1-6 of your Squeezebox Boom/Radio to Luup events.

Requirements:
Squeezebox Radio or Squeezebox Boom, LMS (Logitech Media Server aka Squeezebox Server aka Slimserver)

Installation:
Set the variables [tt]LMS_IP_address, LMS_CLI_port[/tt] (9090), [tt]LMS_playerid [/tt] (MAC address) and restart [tt]LuaUPnP[/tt].

Usage:
Create a scene, add event ‘Preset button pressed’, save your changes, restart [tt]LuaUPnP[/tt], enjoy your new Logitech scene controller.

Limitations:
Not tested on UI5; button may not work if nothing is assigned to it locally.

Download:
[tt]https://docs.google.com/open?id=0Bz4omZm4gYcsOGZhNGQ2NzktZjg5ZS00NjYzLWI3OTktN2UwMjVjZjFlMWIy[/tt]

Please upgrade to V0.3 (fixes for UI5).

Good stuff! 8)

As mentioned in the Limitations, I did have to assign a preset locally for the event to be received.

Boom or Radio?

Radio.

AFAICT, for the Squeezebox Boom there is no need to assign a preset locally.

  • Googled up a button click sound and used that as the preset for the button.
  • Created a scene that toggles the device state (through the [tt]ToggleState[/tt] action on the [tt]Advanced[/tt] tab).
    => Works; Squeezebox Radio button now toggles an appliance module. :slight_smile:

I just counted the buttons on the front panel of my Transporter - 14 buttons! Well, quite an expensive scene controller … :slight_smile:

BTW, it looks like the ‘display duration’ CLI bug (affected devices: Radio and Touch) is finally being worked on:

[tt]http://forums.slimdevices.com/showpost.php?p=692361&postcount=16[/tt]

Thanks for this great plugin, I just installed it and my SB radio now controls a light in my office. Your contributions here are greatly appreciated!