Business
Focused
Technology

Raspberry Pi: AirPlay and Digital Display

When we started this project, the goal was to be able to play music in multiple zones at our office independently or simultaneously while using various sources (Pandora, TuneIn, iTunes, etc.).  We also wanted to setup TV’s around the office and display information with an easy to use management system. The design is able to scale and cost effective. If you need another digital display, add another Pi.  If you need another audio zone, add another PI.  We currently have 4 audio zones and 3 digital displays. The PI can run both the display and the audio without any noticeable performance hit.
Overview
This document will show you how to use a Raspberry Pi device as an Airplay destination and a digital display controller.
At the core we are running Raspbian “wheezy” with a shairport script for Airplay and using Rise Vision for the digital display technology that is displayed in chrome.  Rise Vision is a free service that works well.  Since their agent will not run on the Pi, we start up Chrome in kiosk mode and point to a URL that is specific to our display that we setup in Rise Vision.
Configure AirPlay
The preconfigured Raspberry Pi build is about 1.1GB.  Once you download the file, unzip it and use Win32 Disk Imager to a 4GB (or larger) SD card.
You can find the download HERE
username: pi
password: raspberry
Once your image is installed and booted, edit the following file:  /etc/init.d/shairport
Change the the line:
PLAYER=playername
to
PLAYER=office
This name will show up on your iPad device in the Airplay list after you reboot the Pi.
Streaming is done from an iPad and Mac Air.  The Mac Air has AirFoil installed which allows us to stream to multiple devices simultaneously.
Configure Digital Display
Rise Vision is a free service to sign up for and use.  We won’t go into how to setup and use (they have great tutorials for that).  When you do have it setup and your display(s) created in Rise Vision, you will need write down the Display ID.  You will use this ID in the following file:
/etc/xdg/lxsession/LXDE/autostart
Edit the following line:
@/usr/bin/chromium-browser -incognito –kiosk https://rvashow.appspot.com/Viewer.html?type=display&id=999999999999
Replace all of the 999’s with your Display ID and save the file.
Reboot
Other Configuration Items
The hostname can be modified in the /etc/hostname file.
The Pi is setup for DHCP.
This configuration is has only been tested with the Sound Blaster USB audio and Rise Vision below.  Anything outside of this and your mileage may vary.
Hardware
For the Airplay setup we used the following components:

Principal Owner, Marketing Firm

Bringing IT360 on as our technology services “department” was one of the smartest business decisions we’ve made. Over the years, we’ve tried various similar services and have also hired internal IT staff, and we’ve never felt confident that we were adequately supported. IT360 has changed all that. They not only provide proactive, comprehensive technical support and consulting, they engage with us in a way that feels like they are part of our company…a true business partner.

Principal Owner, Marketing Firm

Recent
Technology News

IT360 News
Why You Should Outsource IT Support in a Recession

Bear markets are often a sign of an impending recession period. You cannot completely foolproof your business from the eventualities of an economic downturn, but you can at least prepare for what’s coming. In fact, there’s no better place to start than outsourcing your IT support. Here’s how outsourcing IT in a recession can benefit […]

Read more
IT 360 News
Impersonation Phishing Attacks Increase as Credentials Take the Lead as the Primary Target

New data shows an upswell of email-based cyberattacks, with over 256 brands being impersonated, as social media, Microsoft, shipping, and ecommerce brands top the list. There’s been a lot of changes in the volume of email-based cyberattacks, according to security analysts at Abnormal Security. According to their H2 2022 Email Threat Report, the number of […]

Read more