The Vera Community forums have moved!

Advanced => Plugins & Plugin Development => Programming => Squeezebox Plugin => Topic started by: Ap15e on January 12, 2012, 08:44:45 pm

Title: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: Ap15e on January 12, 2012, 08:44:45 pm
EOL, unsupported.

Theory of Operation:
The SPB 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 LMS_IP_address, LMS_CLI_port (9090), LMS_playerid (MAC address) and restart LuaUPnP.

Usage:
Create a scene, add event 'Preset button pressed', save your changes, restart LuaUPnP, enjoy your new Logitech scene controller.

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

Download:
https://docs.google.com/open?id=0Bz4omZm4gYcsOGZhNGQ2NzktZjg5ZS00NjYzLWI3OTktN2UwMjVjZjFlMWIy
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: Ap15e on January 13, 2012, 07:41:06 pm
Please upgrade to V0.3 (fixes for UI5).
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: oTi@ on January 18, 2012, 09:28:05 pm
Good stuff! 8)

As mentioned in the Limitations, I did have to assign a preset locally for the event to be received.
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: Ap15e on January 19, 2012, 03:59:21 am
Boom or Radio?
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: oTi@ on January 19, 2012, 06:31:42 am
Boom or Radio?
Radio.
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: Ap15e on January 19, 2012, 04:26:24 pm
AFAICT, for the Squeezebox Boom there is no need to assign a preset locally.
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: oTi@ on February 26, 2012, 02:16:21 pm
[...] I did have to assign a preset locally for the event to be received.
- 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 ToggleState action on the Advanced tab).
=> Works; Squeezebox Radio button now toggles an appliance module. :)
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: Ap15e on February 26, 2012, 03:18:08 pm
I just counted the buttons on the front panel of my Transporter - 14 buttons! Well, quite an expensive scene controller ...  :)
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: Ap15e on February 26, 2012, 03:32:02 pm
BTW, it looks like the 'display duration' CLI bug (affected devices: Radio and Touch) is finally being worked on:

http://forums.slimdevices.com/showpost.php?p=692361&postcount=16
Title: Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
Post by: myhomeserver on March 07, 2012, 10:24:15 am
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!