Skip to content
프로젝트

skalavala/Multi-Room-Audio-Centralized-Audio-for-Home

GitHub에서 보기

소개

:musical_note: This Github Repository provides details on setting up a centralized audio system for your home using nothing but Raspberry Pi's and Old Speakers.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Wireless Multi-Room Audio System For Home

I have always wanted to have a centralized audio system for my home. Since my home is currently not wired for that, I decided to maky my own "wireless" centralized audio system using nothing but Raspberry Pi's and some {cheap} bluetooth speakers from amazon and leverage any old speakers lying at home that can be plugged into a 3.5mm audio jack. It works great, and I enjoy the whole house music system thoroughly. I documented all the steps that I did at my home, hoping it will come in handy for myself later, or to others who is thinking of doing the same.

Basic Hardware

The following hardware is all you need in order to make your own WiFi based multi-room audio system.

Raspberry Pi 3 Raspberry Pi 3 power Supply 3.5mm Audio Cable Bluetooth Speakers
Raspberry Pi 3 RPi3 Power Supply Audio Cable Portable Speakers

Software Components

I used Mopidy, Snapcast server and client software(s) to achieve this functionality. The Mopidy is just a media player, and the output of the mopidy is directed to a pipe, where the Snapcast server is listening to. When any audio/music content is streamed to that pipe, Snapcast server receives the media, and broascasts to all of it's clients (snapcast clients) accordingly.

If you are not familiar with Mopidy, I highly recommend you to read all about it here --> Mopidy Docs or Mopidy Home Page

The ideal set up would be to install Mopidy, Snapcast Server and Snapcast client on one Raspberry Pi, and use other Raspberry Pis as clients - where it will only have Snapclient software running on it.

All Raspberry Pis are connected to corresponding speakers (possibly in each room) using 3.5mm audio jack. In my case, those Raspberry Pis are either behind the couch, or under the bed hidden, but always powered. The bluetooth speakers can be powered from Raspberry Pi itself - just make sure you have the right power supply that has at least 2.5 amps.

  1. Install Mopidy

  2. Install Snapcast Server

  3. Install Snapcast client on each Raspberry Pi

  4. Setting up PulseAudio

  5. Setting Snapcast Client Names

  6. Optional Enable Airplay

  7. Optional Setup Virtual Sound Card on VMWare ESXi 6.0 or Above

All set! That's all there is to it! Enjoy the whole house audio system, play music, connect to home assistant, and make announcements, notifications, write a program that pulls headlines/breaking news from news sites; call amazon polly and play the tts audio, or even connect to online radio channels! Sky is the limit!

Optionally, you can also install Mopidy Web Extensions and access Spotify playlists. This Mopidy (mpd) can also be integrated into Home Assistant (HA) and see all the media players on the dashboard. Currently, HA only supports older vesions of Snapcast server and clients.

Good luck! :smile:

Special thanks to @mgolisch, @happyleavesaoc

Big Picture

관련 프로젝트 살펴보기

불러오는 중…