Skip to content
AWTRIX Flows
Submit flow
NowPlaying shown on an AWTRIX display
Fig. 1 NowPlaying, as Hank_the_Tank runs it.

NowPlaying

Displays artist, title and playback progress from a HA media player

Specifications
System Home Assistant Blueprint
Firmware AWTRIX NG
Topic Smarthome
Built by Hank_the_Tank
File 79w0nQbo6Czy.yaml · 3.9 KB
Icons 1
Published 3 Aug 2026 · updated 3 Aug 2026
Downloads 11

AWTRIX NG – Now Playing Blueprint

Display the currently playing artist, track title and playback progress from a Home Assistant media player on an AWTRIX NG device.

The blueprint creates an AWTRIX NG pushed app named NowPlaying. It updates the playback progress every five seconds and automatically removes the app when playback stops.

Features

  • Displays the current artist and track title
  • Shows a configurable AWTRIX NG icon
  • Adds a playback progress bar along the bottom of the display
  • Updates the progress bar every five seconds
  • Supports a configurable text repeat count
  • Provides a color picker for the progress bar
  • Uses a dark gray progress track for good contrast
  • Removes the pushed app automatically when the media player is no longer playing
  • Works with any Home Assistant media_player entity that provides the required playback attributes

Display layout

The pushed app contains:

  • the selected icon on the left
  • the artist and track title as scrolling text
  • a progress bar on the bottom row

The text is formatted as:

Artist - Track title

The text uses AWTRIX NG wrap scrolling. The progress bar represents the estimated current playback position as a percentage of the track duration.

Requirements

  • Home Assistant
  • A configured MQTT integration in Home Assistant
  • An AWTRIX NG device connected to the same MQTT broker
  • The MQTT prefix configured on the AWTRIX NG
  • A Home Assistant media player that exposes:
    • media_artist
    • media_title
    • media_duration
    • media_position
    • media_position_updated_at
  • The selected icon must already be stored on the AWTRIX NG

If the media player does not provide duration or position information, the progress bar remains at 0%. Artist and title availability depends on the media player integration.

Installation

  1. Copy awtrix_ng_now_playing_blueprint.yaml to your Home Assistant blueprint directory:

    /config/blueprints/automation/awtrix_ng/awtrix_ng_now_playing_blueprint.yaml
    
  2. Reload automations or restart Home Assistant.

  3. Open Settings → Automations & Scenes → Blueprints.

  4. Find AWTRIX NG – Now Playing.

  5. Select Create automation.

  6. Configure the inputs described below and save the automation.

Configuration

Setting Description Default
AWTRIX NG MQTT prefix configured on the AWTRIX NG MQTT page. Do not include a trailing slash. awtrixNG
Media Player Home Assistant media player whose current track should be displayed. Required
AWTRIX NG Icon ID ID of an icon already stored on the AWTRIX NG. 44739
Repeat Number of completed text scrolls. Use 0 to rely on the normal AWTRIX NG app duration. 3
Progress Color Color of the filled portion of the playback progress bar. #55AAFF

The unfilled progress track uses the fixed color #303030.

MQTT details

While the selected media player is playing, the blueprint publishes the pushed app to:

<mqtt-prefix>/cmd/apps/pushed/NowPlaying

With the default prefix, the topic is:

awtrixNG/cmd/apps/pushed/NowPlaying

When playback stops, pauses or becomes unavailable, the blueprint publishes an empty payload to the same topic. AWTRIX NG then removes the NowPlaying pushed app from its rotation.

MQTT messages use QoS 0 and are not retained.

Playback progress calculation

The blueprint combines the last reported media_position with the time elapsed since media_position_updated_at. This allows the progress bar to continue advancing between state updates from the media player.

The calculated value is limited to the valid range of 0–100% before it is sent to AWTRIX NG.

Multiple players or displays

Create a separate automation from the blueprint for each media player or AWTRIX NG device.

Each AWTRIX NG device must have a unique MQTT prefix if several devices use the same broker. Because AWTRIX NG does not expose its configured MQTT prefix as a selectable Home Assistant entity, the prefix is entered manually in the blueprint settings.

Troubleshooting

Nothing appears on the AWTRIX NG

  • Verify the MQTT prefix. It is case-sensitive and must not end with /.
  • Confirm that MQTT is connected on the AWTRIX NG MQTT page.
  • Confirm that the selected media player is in the playing state.
  • Check that Home Assistant can publish to the configured MQTT broker.

The icon is missing

  • Verify that the entered icon ID exists on the AWTRIX NG.
  • Enter only the icon ID, without a filename extension.

The progress bar stays at zero

Open the media player in Developer Tools → States and check for media_duration, media_position and media_position_updated_at. Some integrations or live streams do not provide these attributes.

Artist or title is empty

The blueprint can only display metadata supplied by the selected media player integration. Radio streams, advertisements and some local sources may omit artist or title information.

The text stays visible longer than expected

The Repeat setting controls how often overflowing text completes its scroll. Long artist and title combinations therefore remain visible longer when a higher repeat count is selected.

Author

Hank_The_Tank / Codex

More flows for Home Assistant Blueprint or Smarthome

Something wrong with this flow? Report it.