Add dlna_dmr component (#5474)

* Add dlna_dmr component

* Remove no longer supported features

* Add warning about picky devices

* Add UDN to configuration; requested changes from review

* ✏️ Tweaks

* ⬆️ ha_release to 0.74

* Update media_player.dlna_dmr.markdown

* Changes after review by @MartinHjelmare

* Update media_player.dlna_dmr.markdown
This commit is contained in:
Steven Looman 2018-08-05 17:35:12 +02:00 committed by Martin Hjelmare
parent 64c0101a9d
commit 6c4cbb7989
3 changed files with 52 additions and 0 deletions

View File

@ -21,6 +21,7 @@ Home Assistant can discover and automatically configure [zeroconf](https://en.wi
* [Bose Soundtouch speakers](/components/media_player.soundtouch/)
* [Denon network receivers](/components/media_player.denonavr/)
* [DirecTV receivers](/components/media_player.directv/)
* [DLNA DMR enabled devices](/components/media_player.dlna_dmr/)
* [Frontier Silicon internet radios](/components/media_player.frontier_silicon/)
* [Google Cast](/components/media_player.cast/)
* [HomeKit](/components/homekit_controller/)
@ -79,6 +80,7 @@ Valid values for ignore are:
* `bose_soundtouch`: Bose Soundtouch speakers
* `denonavr`: Denon network receivers
* `directv`: DirecTV receivers
* `dlna`: DLNA DMR enabled devices
* `frontier_silicon`: Frontier Silicon internet radios
* `google_cast`: Google Cast
* `harmony`: Logitech Harmony Hub

View File

@ -0,0 +1,50 @@
---
layout: page
title: "DLNA DMR"
description: "Instructions on how to integrate a DLNA DMR device into Home Assistant."
date: 2018-06-01 14:27
sidebar: true
comments: false
sharing: true
footer: true
logo: dlna.png
ha_category: Media Player
featured: false
ha_release: 0.76
ha_iot_class: "Local Push"
---
The `dlna_dmr` platform allows you to control a [DLNA Digital Media Renderer](https://www.dlna.org/), 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](https://sourceforge.net/projects/minidlna/)).
## {% linkable_title Configuration %}
To add a DLNA DMR device to your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
media_player:
- platform: dlna_dmr
url: http://192.168.0.10:9197/dmr
```
{% configuration %}
url:
description: The URL to the device description, e.g., `http://192.168.0.10:9197/dmr`.
required: true
type: string
listen_ip:
description: IP to listen on for events from the device. Only set this when the IP is not detected properly.
required: false
type: string
listen_port:
description: Port to listen on for events from the device.
required: false
default: 8301
type: int
name:
description: The name you would like to give to the device, e.g., `TV living room`.
required: false
type: string
{% endconfiguration %}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB