A $9 WiFi CHIP and the AirPlay

Marat Saytakov
Mar 30, 2018 · 2 min read

I am very disappointed by how a 4th-gen Apple TV can’t even connect to external audio system (via optical cable) separately from a TV (which is connected via HDMI.) It means you can’t listen to music until you turn on a TV. A 3rd gen. does it perfectly ’cause it had an S/PDIF out.

I decided to use a $9 CHIP to stream music directly to kitchen’s speakers.

Image for post
Image for post

Ok, let’s get a C.H.I.P. I didn’t want to connect CHIP to a display and I have no Bluetooth nor wired keyboards or mices at home, so I have to connect to it in a headless mode. This is possible even using a USB cable to a MacBook. And then: ssh chip@chip.local . Password is chip.

Image for post
Image for post
A $9 CHIP connected to MacBook and mini jack

Ok, we’re in, we have to connect to WiFi, run a tool called nmtui as root, and easily connect to your network. If there are LC_ALL warnings, use this.

Finally, we have Internet connection, and we’re ready to install and configure Shaiport Server — using this awesome guide.

Voilà! Now we can choose a new AirPlay speaker on the iPhone or Mac.

Image for post
Image for post

Этот пост по-русски.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store