We have moved at community.getvera.com

Author Topic: [_CODE_] Squeezebox Preset Button device - SPB V0.3  (Read 5782 times)

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
[_CODE_] Squeezebox Preset Button device - SPB V0.3
« 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
« Last Edit: May 08, 2012, 12:57:31 pm by Ap15e »

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #1 on: January 13, 2012, 07:41:06 pm »
Please upgrade to V0.3 (fixes for UI5).

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #2 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.
Dezwaved at the moment...

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #3 on: January 19, 2012, 03:59:21 am »
Boom or Radio?

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #4 on: January 19, 2012, 06:31:42 am »
Dezwaved at the moment...

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #5 on: January 19, 2012, 04:26:24 pm »
AFAICT, for the Squeezebox Boom there is no need to assign a preset locally.

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #6 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. :)
« Last Edit: February 26, 2012, 02:18:46 pm by oTi@ »
Dezwaved at the moment...

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #7 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 ...  :)

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #8 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

Offline myhomeserver

  • Hero Member
  • *****
  • Posts: 874
  • Karma: +3/-5
  • http://www.MyZwave.net
Re: [_CODE_] Squeezebox Preset Button device - SPB V0.3
« Reply #9 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!
MyZWave.net - See Our Z-Wave product Reviews
(formerly MyHomeServer)