DLNA Digital Media Renderer


The DLNA Digital Media Renderer integrationIntegrations connect and integrate Home Assistant with your devices, services, and more.
[Learn more]
allows you to control a DLNA Digital Media Renderer, such as DLNA enabled TVs or radios.

Please note that some devices, such as Samsung TVs, are rather picky about the source used to play from. The TTS service might not work in combination with these devices. If the play_media service does not work, please try playing from a DLNA/DMS (such as MiniDLNA).

Configuration

To add the DLNA Digital Media Renderer integration to your Home Assistant instance, use this My button:

DLNA Digital Media Renderer can be auto-discovered by Home Assistant. If an instance was found, it will be shown as Discovered. You can then set it up right away.

Options

Options for DLNA DMR devices can be set going to Settings > Devices & Services > DLNA Digital Media Renderer > Configuration.

Event listener port

Local port to listen on for events sent by the DLNA device. If this is not set, a random port will be allocated. Use this if you need a specific incoming port for firewall or NAT reasons.

Event listener callback URL

Local URL destination for events sent by the DLNA device. It should be of the form http://{host}:{port}/notify, where keywords {host} and {port} will be automatically filled-in but can be set explicitly here, e.g. http://192.88.99.1:5555/notify. Use this if the local IP address or port seen by Home Assistant is not what the device should connect to, because of Network Address Translation (NAT).

Poll for device availability

Periodically try to connect to the DLNA device, even if it is unavailable. Enable this if SSDP advertisements sent by the device are not received by Home Assistant, e.g. when IP multicast is broken on your network.

Show incompatible media when browsing

When browsing media, show all media files and links, even if the device reports that it is not compatible with the media type.

Services

DLNA devices can support a range of features. Depending on the device itself, the following media_player services may be supported:

  • media_player.volume_up, media_player.volume_down, and media_player.volume_set
  • media_player.volume_mute
  • media_player.media_play
  • media_player.media_pause and media_player.media_play_pause
  • media_player.media_stop
  • media_player.media_next_track
  • media_player.media_previous_track
  • media_player.play_media
  • media_player.shuffle_set
  • media_player.repeat_set
  • media_player.select_sound_mode

Playing media

Most DLNA DMR devices can play media from local HTTP servers. For best results, use HTTP instead of HTTPS, and refer to the server using an IP address instead of a hostname, e.g. http://192.168.1.1:8080/song.mp3.

Media sources

The DLNA Digital Media Renderer integration can browse any configured media source. Displayed media will be filtered based on the capabilities of the DLNA DMR device.