Page 1 of 1

Controlling Squeezebox

Posted: Tuesday 19 September 2017 12:31
by nickgosling
I am trying to control my squeezebox players. I have installed the LMS hardware plugin and that works for turning the players on and off with a script or blockly. However I am trying to be more creative. What I want is to make a scene that is excecuted by a button push that plays the radio, at a set volume and then when it is pushed again will turn it off. I have managed to get this working for turning the SB on but that is as creative as it gets. Has anyone had any success with this that can pass on some knowledge or can point me in the right direction.

Thanks

Re: Controlling Squeezebox

Posted: Tuesday 19 September 2017 12:37
by JelteV
I'm interested in this as well.

Controlling Squeezebox

Posted: Tuesday 19 September 2017 12:42
by pvm
Check this link viewtopic.php?t=18835#p146388
2nd page, post by freakshock

Re: Controlling Squeezebox

Posted: Saturday 23 September 2017 19:21
by philchillbill
The docs for the CLI for LMS are on your server locally under http://192.168.x.y:9000/html/docs/help.html (where x and y should reflect the IP address of your server instance. If you look at the perl example script I wrote at

https://www.domoticz.com/wiki/Logitech_ ... ox_Players

you will see how to build a script that executes several LMS commands in sequence (in this case, to play alerts soundfiles). That should make a nice basis to build what you want to achieve :mrgreen:

Re: Controlling Squeezebox

Posted: Tuesday 26 September 2017 15:59
by nickgosling
Oh my word. Under my nose all the time. I have just found the reference and will update this feed when I work out how to achieve what I am trying to do. Thanks again. Top man