Home Assistant · Dashboard widget · HTTP interface

Your music on the Home Assistant dashboard

The player brings its own widget: what is playing, the speakers of a zone, radio and your music library to browse. Put it into a webpage card - no integration, no add-on, no HACS.

Works with the NAS version (Docker) and the Windows app · version 1.0.7 or newer

What you need

The player, version 1.0.7 or newer

On your NAS as a Docker container (guide) or the Windows app.

Home Assistant

In the same network as the player. Any installation type will do.

http:// at home

Open Home Assistant via http:// in your home network - or make the player reachable via https:// too (see troubleshooting).

Step 1: copy the widget address

  1. Open the player in the browser, e.g. http://<your-nas>:6767, or the window of the Windows app.
  2. Go to Settings and scroll to Widget.
  3. Next to Home Assistant (webpage card) tap Copy. The address already contains your player and, if needed, the key.

Step 2: add a webpage card

  1. In Home Assistant open your dashboard and tap the pencil (Edit dashboard) at the top right.
  2. Tap Add card and choose Webpage.
  3. Switch to the code editor (Show code editor), replace everything with the copied text and tap Save.

It looks like this (with your address instead of your-nas):

type: iframe
url: http://your-nas:6767/widget
aspect_ratio: 89%

aspect_ratio 89% matches the size of the widget (540 × 480). The widget adapts to the width of the card.

Step 3 (optional): a page of its own in the sidebar

  1. In Home Assistant go to Settings → Dashboards and tap Add dashboard.
  2. Choose Webpage, paste only the address (the line after url:) and give it a name, e.g. Music.

On a wall tablet this gives you a full-screen remote for every room.

Options in the address

Append them to the address of the widget, e.g. one card per zone:

AdditionWhat it does
&zone=KitchenOpens a certain zone (name or ID). Without it: the main zone, or the one last chosen in this browser.
&tab=musicStarts on a tab: speakers, radio or music.
&theme=darkLight or dark. Without it, the widget follows the device.
&lang=deLanguage, e.g. en, de, fr. Without it: the language chosen in the player, otherwise that of the browser.
?key=…Only with access protection switched on: the API key. The player puts it into the address for you.

The first addition starts with ?, all others with & - for example /widget?zone=Kitchen&tab=radio.

Automations: the HTTP interface

The widget is for your eyes and fingers. For automations - radio in the kitchen at 6:30, music off when everyone has left - Home Assistant talks to the player directly. Add this to configuration.yaml and restart Home Assistant:

rest_command:
  multiroom_toggle:
    url: "http://your-nas:6767/api/toggle"
    method: post
  multiroom_volume:
    url: "http://your-nas:6767/api/volume?value={{ volume }}"
    method: post
  multiroom_radio:
    url: "http://your-nas:6767/api/radio/play?uuid={{ uuid }}"
    method: post
  • You then have the actions rest_command.multiroom_toggle, multiroom_volume (with volume: 0-100) and multiroom_radio (with the uuid of a station).
  • For a certain zone add &zone=Kitchen to the address (or ?zone=Kitchen if it has no ? yet).
  • With access protection switched on, add headers: with Authorization: Bearer <key> to each command. The key is in the settings of the player.
  • All commands are listed in the Docker guide.

If something does not work

The card stays empty

Most often Home Assistant is opened via https:// (Home Assistant Cloud, a reverse proxy, DuckDNS) while the player runs on http://. Browsers block such mixed content. Open Home Assistant in your home network via http://, e.g. http://homeassistant.local:8123, or make the player reachable via https:// as well, e.g. through the same reverse proxy.

The widget shows "Access denied"

Access protection is switched on in the player and the address has no or an old key. Copy the address again from Settings → Widget in the player - it always contains the current key.

It works at home, but not on the go

The widget is loaded directly from the player, not through Home Assistant. On the go, the phone cannot reach the player - unless you are connected to your home network via VPN.

The widget is cut off or has empty space

Set aspect_ratio to 89% - that matches 540 × 480. In a wide column you can also use a smaller value; the lists inside the widget then simply get more room.

Does the widget slow down my wall tablet?

No. It is a single small page without frameworks. It asks the player for the current state every 1.5 seconds and only loads covers when the song changes.

Home Assistant is a project of the Open Home Foundation. MultiRoomPlayer.com is not affiliated with it; the widget uses the standard webpage card of Home Assistant.

Select language

English ✓ Deutsch Français Español Italiano Português Română Nederlands Svenska Dansk Norsk Suomi Polski Čeština Hrvatski Srpski Shqip Magyar Türkçe Русский Български Ελληνικά 日本語 简体中文 繁體中文 Bahasa Indonesia ไทย العربية עברית 한국어