Introduction: AirPlay Mirroring Without Apple TV (using RPi)

Picture of AirPlay Mirroring Without Apple TV (using RPi)

Ever wanted to mirror your iPhone, iPad, iPod or Mac to your TV, but you had no Apple TV?
Now you can without an Apple TV. With a Raspberry Pi and some free time you can transform your Pi into an AirPlay device that can mirror your iDevice to your TV using rPlay!

If you liked this instructable, please vote it! Thanks!

What you need:
1. A Raspberry Pi
2. A Wifi dongle or Ethernet connection
3. A PC
4. USB keyboard and mouse
5. An MicroSD card (4 GB or larger)
6. TV or a HDMI screen
7. HDMI cable
8. MicroUSB charger

Step 1: Preparing Your Pi

Picture of Preparing Your Pi

First, you must prepare your Pi!

Download the Raspbian image here:

Extract the image from the archive and plug your microSD card into your pc. Format it using SD Card Formatter (You can download it here: )

Using Win32DiskImager (Download it here: ), select the location of your Raspbian Image , the SD card drive and than press 'Write'

After the program finishes writing the OS to the SD card, unplug your SD card. You won't need the PC anymore. :)

Step 2: Setting Up Your Pi

Picture of Setting Up Your Pi

Now, it's time to set up your Pi!

Plug your microSD card, USB keyboard and mouse, Wifi dongle or Ethernet cable, HDMI cable into the Pi. After that plug the microUSB charger too. Wait for the Os to load and than you can login with pi as the username and raspberry as the password.When the configuration menu shows up, expand the filesystem and n Advanced Option select memory split and type 256 . After that, reboot the Pi. If you are using Wifi dongle, type startx to launch the desktop and than connect to your network.

After that, you must update your Pi to the newest version. Open a terminal and write:

sudo apt-get update

sudo apt-get upgrade

sudo rpi-update

and wait for the Pi to update. After that, reboot your Pi.

Step 3: Installing the Software

You must install the needed software:

sudo apt-get install libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl

wget -O rplay-1.0.1-armhf.deb

sudo dpkg -i rplay-1.0.1-armhf.deb

Now you have installed rPlay and it will run automatically on boot. Reboot your Pi.

Step 4: Activating RPlay

Picture of Activating RPlay

Before you use rPlay, you must enter the license key.

Launch the desktop and open the web browser.

Type http://localhost:7100/admin and hit enter.

The username is admin and password admin.

Scroll to the end of the page and enter the License key (License key: S1377T8072I7798N4133R)

Step 5: Connecting Your IDevice to RPlay

Picture of Connecting Your IDevice to RPlay

On your iDevice, go to Airplay and select rPlay(raspberry) . The mirroring should begin!

Android users can use the YouMap app in order to connect to rPlay.

If you liked this instructable, please vote it! Thanks!

The End!


ptt_on (author)2017-12-31

Sorry but i'm sitting for ages on a problem with a missing lib. Tried to copyform firmware repo but same error ever

pi@raspberrypi:~ $ sudo /etc/init.d/rplay status

● rplay.service - LSB: rplay server

Loaded: loaded (/etc/init.d/rplay; generated; vendor preset: enabled)

Active: active (exited) since Sun 2017-12-31 14:00:14 UTC; 3min 55s ago

Docs: man:systemd-sysv-generator(8)

Process: 477 ExecStart=/etc/init.d/rplay start (code=exited, status=0/SUCCESS)

CGroup: /system.slice/rplay.service

Dez 31 14:00:14 raspberrypi systemd[1]: Starting LSB: rplay server...

Dez 31 14:00:14 raspberrypi rplay[477]: Starting rplay:.

Dez 31 14:00:14 raspberrypi systemd[1]: Started LSB: rplay server.

Dez 31 14:00:14 raspberrypi rplay[477]: /usr/bin/rplay: error while loading shared libraries: cannot open shared object file: No such file or directory

May some body helps?

AIP06 (author)2017-11-29

when i put the, wget -O rplay-1.0.1-armhf.deb

it says ERROR 404 : not found

SohamS19 (author)2017-07-29

E: Command Line Option '0' [from -0] is not known.

ZanderP (author)SohamS192017-11-06

it's the capital letter O

dug1000 (author)2017-09-25

