Hi everyone,
I’m not really sure that this is the correct section, but I didn’t find a suitable one…
I use a raspberry with volumio installed to drive two speakers via Airplay.
Because the speakers (and also the raspberry) are located in a not easily reachable position, I need to leave the speakers always on.
My idea is to use a usb relay to turn on and off the speakers.
Now I made a very simple php page and whenever i want to listen to the music, I turn on the relay using that page.
BUT:
Is it possible to do this automatically ? I mean, is it possible to setup a script that detects when anything is sent to the speakers (HiFiBerry DAC) and turn on and off the relays ?
I hope that I have been clear enough…
Thank you for any help, unfortunately it is a rather urgent matter, because I need to move all this device to my holydays house by the end of november.
Carlo.