Skip to content

micro-nova/AmpliPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AmpliPi Home Audio System

AmpliPi is an open-source software solution for multi-room home audio systems, specifically developed for AmpliPro products. The AmpliPro product line is designed by the creators of this project, Micronova. These systems have been rigorously tested and successfully implemented in various commercial and residential settings. When you purchase AmpliPro hardware from us, youโ€™re not only supporting the project but also gaining access to a professionally designed audio system that delivers exceptional sound quality, backed by worldwide support from our engineering team.

Build Status Coverage GPL License

AmpliPi

AmpliProโ„ข is a multi room/zone audio streamer, controller, and amplifier made for whole house audio systems with many zones. It can play up to 4 simultaneous audio sources, each of which can be selected from either its analog RCA input or any supported digital stream (Pandora, Spotify, AirPlay, etc). Each source can be routed to one or more zones, all of which are configurable in real-time using the AmpliPi App (Android / iOS / web) or its underlying API. It is expandable up to 36 zones using AmpliPro Zone Expanders.

The AmpliPro design is entirely open source, from the software, to the firmware, to the schematics. The API and Web App are written in Python and run on a Raspberry Pi 3+ Compute Module. The firmware, which provides the low level volume control and zone configuration, is written in C and configured by the Python API over I2C. All of the internal circuitry comes with full schematics (available in this repo).

The system is self-hosted on the Raspberry Pi and is privacy-centric. By design, AmpliPi doesnโ€™t listen to you or spy on you โ€” it just plays your audio! The way it should be. An internet connection is only needed for some external streaming sources, such as Pandora. The Python application running on the Pi hosts a mobile-friendly website and API used to control the system. The website is built on top of the API.

High-level Schematic

Features

AmpliPro can play many different types of digital streaming inputs. Most of the streaming services supported can be played as independent digital streams on all four sources at once; check out the Multiple? heading. Below is the current status of our digital stream integrations.

Most of these digital streaming services are provided by other open-source projects; check out the Provided By heading.

Streaming Service Supported Multiple? Metadata Provided By Notes
Pandora Yes Yes Yes Pianobar
Airplay Yes Yes Yes Shairport-sync Airplay 2 for one stream only.
Spotify Yes Yes Yes Librespot Requires Spotify Premium, one account per stream. See disclaimer
DLNA Yes Yes Yes gmrender-resurrect
Internet Radio Yes Yes Yes VLC
Plexamp No No No Plexamp See #200
FM Radio Yes No Yes rtl-sdr/redsea Requires RTL SDR compatible USB device
LMS Yes Yes No squeezelite Requires separate LMS Server
Bluetooth Yes No Yes bluezero See Bluetooth docs
Google Cast No Need to investigate
Offline Music No See #66
TIDAL No See #87

In the future we plan to integrate with several home automation systems. Below is their current status.

Integrations Supported Notes
Home Assistant Yes See https://github.com/micro-nova/hacs_amplipi
openHAB Yes See https://next.openhab.org/addons/bindings/amplipi/
Alexa No See #25
Google Assistant No See #69

Manual

Find the device manual here

Wall Panel

Check out our open source wall panel here!

Official Wallpanel

Speakers

Notes on picking and installing speakers for whole house audio can be found here.

Developing

For details on how to help out with new features and bug fixes, check out docs/DEVELOPING.md.

Web interface

AmpliPi hosts a mobile-friendly web app that can control the system from any PC or mobile phone on the local network. Its design was based on the idea that each of the four audio sources could be controlled separately by different people in the house. Each audio source's controls are in their own tab at the top of the app.

Here's an example of changing group and zone volumes:

Changing group and zone volumes

Check out the full documentation for the web app at docs/WEB_APP.md.

The API

AmpliPi has a flexible API that can be used to control volumes, switch and control audio sources, configure different streaming sources, and much more. It allows full configuration and real-time control of the AmpliPro device. The API conforms to the OpenAPI standard. It is fully documented on our AmpliPi OpenAPI site.

REST API overview

With its API, you can easily add automation to your home audio system. Use the API to trigger your AmpliPro system to play music based on smart home events. For example, only play music in zones of your house where motion has been detected, or start playing Pandora when the front door is unlocked.

Not quite sure how to accomplish this? No problem - The AmpliPro controller hosts its API documentation as well. Using a web browser pointed at your local AmpliPro box, you can view the API documentation, as well as test sending and receiving API commands to and from the AmpliPro.

Updates and Releases

Releases are available on GitHub, see CHANGELOG.md for the changes in each release.

To update you AmpliPro to the latest version:

  1. Go to the web app at amplipi.local.
  2. Click the gear icon (โš™) in the upper right corner to go to the configuration page
  3. Select Updates and click the Check for Updates button
  4. Click the Update button

If you don't see an update button, you have an older version of AmpliPi. It will take a couple more steps to update this time around.

  1. From a laptop or desktop computer download this update.
  2. Click the browse button to select the downloaded AmpliPi-0.1.9-uv-hotfix.tar.gz file.
  3. Click upload software to start the update, when it is finished it will navigate to the updated web app.
  4. Please be patient, updates can take 20-30 minutes and progress info will be reported slowly.
  5. The update will mistakenly fail with the message "Error checking version: NetworkError when attempting to fetch resource". Just go back to the app at amplipi.local to enjoy the new feaures.

For custom changes or offline updating, a .tar.gz file can also be uploaded to the AmpliPro. This can be generated from a git checkout with poetry version prerelease && poetry build. The release will be generated to the dist folder.