From reading the comments it seems that Apple has made it impossible to spoof airplay without an AppleTV. BUT...what if you hooked up a transceiver to the external monitor dock on the macbook? The idea is to fool your macbook into "thinking" it's plugged into a monitor when it is actually plugged into a wireless module. This could be done with a Sparkfun redboard ($20) and a transceiver module SparkFun WiFi Shield - ESP8266 ($15) or perhaps the electric imp another 802.11b/g/n transceiver. I suppose it would add another $60, at the most, to your project. Alas, I cannot think of a way to add sound, however.

BrunoH34 (author)2017-09-02

Hello, "localhost" do not open in my raspberry, somebody can help me?

MartinD193 (author)2017-02-21

Thanks for the instructions! Everything went fine while installing, but it doesn't show up on any iOS device. Any ideas?

ranswers (author)MartinD1932017-04-06

Nothing shows up for me too. Make sure you are on the same network as your pi.

JohnP671 (author)2017-03-02

Will this work without being on a wireless network, say in a car.

ranswers (author)JohnP6712017-04-04

No airplay uses wifi

JeradA (author)2017-02-19

I can reach the admin page and successfully edit settings but nothing ever shows up on iphone or imac. I am pretty sure that since 10.10 and def since 10.11 OSx Airplay spoofing like this has been patched

jjhuffo (author)2017-02-07

Never could make this work. Try Volumio, it works with Airplay, Spotify, NAS, internet radio and more. You do need to devote a Pi to music, but it works.

StefanG52 (author)2017-01-25

On IOS 10.2.1 it doesn't show rPlay in the Airplay list

faithie999 (author)2016-10-27

typo in above: error is "rplay-1.0.1-armhf.deb" is not a debian format archive

RichardD238 (author)faithie9992017-01-15

confirm the saved file name. It was rplay-1.0.1-armhf.deb.2 when I completed the installation

jjhuffo (author)2017-01-10

Installed, rPlay is running on the Pi, but IOS 10.2 doesn't show rPlay in the Airplay list. So, for me, it does not work.

p_wisard (author)2016-11-26


Can anyone prove that this instruction works in IOS 10.2 or MacOS 10.12 ? Installation went smoothly but I don't see rplay device in the list. Thank you!

faithie999 (author)2016-10-27

when i execute the final command (sudo dpkg -i rplay-1.0.1-armhf.deb) i get the error:

dpkg-deb: error: 'play-1.0.1-armhf.deb' is not a debian format archive

any ideas?


Hector FS (author)2016-10-19

is not showing the raspberry in the airplay list (ios10 and macosx sierra)

jonfac (author)2016-10-07

Hi all, i was wondering if this would work for IOS10? I have recently update my Iphone. Thanks in advance,

TerryW50 (author)2016-06-22

Has anyone come up with a solution for this? It shows up as an Airplay device in iOS 9, but the rpi just isn't receiving any mirroring. Setup went smoothly with no errors. Running latest rasbian.

edjonesy (author)2016-05-17

I tried this last night, May 16 2016, with a MacBook Pro Retina OSX 10.11.5 and an iPhone 5S iOS 9.3.2.

The tutorial worked perfectly on the Raspberry PI, but, although it showed up as an airplay device on both the Mac and iPhone, audio would not play and mirroring was not available either.

I did however install 'shairport' on another card, using Raspbian Jessie Lite, it doesn't do mirroring at all, but it did play audio, perfectly.

tutorial for shairport on jessie lite

enabling wifi in jessie lite

now I just want to be able to set that card to boot without asking for a username and password and to automatically run the shairport application.

Thanks to edyboy12 for posting the tutorial, it's a shame that it seems Apple have moved the goalposts though.

LorantR (author)2016-04-28

i did all the step and i can see on my ipad and connect but doesnt show anything...any solution? just update my ipad and still nothing

221480036 (author)LorantR2016-05-12

I have same problem actually, I can see connection as "rplay(raspberrypi)" on my iphone when I touch AirPlay. I select it and touch done but nothing appear screen of raspberry pi3. Any solution please ?

LaurenT18 (author)2016-01-20

Hi folks, was looking forward to this being the first programme i try to install on my Pi, however after following the instructions i'm getting an error message after step 3 (the second line of code) doesn't seem to install correctly when running the 3rd line of code.

Has anyone else had an issue with this step?

