mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Documentation for updated Openhome integration (#11153)
* Example playback actions * Use friendlier name * Use music media_type
This commit is contained in:
parent
3fb5ece5ef
commit
13e455a59e
@ -10,9 +10,34 @@ ha_iot_class: Local Polling
|
|||||||
|
|
||||||
The `openhome` platform allows you to connect an [Openhome Compliant Renderer](http://openhome.org/) to Home Assistant such as a [Linn Products Ltd](https://www.linn.co.uk) HiFi streamer. It will allow you to control media playback, volume, source and see the current playing item. Openhome devices should be discovered by using the [the discovery component](/integrations/discovery/), their device names are taken from the name of the room configured on the device.
|
The `openhome` platform allows you to connect an [Openhome Compliant Renderer](http://openhome.org/) to Home Assistant such as a [Linn Products Ltd](https://www.linn.co.uk) HiFi streamer. It will allow you to control media playback, volume, source and see the current playing item. Openhome devices should be discovered by using the [the discovery component](/integrations/discovery/), their device names are taken from the name of the room configured on the device.
|
||||||
|
|
||||||
|
### Example configuration.yaml entry
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
|
||||||
discovery:
|
discovery:
|
||||||
media_player:
|
media_player:
|
||||||
- platform: openhome
|
- platform: openhome
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Example local audio playback action
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
action:
|
||||||
|
- service: media_player.play_media
|
||||||
|
data_template:
|
||||||
|
entity_id:
|
||||||
|
- media_player.linn_bedroom
|
||||||
|
media_content_id: "http://172.24.32.13/Doorbell.mp3"
|
||||||
|
media_content_type: music
|
||||||
|
```
|
||||||
|
|
||||||
|
### Example web stream playback action
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- service: media_player.play_media
|
||||||
|
data_template:
|
||||||
|
entity_id:
|
||||||
|
- media_player.linn_bedroom
|
||||||
|
media_content_id: "http://media-ice.musicradio.com:80/ClassicFMMP3"
|
||||||
|
media_content_type: music
|
||||||
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user