How to Turn your Raspberry Pi Zero W into an Airplay Streaming Adapter for the Apple iPod Hi-Fi


Hardware needed

- Raspberry Pi to iPod HiFi 30-pin-dock Adapter for Airplay Audio Streaming from Poolside Factory. Comes with standoffs and screws to mount to the Raspberry Pi Zero form factor.

- Raspberry Pi Zero W or Raspberry Pi Zero 2 W, either with connector header soldered on.  The 'W' version is necessary for this application.

- SD Card with capacity of 4GB or higher



If you already have an SD card with a working Raspberry Pi image that you can log into over WiFi, you can use that one, otherwise you can follow these steps to create a fresh one.

Log in to your Raspberry Pi.

Change the hostname of your Raspberry Pi to what you want the name to be that shows up as the Airplay speaker name that you can stream to. For this, use raspi-config as shown in the above mentioned steps

Run these commands to bring your Raspberry Pi image up to date and install all the necessary packages (can take 20ish minutes, make sure the shell has your sudo password before you copy-paste the whole block - for instance by running 'sudo ls' first):

sudo apt-get update -y && sudo apt-get -y dist-upgrade && sudo apt-get install -y autoconf automake avahi-daemon build-essential git libasound2-dev libavahi-client-dev libconfig-dev libdaemon-dev libpopt-dev libssl-dev libtool xmltoman vim
git clone
cd shairport-sync
autoreconf -i -f
./configure --with-alsa --with-avahi --with-ssl=openssl --with-systemd --with-metadata
sudo make install
sudo systemctl enable shairport-sync
sudo service shairport-sync start
Then edit the /boot/config.txt file using for instance nano or vim:
sudo nano /boot/config.txt
and change this line
to look like this line
Add this line right below the line you edited:
Exit and Save. Reboot your Raspberry Pi with
sudo reboot

Once your Raspberry Pi rebooted, the name you have given as hostname should show up among your Airplay speakers available to stream to. See an example here, I called mine iPodHifi-Garage.

Ready to play your favorite tunes :)

Streaming to an Airplay Speaker


If you need the adapter between your Raspberry Pi and the 30-pin Dock, you can order one here


Leave a comment

Please note, comments must be approved before they are published