I've updated my software, rebooted etc. but to no avail.

PIT2 (author)LaurenT182016-04-30

don't do the third comman

NicolaG1 (author)2015-08-27

I got an error,i have lollipop and root ,using youmap

edyboy12 (author)NicolaG12015-08-27

You must start the Daemon first (press the green start button).

luca1977 (author)edyboy122016-03-01

Hi! I have a raspberry b+ with raspbian. I use yuomap but mirroring don t work... i don t understand what do with youmap green button .... sorry for my not good english

PIT2 (author)luca19772016-04-30

press i

NicolaG1 (author)edyboy122015-08-27

thx ,solved

JefC2 (author)2016-04-23

Hey, I'm running the new Raspberry Pi 3 OS X El Capitan 10.11.13. I had no problem throughout the tutorial, but rplay isn't showing up on my Airplay. Any advice?

OmerS (author)2016-04-15

I think there's a problem with the License key

Iv'e used License key:S1377T8072I7798N4133R

Got "rplay" running on my raspberry pi model b. My Macbook finds it on the network. I see the little screen icon in the topbar. In it, I can see the "rplay(raspberrypi)" AirPlay device. But when I'm trying to connect to it, I get "Could not connect to 'rplay (raspberrypi)'".

yosoufe (author)2016-01-17

Do you know any free software for windows users to share screen with rplay?

I know the AirParrot works fine but I am looking for free software.

Coky Jazz (author)yosoufe2016-03-21

This is not free actually, and just mirror the screen, audio not included. You can try Reflector

jiribrejcha (author)2016-03-11

Has anyone got it working with iOS 9.2.1, please?

flashsolutions (author)2016-03-04

Does not seem to work with IOS 9.2.1. iPhone connect via Airplay but nothing shows up on the Raspberry. I had no problems with the installation instructions and everything seemed to work, no errors, but just does not want to mirror my iPhone.

SteveN2 (author)flashsolutions2016-03-05

I'm having the same luck with ios 9.2.1. Everything seems to install on the pi, what I've noticed is that the icon next to the "rplay (raspberry pi)" is not the same as in this instructable, it kind of looks like an iPod, not a TV. Notice the TV icon next to my "Living Room Apple TV"

RajanP6 (author)2016-02-04

I tried to do it, but when I chose "rplay (raspberry pi)" from the AirPlay menu, nothing happens on the rpi's screen. What is wrong?

TheKingKarl (author)2016-02-03

I did all the steps, but when I select rplay on AirPlay nothing happens. No sound or anything.

JoshG49 (author)2016-01-03

broke in IOS 9

YunusDa (author)2015-12-29

hello it plays sound but no mirroring, the mirroring worked before but not anymore

ArchieW3 (author)2015-12-06

it shows and it is the speaker no mirroring. when I tap on it and play music nothing comes out the pi. Music streaming doesn't work on kodi as well so maby it's the software on my phone. (My phone is on ios 9.2 beta 4)

SteveW5 (author)2015-11-17

I was able to find my rplay on my network when I finished the install. After I rebooted the pi it disappeared. I have also stopped and restarted rplay. Still not showing up on my iOS device (6s +)

Robin PJ (author)2015-11-09

i have done upto activating rplay and successfully entered licence key.

Robin PJ (author)2015-11-09

hi can you please explain setting for android. i cant figure it out. ASAP please im really exited about this project.

JaviH2 (author)2015-11-08

My installation has stopped working 3 weeks ago. The computers cannot connect to the raspberry pi, although rplay is shown in the Airplay menu. I guess VMLite are cancelling the serial numbers to make place for the paid version of the app? Otherwise I don't get it. I've even tried reinstalling avahi and all the rest, to no avail.

JustinM71 (author)2015-11-07

I followed the steps and everything worked. I connected to my rasp pi via airplay, but nothing happens after it connects.

ikon00 (author)2015-10-30

I followed all steps, but the mirroring don't start. I use a ipad 4th gen with ios9.1

mcdom (author)2015-10-25

I followed the instructions to install everything, and it seems to be working (shows up in the AirPlay list of my iPhone 6 with iOS 9.1), but no sound comes from the pi 2. Has anyone else had this problem?

About This Instructable




More by edyboy12:AirPlay Mirroring without Apple TV (using RPi)
Add instructable to: