Simon_rb wrote: 
> When my squeezebox touch is turned on I need to send a JSON command to
> my raspberry pi which will in turn switch on both of my amps - and
> another command to turn it off again when the touch is turned off. How
> would I modify this to send the command? Below is and example command
> that needs to be sent:- 

Hi Simon,

as mentioned already somewhere else (but since it may be also helpful
for other readers ...) your scenario seems to be similar to the one I
had and led to development the SBNetIO plugin. The plugin is presented
in detail on the ' SBNetIO homepage '
(http://code.google.com/p/sbnetio/). 

The plugin should support your case out of the box - you can also
specify a "turn-on pause period" to pause playback while your amps start
up and a "turn-off delay" to avoid shutdown of amps every time you pause
playback for a reason. 

There is also a short ' thread in this forum thread'
(http://forums.slimdevices.com/showthread.php?100514-Yet-another-Remote-Control-Plugin-SBNetIOhttp://)
.



Primary System: LMS on Win 7 PC, 4 SBT, 1 Duet, 1 piCorePlayer &
HifiMeDIY Sabre II DAC, 2 Duet Controller, 2 iPods, 1 iPhone (iPeng),
Sony XPeria Mini & ION,  Android Tablet (SqueezeControl, OrangeSqueeze,
SqueezeCommander) -- Secondary System: Mobile Server based on
SqueezePlug on RaspBerry PI

Visit 'SBNetIO' (http://code.google.com/p/sbnetio) - yet another remote
control plugin.
------------------------------------------------------------------------
cadfish's Profile: http://forums.slimdevices.com/member.php?userid=58296
View this thread: http://forums.slimdevices.com/showthread.php?t=99977

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to