Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Music Assistant Home Assistant Add-on: Setup Guide

· 5 min read · Home Automation

In this article
  1. What Is Music Assistant?
  2. How the Add-on Works
  3. Why Use It Instead of Native Integrations?
  4. Installation Steps
  5. Configuration and Providers
  6. Common Problems and Fixes
  7. Costs and Alternatives
  8. Frequently Asked Questions

Yes, a music assistant home assistant add-on exists, and the most popular one is the official Music Assistant add-on for Home Assistant OS and Supervised installations. It integrates your music services and local files into Home Assistant, letting you play synchronized multi-room audio and control everything through the Home Assistant interface.

What Is Music Assistant?

Music Assistant (MA) is a free, open-source server that connects your music sources—like Spotify, Tidal, Qobuz, and your local NAS—to your playback devices. It was created to fill a gap in Home Assistant's built-in media capabilities, which historically lacked robust multi-room synchronization and support for many streaming services. MA runs as an add-on inside Home Assistant, meaning it installs and updates through the Supervisor, and it exposes a Media Player entity for each configured player.

It is not a replacement for Home Assistant itself; rather, it extends it. You still use Home Assistant for automation, dashboards, and voice control, but MA handles the heavy lifting of music playback, queue management, and audio synchronization.

How the Add-on Works

The add-on runs a lightweight server (written in Python) that communicates with your music providers via their APIs. It then controls playback devices using protocols like AirPlay, Chromecast, DLNA, and Snapcast. Here's the basic flow:

  1. You install the Music Assistant add-on from the Home Assistant Add-on Store.
  2. You configure your music sources (Spotify, local folder, etc.) and your players (Sonos, Chromecast, etc.).
  3. MA indexes your music and creates a unified library.
  4. You start playback from the Home Assistant UI, and MA streams the audio to the selected players, keeping them in sync.

MA also supports voice control through Home Assistant's Assist, so you can say "Play jazz in the living room" and it will respond.

Why Use It Instead of Native Integrations?

Many streaming services have official Home Assistant integrations, but those often lack features like multi-room sync or gapless playback. Music Assistant solves these problems by acting as a central hub. For example, with Spotify, the native integration only allows one player at a time, but MA can play Spotify on multiple speakers simultaneously with perfect sync.

Another advantage is that MA works with a wider range of devices. It supports AirPlay, Chromecast, Sonos, Squeezebox, and even generic DLNA receivers. This means you can mix brands in a multi-room setup, something that's difficult with proprietary ecosystems.

Installation Steps

Before installing, ensure you have Home Assistant OS or Supervised installed (the add-on does not work on Home Assistant Container or Core). Here's how to install:

  1. Go to Settings → Add-ons → Add-on Store.
  2. Search for "Music Assistant" and click it.
  3. Click Install and wait for the download to finish.
  4. Start the add-on, then open the Web UI.
  5. Follow the initial setup wizard to add your music providers and players.

If you don't see the add-on, make sure your Home Assistant version is up to date, as older versions may not have the latest store.

Configuration and Providers

After installation, you'll need to add at least one music provider. Music Assistant supports:

  • Spotify – requires a Premium account and a client ID/secret from the Spotify Developer Dashboard.
  • Tidal – requires a Tidal account (HiFi or higher for lossless).
  • Qobuz – requires a Qobuz account.
  • Local files – point MA to a folder on your network or local disk.
  • YouTube Music – requires an API key (limited support).

For players, MA auto-discovers many devices on your network. If not, you can manually add them by IP address. Once added, each player appears as a separate entity in Home Assistant, and you can group them for synchronized playback.

Common Problems and Fixes

Users often encounter a few issues:

  • Spotify not connecting – Make sure you have a Premium account and that the client ID/secret are correct. Also, check that your Home Assistant instance can reach the Spotify API.
  • Audio out of sync – This usually happens with Wi-Fi speakers. Try setting a higher audio buffer in MA's player settings, or use wired connections where possible.
  • Add-on won't start – Check the logs for errors. Often it's a network issue or a missing dependency. Restarting Home Assistant can help.
  • No sound from local files – Ensure the file path is accessible by the add-on container. Use a network share (SMB/NFS) and mount it in Home Assistant first.

If a problem persists, the official documentation and community forums are good resources.

Costs and Alternatives

Music Assistant itself is free and open-source. However, you may need paid subscriptions for the streaming services you connect. There are no hidden fees.

Alternatives include:

  • Logitech Media Server (LMS) – free, but less user-friendly and not a Home Assistant add-on (though it can be integrated).
  • Plex – paid (Plex Pass) for some features, works with Home Assistant but not as a native add-on.
  • Snapcast – free, but only for synchronized multi-room with your own audio sources, not for streaming services.
  • Native integrations – simple but limited, as mentioned.

For most Home Assistant users, Music Assistant offers the best balance of features, ease of use, and cost.

Frequently Asked Questions

Does Music Assistant work with Home Assistant Container? No, the add-on requires Home Assistant OS or Supervised because it relies on the Supervisor to manage add-ons. If you use Container, you can run Music Assistant as a separate Docker container and connect it via the API, but it's more complex.

Can I use Music Assistant with Apple HomePod? Yes, if you enable AirPlay on the HomePod, MA can see it as an AirPlay player. However, AirPlay 2 synchronization is not fully supported, so multi-room with HomePods may not be perfectly in sync.

Is Music Assistant safe to use? Yes, it's open-source and widely used. It only accesses your music accounts and plays audio; it doesn't collect personal data. As with any add-on, keep it updated to avoid security issues.

How do I update Music Assistant? Updates are handled by the Home Assistant Supervisor. When a new version is available, you'll see an update button in the add-on page. It's recommended to back up your configuration before major updates.

Can I use Music Assistant without Home Assistant? Yes, you can run the Music Assistant server standalone (via Docker or a Python environment), but you'd lose the tight integration with Home Assistant automations and dashboards. The add-on is the easiest way to use it.