11 ms·
Use Raspberry Pi as Airplay server to screen mirror on TVs, monitors, projectors
- sneak 5y agoChromecasts used to have a free kiosk mode that could boot up to a full screen webpage, then Google gated it behind a monthly device management fee. :( It was cool because you didn't even need another device to run the browser, everything ran on the chromebit/chromebox.
- sneak 5y agoCorrection: the first word should read Chromebits/Chromeboxes, not Chromecasts.
- automato 5y agoyou ALWAYS need another pi ;)
- mehalter 5y agoIf you want something that is more of a static kiosk setup, there is a different Balena supported project that supports more of this style use case. Without the need of casting or connecting with Airplay https://github.com/balenalabs/balena-dash https://github.com/balenalabs/balena-dash
- sneak 5y agoI'll never touch Balena anything since they put phone-home in Etcher (a simple tool for writing a local file to a local flash blockdev, essentially just a GUI front end to dd). I can't spend the time to audit their software for spying, and they already burned up whatever default level of trustworthiness they had. They've been baleeted.
- dublor 5y agoWonder if it will work with DRM content (Netflix etc)
- amaccuish 5y agoStrange and sad that Apple's approach to remote play is more open at this point than the Google one. Like open IoT protocols, we need to move to open "AirPlay" protocols. The locked-down nature is so pointless.
- TimMurnaghan 5y agoI'd really like some kind of architecture picture describing what runs where. Regardless of whether it's promoting the cloud service why would I want that to run a rPi service? A picture might explain that.
- dan1234 5y agoLooks like that repo just containerises RpiPlay[1], which is the real meat and potatoes. As for architecture: RpiPlay is just an open source Airplay server. Plug a display in, and point your iPhone at it. [1]https://github.com/FD-/RPiPlay https://github.com/FD-/RPiPlay
- helloSam43 5y agoHate to hijack the thread, but it mentions iOS 9+. Will this work for airPlay from a Mac?
- jerrysievert 5y agothere's a tiny link at the bottom of the readme that points to the project that is actually doing the work (this appears to be deploy scripts for a company's cloud project): https://github.com/FD-/RPiPlay https://github.com/FD-/RPiPlay in the actual project's readme, they note: > Screen mirroring and audio works for iOS 9 or newer. Recent macOS versions also seem to be compatible.
- michaelmior 5y agoRelated: If you use Home Assistant and have Chromecast devices, the AirCast addon will allow you to use AirPlay to send something to a Chromecast device. https://github.com/hassio-addons/addon-aircast https://github.com/hassio-addons/addon-aircast
- boringg 5y agoIve been looking for a way to use airplay for my Zwift set up. I have an old raspberry pi so maybe i can set this up to solve it. I am unwilling to buy another apple tv.
- boringg 5y agoLooks like this works!
- ComputerGuru 5y agoI'm confused as to what "server" means in this context. Does this sit in the middle and mirror other devices (e.g. your Windows or Linux laptop) to a TV/monitor or does it just mirror the RPi itself? Or does it just act as a "sink" for already-AirPlay-compatible devices and let you mirror your phone to a TV without having an AppleTV?
- Maxburn 5y agoI'm guessing this is the old Airplay v1?
- reilly3000 5y agoI wonder if the RPi can be set up to screen record with OBS or something. It would be great for screen recording or grabbing clips from media.
- deleted 5y ago[deleted]
- ed25519FUUU 5y agoLooks like basically a deployment setup for RPiPlay, which is an open-source implementation of airplay that's meant specifically to run on a RPI. https://github.com/FD-/RPiPlay https://github.com/FD-/RPiPlay
- Abrownn 5y agoThank you very much, I've been thinking about something like this for a while and have been meaning to look for a solution. Problem solved, thanks!
- yowzadave 5y agoAs I understand it, this allows you to screencast from an Apple device via airplay to an rPi. Is anyone aware of a project that allows you to do the reverse? That is, to airplay from an rPi to some compatible device (like a HomePod)?
- isoprophlex 5y agoVery cute that there's a one click deployment using some semi-magic third party service, but it feels kinda disingenuous to not link to the repo that's doing the actual heavy lifting.[] The repo submitted to HN is just a bunch of config files. [] https://github.com/FD-/RPiPlay https://github.com/FD-/RPiPlay
- geenew 5y agoThe history of airplay he gives on that page under the 'AirPlay protocol versions' heading is worth a link all by itself.
- Mindwipe 5y agoThere's so much technical debt and conflicting versioning with AirPlay it's unreal. It's amazing it works at all at this point. It's also why the developer documentation is awful.
- martin_a 5y agoWow, what's even the actual work besides creating some wrapper config files with other names for the parameters?
- automato 5y agoWhen you need to create some software, I guess you start by writing your own OS first? This is how all OSS works - you build on top of other projects.
- squeaky-clean 5y agoIf you're not melting your own sand into silicon ingots and slicing them into wafers, are you even a real programmer?
- hamburglar 5y agoI think what people are complaining about is the fact that the linked project is not the project that actually solves the problem stated in the title. This linked project did not enable “using a raspberry pi as an airplay server,” it just packaged someone’s project that already did that.
- asdff 5y agoI used to do this with a jailbroken iPod touch.
- peterburkimsher 5y agoGreat, I'm so glad it's possible! What's the app that you installed? I've been looking for this for my iPhone 4S on iOS 6.1.3 to receive video, and output HDMI.
- asdff 5y agoI think it was this one: http://cydia.saurik.com/package/com.airserverapp/ http://cydia.saurik.com/package/com.airserverapp/
- peterburkimsher 5y agoThank you for the link! Cydia says it's a commercial package for $0.99, but the Cydia Store no longer accepts payments (since 2018). https://www.iclarified.com/68791/saurik-has-officially-shut-down-the-cydia-store https://www.iclarified.com/68791/saurik-has-officially-shut-... Please can you contact me by email so we can find another way to distribute the app so I can actually run it? I'd be happy to pay, but when I emailed AirServer Support on 2021-05-29, Alessandro replied on 2021-06-16 and said "Unfortunately we are unable to fulfil your request."
- chana_masala 5y agoDoes anyone know of any similar magic for turning an RP into an Air Print?
- mehalter 5y agoThere is a very similar level of magic for converting a raspberry pi to do AirPrint https://github.com/willswire/balenaPrint https://github.com/willswire/balenaPrint
- automato 5y agoTHANK YOU! I was looking up and down the net for something like this, couldn't find it for the life of me.
- starik36 5y agoI have it running right now. My old school LaserJet 1320 is wireless on my home network. It's connected to a Raspberry Pi Zero W. As someone mentioned, it's basically CUPS and Avahi. I've set it up years ago and it just runs. The only thing that sucks is that printing from an iPhone takes about 5 minutes because of all the processing on the RPi. I suppose using a higher end RPi would fix that, but I like the small form factor. Printing from a PC is instant.
- kayodelycaon 5y agoAir print is really easy. It’s built into Utunu printer sharing. https://askubuntu.com/questions/26130/how-can-share-my-printer-so-that-i-can-use-it-with-airprint https://askubuntu.com/questions/26130/how-can-share-my-print...
- akeck 5y agoThe nuts and bolts of AirPrint are CUPS (linux printer server) plus Avahi (mDNS infrastructure, known in Apple land as Rendevous). My recollection is that to get my USB printer to AirPrint, I only needed to install the CUPS and Avahi packages, and then things magically worked. YMMV.
- 5y ago
- qwerty456127 5y agoHow do I put it in the Noobs multi-boot menu?
- leoedin 5y agoIt's good to see Balena getting some attention - it's a really nice way of deploying containerised software to embedded devices, and managing them in the field. I've been using the free tier for managing a couple of rpis I have round the house in a reproducible way. It's basically a whole platform built around docker-compose, so you write a compose file for your different applications and then can deploy it to any embedded Linux computer running the Balena OS. Balena manage all the complicated stuff around rolling out updates, keeping the OS up to date, logging etc, and give some nice debug tooling. The other nice thing about the platform is that it's almost all open source - so if Balena the organisation goes bust or changes strategy, Balena the IoT management service could be self hosted.
- boringg 5y agoI could see how this would be super helpful for the world of IoT. I am not sure if this is helpful for this community (Except as a proof concept for deploying other IoT devices, which is valuable) as I think most people could deploy RpiPlay fairly easily. Maybe I am reading it wrong though.
- urbandw311er 5y agoPerhaps you could say “Balena” a few more times, I’m struggling to hear you.
- PanosJee 5y agoBalena is the unsung hero of IoT. Without Balena, IoT is the desert ... of the real
- jonplackett 5y agoShould have been called Airpiay
- begueradj 5y agoInteresting initiative.