External integration - DLNA

Hi everyone! :waving_hand:

The biggest missing feature from @pierre-gilles’ list, over 28% of Home Assistant installations: DLNA! One integration for both roles: players (TVs, amps, speakers) and media servers (Plex, Jellyfin, Emby, minidlna, Synology…). All local :television:

What it does

  • :magnifying_glass_tilted_left: Your DLNA players found automatically in the Discovery tab, even when the player is hidden inside a larger device (this is the case for Denon / HEOS amps).
  • :play_button: Play, pause, stop, previous, next, volume, mute, and “currently playing”, compatible with the Music widget on the dashboard.
  • :bell: The “Broadcast a notification” action works on these players: Gladys can speak through your amp or TV.
  • :musical_note: Scenes “Play a media from a server”: a title, an artist, an album, or a folder from your DLNA server, in order, randomly, or just the first result. And “Play a URL”, perfect for a web radio.
  • :clapper_board: Triggers “play started / paused / stopped”, filterable by player.
  • :bar_chart: A DLNA Player widget: title, state, volume in real-time, and controls.

The cool part

7 a.m. on weekdays → morning web radio on the living room amp :hot_beverage:
Someone rings → Gladys announces it on the TV :bell:
Play started on the TV → dimmed lights :popcorn:

Installation

:warning: Gladys 5.1 minimum.

:light_bulb: It will be available in the store later today. In a hurry? Integrations → Install from GitHub, with the address GitHub - guim31/gladys-dlna: DLNA / UPnP media renderers and servers, local control, for Gladys Assistant · GitHub

  1. In Gladys: Integrations → DLNA → Install.
  2. Discovery tab: your players and servers appear. Otherwise, enter the address of their description in the configuration.
  3. To play from a server, the DLNA server must be enabled (in Plex: Settings → DLNA).

Honest small reservations: the state is updated regularly (a few seconds of possible delay), no cover art for now, and the original playback does not resume after an announcement. If your player is a Sonos, a Samsung, or an LG, their dedicated integrations go further: DLNA is there for everything else.

And this one, I tested it in real life on my Denon AVR-S650H amp: web radio playback, pause, resume, volume, mute, stop, and browsing of its built-in server :white_check_mark: The test even revealed a trap: since yesterday, the amp takes nearly a minute to accept playback. The integration waits and retries the command on its own, until it wakes up.

Like the previous ones, it is developed with Claude Code :robot:. Independent project, not affiliated with DLNA or manufacturers.

Repository: GitHub - guim31/gladys-dlna: DLNA / UPnP media renderers and servers, local control, for Gladys Assistant · GitHub

Let me know on which devices it works for you :folded_hands: