# Brainstorm: Using BalenaSound with AirPlay in car

**URL:** <https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171>\
**Category:** balenaSound\
**Tags:** balenasound\
**Created:** [November 25, 2020, 8:55pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171 "2020-11-25T20:55:10Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![djelton](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/djelton/32/4425_2.png) [@djelton](https://forums.balena.io/u/djelton)\
**Post date:** [November 25, 2020, 8:55pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/1 "2020-11-25T20:55:11Z")

</div>

Hello, I’ve been googleing for quite a while not, so I was thinking maybe someone of the geniuses here has an idea.  
_(I already know everyone here is amazing, I’m running one Pi with my home stereo already)_

Basically I would like to get BalenaSound with RaspBerry Pi 2.1 to my car. I love the Airplay convenience of having the possibility for all my friends connecting to it and Bluetooth for a backup solution (Android friends).  
The problem is - I don’t have a wifi hotspot in my car and if possible I wouldn’t add it just for this as well.  
(I googled 4g raspberry addon cards and 4g wifi routers, but that would be plan C)

Is there maybe any way to create a wifi hotspot with my Raspberry that could be used for Airplay and that wouldn’t disconnect my 4G on my phone for music access…

Or am I really far off the target?

---

<div class="post-metadata">

**Author:** ![anujdeshpande](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anujdeshpande/32/3155_2.png) [@anujdeshpande](https://forums.balena.io/u/anujdeshpande)\
**Post date:** [November 26, 2020, 6:21am UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/3 "2020-11-26T06:21:46Z")

</div>

Hi

This is an interesting usecase indeed! I am not sure if anyone else has done this, but that shouldn’t stop us now should it 🙂

Just to understand this a bit clearly

1. You connect your RPi to your cars audio in using aux
2. You power your RPi using the cars USB or something similar
3. You want your RPi to connect to your phone for Internet access
4. You also want your RPi to have a hotspot so folks can connect to the hotspot and use airplay to play music.

Is that right?

Assuming I have understood this correctly, this would require your Raspberry Pi to act as a wifi client and a AP simultaneously. Not unheard of, but a bit tricky - and doesn’t always work flawlessly (see [this](https://www.raspberrypi.org/forums/viewtopic.php?t=211542) discussion ).  
Are you also open to the idea of having a second USB-WiFi card connected to your RPi? Things would become considerably simple in that case.

---

<div class="post-metadata">

**Author:** ![djelton](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/djelton/32/4425_2.png) [@djelton](https://forums.balena.io/u/djelton)\
**Post date:** [November 26, 2020, 2:32pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/5 "2020-11-26T14:32:20Z")

</div>

Hah, I know you’re awesome, but not this awesome to get a reply in less than 24h 🙂

1. Yes
2. Yes (I have to test boot times during the weekend, so if possible, I’d like to optimise it somehow)
3. 
  1. Having RP use my phone hotspot would be perfect, but not necessary. Because this means I have to turn on hotspot even for every small 5 minute drive. What I rathet thought that the RPi would create it’s own WiFi hotspot where I can connect and stream music to the RPi via AirPlay, because I understand AirPlay needs Bluetooth+Wifi.  
The problem with a ‘simple solution’ is that when a phone connects to a WiFi hotstpot without internet access, usually it turns off 4G and tries to use WiFi only. Since WiFi isn’t connected to the internet my phone wouldn’t have internet anymore. - or am I dead wrong in this part?

(But yes, if I’d need a second USB-WiFi card that would be totally fine as well… I just bought RPi 2.1, the UK version, so I think I’d need 1x external USB Wifi and 1x external USB Bluetooth card anyway)

Edit: I just tested the last part and connected my iPhone to my Sony camera WiFi hotspot. The phone was connected to WiFi and the 4G stayed working (because my Sony camera isn’t actually connected to internet haha).

So… I’m guessing the problem got a lot simpler - basically… **how can I create a WiFi hotspot from the RPi where my phone can connect to and that can be used with the BalenaSound AirPlay solution?**  
And how can I speed up the boot time?

---

<div class="post-metadata">

**Author:** ![mbalamat](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mbalamat/32/1245_2.png) [@mbalamat](https://forums.balena.io/u/mbalamat)\
**Post date:** [November 26, 2020, 3:10pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/6 "2020-11-26T15:10:27Z")

</div>

Hello what do you mean by `RPi 2.1` ?

---

<div class="post-metadata">

**Author:** ![djelton](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/djelton/32/4425_2.png) [@djelton](https://forums.balena.io/u/djelton)\
**Post date:** [November 26, 2020, 3:11pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/7 "2020-11-26T15:11:43Z")

</div>

Sorry, RaspBerry Pi B rev 2.1 (UK model, I think it has 512mb ram)

---

<div class="post-metadata">

**Author:** ![mbalamat](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mbalamat/32/1245_2.png) [@mbalamat](https://forums.balena.io/u/mbalamat)\
**Post date:** [November 26, 2020, 3:13pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/8 "2020-11-26T15:13:03Z")

</div>

A file has been uploaded using Jellyfish: [https://jel.ly.fish/23963600-bdbd-447b-a269-1bf4c29e257f](https://jel.ly.fish/23963600-bdbd-447b-a269-1bf4c29e257f)

---

<div class="post-metadata">

**Author:** ![mbalamat](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mbalamat/32/1245_2.png) [@mbalamat](https://forums.balena.io/u/mbalamat)\
**Post date:** [November 26, 2020, 3:14pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/9 "2020-11-26T15:14:03Z")

</div>

Which one of these ^ ?

---

<div class="post-metadata">

**Author:** ![djelton](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/djelton/32/4425_2.png) [@djelton](https://forums.balena.io/u/djelton)\
**Post date:** [November 26, 2020, 3:15pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/10 "2020-11-26T15:15:46Z")

</div>

I can’t open the link, but I can show you:

> **[Screenshot](https://prnt.sc/vqmlup)**
>
> Captured with Lightshot

---

<div class="post-metadata">

**Author:** ![mbalamat](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mbalamat/32/1245_2.png) [@mbalamat](https://forums.balena.io/u/mbalamat)\
**Post date:** [November 26, 2020, 3:22pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/11 "2020-11-26T15:22:35Z")

</div>

We have a great blog post WRT wifi hotspots on Pi see here [https://www.balena.io/blog/turn-a-raspberry-pi-into-a-wi-fi-access-point-or-repeater/](https://www.balena.io/blog/turn-a-raspberry-pi-into-a-wi-fi-access-point-or-repeater/) .

---

<div class="post-metadata">

**Author:** ![mbalamat](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mbalamat/32/1245_2.png) [@mbalamat](https://forums.balena.io/u/mbalamat)\
**Post date:** [November 26, 2020, 3:24pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/12 "2020-11-26T15:24:13Z")

</div>

Feel free to get back to us if you have any questions with the process of setting up the hotspot.

---

<div class="post-metadata">

**Author:** ![djelton](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/djelton/32/4425_2.png) [@djelton](https://forums.balena.io/u/djelton)\
**Post date:** [November 26, 2020, 3:26pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/14 "2020-11-26T15:26:36Z")

</div>

Thank you! So basically use it as an Access point without adding actual internet via ethernet to it. And when configuring BalenaSound, I’ll just make it connect its own access point, correct?

---

<div class="post-metadata">

**Author:** ![mbalamat](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mbalamat/32/1245_2.png) [@mbalamat](https://forums.balena.io/u/mbalamat)\
**Post date:** [November 26, 2020, 3:32pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/15 "2020-11-26T15:32:18Z")

</div>

Yes that’s the idea, it hasn’t been done before but it’s an interesting use case and you’d be the first one to do it.

---

<div class="post-metadata">

**Author:** ![djelton](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/djelton/32/4425_2.png) [@djelton](https://forums.balena.io/u/djelton)\
**Post date:** [November 26, 2020, 3:47pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/17 "2020-11-26T15:47:19Z")

</div>

Great, I’ll organise an USB Wifi card for myself then.

I see combo Bluetooth+Wifi cards on ebay, would you recommend combo USB card, or separate USB Wifi and separate USB Bluetooth cards? (I already have the bluetooth one)

---

<div class="post-metadata">

**Author:** ![mbalamat](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mbalamat/32/1245_2.png) [@mbalamat](https://forums.balena.io/u/mbalamat)\
**Post date:** [November 26, 2020, 3:53pm UTC](https://forums.balena.io/t/brainstorm-using-balenasound-with-airplay-in-car/216171/18 "2020-11-26T15:53:53Z")

</div>

Sorry I can’t help you with that. But we have here the supported wifi dongles [https://www.balena.io/docs/reference/hardware/wifi-dongles/](https://www.balena.io/docs/reference/hardware/wifi-dongles/) .
