This component adds support for auto-discovery and configuration of AmpliPi Groups and Zones.
If you like this component, please give it a star on github.
- Ensure that HACS is installed.
- Navigate to HACS on the sidebar and open the HACS settings by selecting the three dots icon. From there select "custom repositories".
- A dialog box should appear. In it, paste a link to to this repo, found at
https://github.com/micro-nova/hacs_amplipi
, under "Repository." Under "Category," select "Integration." Then click "Add." - This will add the AmpliPi repository to your version of the HACS store! Search for it in the search bar and then click on it when it pops up.
- On the store page, click "Download" to install the integration.
- After the integration finishes installing, you will need to restart your Home Assistant. To do this, navigate to your Home Assistant's settings on the sidebar, then click the "Restart required." Your HomeAssistant will then reboot.
- AmpliPi integration should auto-discover your AmpliPi, and prompt you to configure the integration.
In case you would like to install manually:
- Copy the folder
custom_components/amplipi
tocustom_components
in your Home Assistantconfig
folder. - AmpliPi integration should auto-discover your AmpliPi, and prompt you to configure the integration
AmpliPi devices do not report a distinct identifier, so this integration currently only supports one controller per installation.
Each Zone and Group will be auto-discovered and a separate media_player
entity will be created per zone.
The AmpliPi Media Player entities support:
- Play
- Pause
- Off
- On
- PA
This component has an optional companion component that can be found at https://github.com/micro-nova/AmpliPi-HomeAssistant-Card if you wish to use home assistant as a ui for your AmpliPi software. You can install that by first installing the MiniMediaPlayer component which can be found by searching for it in the HACS searchbar, and then following the same installation guide as this component but replacing the repository link with https://github.com/micro-nova/AmpliPi-HomeAssistant-Card and with type "Dashboard"
This integration is for a whole-home audio system, in most cases you're likely to just want to play some music to some number of zones or groups at a specified volume. Luckily, we have a blueprint that does just that which you can install here That particular blueprint doesn't provide any triggers, but the opportunites are endless, here's just a few examples:
- Play music to a room when a motion detector notices someone is there (or disconnects when there isn't)
- Connect your TV's audio output to go to the surround sound speakers when you're watching something
- Set up a jukebox using RFID cards that are associated with a specific stream
You can send a text-to-speech message to the PA system using automations as well, just use the Text-to-speech (TTS) 'Speak'
automation type with the google translate text to speech entity as a target on the Announce media player entity and type whatever message you'd like
To simplify this process, we've made a blueprint that pre-populates the two related entities so all you need to do is type a message and decide if it should be cached. Similarly to the Start Streaming blueprint, this blueprint doesn't come with any triggers, though here's a few examples of what you could do:
- Place a button in the kitchen to be pressed when dinner is ready to let the whole family know with a button trigger
- Set a time trigger so that you don't lose track of time, such as reminding you to go to bed or do some chore with a time based trigger
- Use with other integrations to make more specialty announcements, such as warning you when an event is coming up using a calendar event trigger
Cursor graphics used in this document from Freepik.