rederikus wrote: 
> I have three PiCorePlayers, two Logitech Boom players and two Logitech
> Radios all working from a Squeezeplug running on a Raspberry Pi B.  One
> of the PiCorePlayers is connected to a 2 x 300Watt (RMS into 8 Ohms)
> amplifier that runs my single zone whole house sound system.  This whole
> system is in the (well ventilated) top of a closet.  
> 
> I switch it on and off via the Android Squeezebox app.  I built a little
> bit of electronics that senses sound coming out of the Pi + Behringer
> UCA-222 USB interface.  Once it senses a signal, it operates a mains
> relay that turns on the amp.  It stays on until about 2 minutes after
> the signal stops.
> 
> So far it has been very reliable.  However it would be very nice if a
> Raspberry PI GPIO pin could change state when the PiCorePlayer (the Pi
> is always powered on and ready) is switched on via the Android app. 
> This is analogous to powering on a Boom via the same app and seeing the
> screen light up.
> 
> If I could use this positive On/Off signal to activate my relay then I
> could dispense with my signal sensor.  Why?  Mrs. rederikus sometimes
> turns the things down so low that if it is activated later with a quiet
> piece of music then, sometimes it does not activate.  Mrs. rederikus
> then complains to me that it does not work.  OK, I could always play
> only very loud music but, I like Pink Floyd a lot and some bits are just
> quiet.
> 
> If anybody knows of a GPIO pin that toggles when PiCorePlayer is
> activated (not powered up) I would be most grateful.
> 
> Thanks in advance.

Hi rederikus,

This is close to what you want.

regards
Greg

Greg Erskine wrote: 
> hi palmerx,
> 
> I don't want to discuss this topic here because it doesn't fit with
> piCorePlayer as a software only solution. As soon as we add DIY hardware
> we risk damage to your Raspberry Pi and in this case we "may" be
> switching main voltage, so personal injury can be a possibility if you
> don't have the qualifications. Some amps may have the control relay
> built-in so we are only switching low voltage which is obviously not too
> dangerous. There are too many options to support.
> 
> I know the guys at Pink Fish Media are hard core DIYers, with a lot of
> experience in hardware and software design and implementation, so they
> know the risks involved. So you may want to follow this thread and see
> where it leads.
> 
> http://www.pinkfishmedia.net/forum/showthread.php?t=165465
> 
> regards
> Greg


------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to