I’m new to the RPi, but have done Arduino projects before. I’d like to make a set of home brew Airplay speakers and Volumio looks like an excellent way to do it in conjunction with a RPi, DAC, ClassD amp and a speaker box. One thing I’d like some advice on is power management. I’d like to reduce power when the speaker is not in use by switching power to the amp via one of the GPIO pins on the RPi. I’d like it to power on when an Airplay signal is present and switch off after a programmable timeout.
I’m not familiar with Volumio yet, so I’d like some advice from someone with a bit more experience. Would I need to get into the Volumio source code or is there an easy way of activating a script when Airplay is working? Is it difficult to access to the GPIO pins?