Airplay to raspberry pi

Posted on
Fri Apr 03, 2020 3:41 am
siclark offline
Posts: 1669
Joined: Jun 13, 2017
Location: UK

Airplay to raspberry pi

I came across this and wondered if a pi with an audio hat running this software would be a cheap option to get music to ceiling speakers that have been waiting years for me to be able to afford a sonos amp for them. I cant drop £1000+ on 2 amps to get music to 2 bathrooms that only occasionally need it.

https://www.raspberrypi.org/forums/view ... p?t=239964

with

https://uk.rs-online.com/web/p/interfac ... -(GB:Whoop!)+Interface+Development+Kits-_-PRODUCT_GROUP&matchtype=&pla-333115658150&s_kwcid=AL!7457!3!429003103808!!!g!333115658150!&gclid=CjwKCAjwvZv0BRA8EiwAD9T2VbGUQgoq1e9LNbKmIe-9aXNNPRPT-YHNH9CdKFjGQ6X93NO3CSM8FRoC7pkQAvD_BwE&gclsrc=aw.ds

I wondered if anyone had tried this or has other similar solutions

Thanks

Posted on
Fri Apr 03, 2020 5:13 am
neilk offline
Posts: 568
Joined: Jul 13, 2015
Location: Reading, UK

Re: Airplay to raspberry pi

I built a Pi (Model 2 or 3 I cannot remember) using https://www.runeaudio.com with a cheap amplifier powering some ceiling speakers. Or application is a long loop of ambient forest sounds (the staircase has massive prints of giant redwoods in our office) but it also can be used as an airplay speaker. About once every year I need to reboot it but other than that works a treat.

Posted on
Fri Apr 03, 2020 5:25 am
neilk offline
Posts: 568
Joined: Jul 13, 2015
Location: Reading, UK

Re: Airplay to raspberry pi


Posted on
Fri Apr 03, 2020 6:16 am
Swancoat offline
Posts: 503
Joined: Nov 20, 2009
Location: Houston

Re: Airplay to raspberry pi

I had been doing this for a while using a pi running ShairPort Sync. Previously I had an Airport Express I was using, but went to this solution mainly because I wanted access to the metadata. To that end, I also wrote a plugin which can read that metadata and publish to other plugins and also transmit play controls back to the server (or is it client? Whatever. The device streaming the music). http://www.indigodomo.com/pluginstore/144/ .

I've since retired that pi from my system due to improvements on other fronts that made it unnecessary - which means it's also unlikely that I'll be making any updates or anything to it. Feel free to take it over if you'd like.

http://nerdhome.jimdo.com

Posted on
Fri May 01, 2020 2:21 am
siclark offline
Posts: 1669
Joined: Jun 13, 2017
Location: UK

Re: Airplay to raspberry pi

I ended up getting a HiFiBerry Amp2 and a Pi (bought a 4 as cheaper than a 3, but think it runs on a pretty basic board), and its working great.

https://www.hifiberry.com/shop/boards/hifiberry-amp2/

Took barely longer than the time to flash 650Mb onto a SSD card to be up and running. A quick configure to rename airplay device and it was up and running. Interested to know if I could run it on a device also running say pibeacon, especially as its a Pi4. Would save a few pennies in setup costs, but still much cheaper than a Sonos Amp!

Posted on
Mon Aug 17, 2020 9:00 pm
whmoorejr offline
User avatar
Posts: 574
Joined: Jan 15, 2013
Location: Houston, TX

Re: Airplay to raspberry pi w/ Kiosk (Control Page)

+1 on using shairport sync.

Here are the steps I followed to install it on a headless pi. https://appcodelabs.com/7-easy-steps-to-apple-airplay-on-raspberry-pi

I also added a kiosk mode to it. No desktop on the pi, just chromium which boots directly to a control page. https://die-antwort.eu/techblog/2017-12-setup-raspberry-pi-for-kiosk-mode/

Bill
My Plugin: My People

Posted on
Tue Aug 18, 2020 2:23 am
agame offline
Posts: 505
Joined: Jul 13, 2017
Location: Melbourne, Australia

Re: Airplay to raspberry pi

These are all original AirPlay (not AirPlay2), right? So. multi-room playback from iPhone not supported?

I've seen references to AirPlay2 having been cracked, but not seen it around.

The old Airport Express supports AirPlay 2.

Posted on
Tue Aug 18, 2020 2:26 am
siclark offline
Posts: 1669
Joined: Jun 13, 2017
Location: UK

Re: Airplay to raspberry pi

They do say airplay 2 but agree, it doesnt seem to support multi room.

Posted on
Tue Aug 18, 2020 9:20 am
whmoorejr offline
User avatar
Posts: 574
Joined: Jan 15, 2013
Location: Houston, TX

Re: Airplay to raspberry pi

siclark wrote:
it doesnt seem to support multi room.


I've always used Airfoil Satellite on my iOS device to do multi-room.

siclark wrote:
Interested to know if I could run it on a device also running say pibeacon, especially as its a Pi4.


My Pi3, when running an indigo control page and while streaming music is running at around 30% on 1 of 4 of the processors..... So I think there is plenty of pi power to run the beacon. But only about 50% of RAM available. Pi4 can be purchased with more memory than a 3.

Bill
My Plugin: My People

Posted on
Wed Dec 01, 2021 3:37 pm
siclark offline
Posts: 1669
Joined: Jun 13, 2017
Location: UK

Re: Airplay to raspberry pi

For anyone using HiFiBerry their latest software out in the last week, which your device might not have picked up yet, now supports Airplay 2 for proper multi room audio.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest