Re: [SlimDevices: Plugins] Squeezelite soft power off/on detect

2015-01-11 Thread philippe_44
Greg Erskine wrote: > hi britcowboy, > > Accessing the GPIOs on a Raspberry Pi is easy, but I don't know how to > interface to the real world on a mac. I suppose there are solutions? > > regards > Greg If you look at squeezelite code, in slimproto.c, the messages for on/off are received in pro

Re: [SlimDevices: Plugins] Squeezelite soft power off/on detect

2015-01-03 Thread Greg Erskine
britcowboy wrote: > Thanks Greg, that looks like it will do just what I'm looking for! > Probably better than my solution as people will no doubt forget to soft > power off anyway. > > The server and clients are on a mac (long story short, I have airplay > speakers that I've hacked using shell

Re: [SlimDevices: Plugins] Squeezelite soft power off/on detect

2015-01-03 Thread britcowboy
Thanks Greg, that looks like it will do just what I'm looking for! Probably better than my solution as people will no doubt forget to soft power off anyway. The server and clients are on a mac (long story short, I have airplay speakers that I've hacked using shell scripts, squeezelite and airfoi

Re: [SlimDevices: Plugins] Squeezelite soft power off/on detect

2015-01-03 Thread Greg Erskine
hi britcowboy, This solution is not exactly what you are asking for but I think the result is... if you are using a Linux player. http://www.pinkfishmedia.net/forum/showthread.php?t=165465 The shell script monitors LMS for squeezelite activity, after a fixed period of inactivity the amp is turn

[SlimDevices: Plugins] Squeezelite soft power off/on detect

2015-01-02 Thread britcowboy
Hi Folks, I was curious about catching the soft power on/off events on a squeezelite client in order to run some commands on the back of it, like switching amps on/off via wifi power sockets, and programs etc. Does a plugin like this exist? If not, do I have to create my own plugin, how easy is