Welcome to Components-Store.com
English

Select Language

  1. English
  2. Deutsch
  3. Italia
  4. Français
  5. Gaeilge
  6. Svenska
  7. Suomi
  8. polski
  9. 한국의
  10. Kongeriket
  11. Português
  12. ภาษาไทย
  13. Türk dili
  14. Magyarország
  15. Tiếng Việt
  16. Nederland
  17. Dansk
  18. românesc
  19. Ελλάδα
  20. Slovenská
  21. Slovenija
  22. Čeština
  23. Hrvatska
  24. русский
  25. Pilipino
  26. español
  27. Republika e Shqipërisë
  28. العربية
  29. አማርኛ
  30. Azərbaycan
  31. Eesti Vabariik
  32. Euskera‎
  33. Беларусь
  34. Български език
  35. íslenska
  36. Bosna
  37. فارسی
  38. Afrikaans
  39. IsiXhosa
  40. isiZulu
  41. Cambodia
  42. საქართველო
  43. Қазақша
  44. Ayiti
  45. Hausa
  46. Galego
  47. Kurdî
  48. Latviešu
  49. ພາສາລາວ
  50. lietuvių
  51. malaɡasʲ
  52. Melayu
  53. Maori
  54. Монголулс
  55. বাংলা ভাষার
  56. မြန်မာ
  57. नेपाली
  58. پښتو
  59. Chicheŵa
  60. Cрпски
  61. සිංහල
  62. Kiswahili
  63. Тоҷикӣ
  64. اردو
  65. Україна
  66. O'zbek
  67. עִבְרִית
  68. Indonesia
  69. हिंदी
  70. ગુજરાતી
  71. ಕನ್ನಡkannaḍa
  72. मराठी
  73. தமிழ் மொழி
  74. తెలుగు
Cancel
RFQs / Order
Part No. Manufacturer Qty  
Home > News > Raspberry Pi makes HomePod work with Spotify, Pandora etc

Raspberry Pi makes HomePod work with Spotify, Pandora etc

  • Find the local IP address of your Raspberry Pi (in my case 192.168.1.16):
  • Install NodeJS 9. First I needed to remove the old default version of NodeJS:
  • The normal way of installing NodeJS on Linux didn’t seem to work because of the particular ARM processor used on the RaspberryPi Zero, so I needed to download the armv6 binary directly and then install using these instructions:
  • Add this to the bottom of .profile:
  • Load the updated .profile:
  • Install the airtunes Node library (I created a fork to work around a bug):
  • Install and start BabelPod:
  • At this point you should be able to open the BabelPod web UI from a computer or phone on your WiFi network by going to http://[raspberry_pi_ip_address]:3000/ (in my case http://192.168.1.16:3000/). Line-in should be available as an input (in my case it appeared as “USB Audio”), and your HomePod (and other local AirPlay devices) should be available as output (in my case it appeared as “Airplay: Office”).
  • There are some more steps if you also want to get Bluetooth input working:
  • Add this to main.conf:
  • Load the updated main.conf:
  • Make the Raspberry Pi discoverable via Bluetooth:

Raspberry Pi Bluetooth discoverable

  • The BabelPod should now show up as “raspberrypi” when you scan for Bluetooth devices on your phone or computer (this name can be changed by opening bluetoothctl and running “system-alias BabelPod”). When you try to connect the Raspberry Pi needs to be set to trust your device. You can do this from the desktop interface, or from the terminal.

Raspberry Pi Bluetooth accept

  • Now you should be able to connect successfully and choose it as the audio output on your device.
  • In the BabelPod web UI you should now be able to select your Bluetooth device as input and output it to your HomePod via AirPlay.