Skip to content

Commit ba37f71

Browse files
Cinntaxfabaff
authored andcommitted
Documentation updates on mpd component (long overdue), and the envislink component. (home-assistant#1028)
1 parent 6fe97d0 commit ba37f71

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

source/_components/envisalink.markdown

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: "Envisalink Alarm Control Panel"
44
description: "Instructions on how to integrate a DSC/Honeywell alarm panel with Home Assistant using an envisalink evl3/evl4 board."
5-
date: 2016-06-19 22:10
5+
date: 2016-09-30 22:45
66
sidebar: true
77
comments: false
88
sharing: true
@@ -25,6 +25,8 @@ There is currently support for the following device types within Home Assistant:
2525

2626
This is a fully event-based component. Any event sent by the Envisalink device will be immediately reflected within Home Assistant.
2727

28+
As of 0.29, the alarm_trigger service is supported. It is possible to fire off an envisalink-based alarm directly from Home Assistant. For example, a newer zwave/zigbee sensor can now be integrated into a legacy alarm system using a Home Assistant automation.
29+
2830
An `envisalink` section must be present in the `configuration.yaml` file and contain the following options as required:
2931

3032
```yaml
@@ -39,6 +41,7 @@ envisalink:
3941
evl_version: 3
4042
keepalive_interval: 60
4143
zonedump_interval: 30
44+
panic_type: Police
4245
zones:
4346
11:
4447
name: 'Back Door'
@@ -62,6 +65,7 @@ Configuration variables:
6265
- **evl_version** (*Optional*): 3 for evl3, or 4 for evl4. Default: `3`
6366
- **keepalive_interval** (*Optional*): This is a periodic heartbeat signal (measured in seconds) sent to your Envisalink board to keep it from restarting. This is required for DSC and Honeywell systems. Defaults to `60` seconds.
6467
- **zonedump_interval** (*Optional*): This is an interval (measured in seconds) where the evl will dump out all zone statuses. This is required for Honeywell systems, which do not properly send zone closure events. DSC boards do not technically need this. Default: `30`
68+
- **panic_type** (*Optional*): Both DSC and Honeywell boards support a "panic" alarm. This is used when the alarm_trigger service is called in home assistant. This determines which type of panic alarm to raise. Default = Police. Valid values are: Police, Fire, Ambulance
6569
- **zones** (*Optional*): Envisalink boards have no way to tell us which zones are actually in use, so each zone must be configured in Home Assistant. For each zone, at least a name must be given. *Note: if no zones are specified, Home Assistant will not load any binary_sensor components.*
6670
- **partitions** (*Optional*): Again, Envisalink boards do not tell us what is in use and what is not, so each partition must be configured with a partition name. If no partition parameter is specified, then no alarm_panel or sensor components are loaded.
6771

source/_components/media_player.mpd.markdown

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: "Music Player Daemon (MPD)"
44
description: "Instructions how to integrate Music Player Daemon into Home Assistant."
5-
date: 2015-06-02 08:00
5+
date: 2016-09-30 23:06
66
sidebar: true
77
comments: false
88
sharing: true
@@ -15,6 +15,8 @@ ha_release: pre 0.7
1515

1616
The `mpd` platform allows you to control a [Music Player Daemon](http://www.musicpd.org/) from Home Assistant. Unfortunatly you will not be able to manipulate the playlist (add or delete songs) or add transitions between the songs.
1717

18+
Even though no playlist manipulation is possible, it is possible to use the play_media service to load an existing saved playlist as part of an automation or scene.
19+
1820
To add MPD to your installation, add the following to your `configuration.yaml` file:
1921

2022
```yaml
@@ -34,5 +36,22 @@ Configuration variables:
3436
- **location** (*Optional*): Location of your Music Player Daemon. Defaults to "MPD".
3537
- **password** (*Optional*): Password for your Music Player Daemon.
3638
39+
Example script to load a saved playlist called "DeckMusic" and set the volume:
40+
41+
```yaml
42+
relaxdeck:
43+
sequence:
44+
- service: media_player.play_media
45+
data:
46+
entity_id: media_player.main
47+
media_content_type: playlist
48+
media_content_id: DeckMusic
49+
50+
- service: media_player.volume_set
51+
data:
52+
entity_id: media_player.main
53+
volume_level: 0.60
54+
```
55+
3756
This platform works with [Music Player Daemon](http://www.musicpd.org/) and [mopidy](https://www.mopidy.com/) with [Mopidy-MPD](https://docs.mopidy.com/en/latest/ext/mpd/) as used by [Pi MusicBox](http://www.pimusicbox.com/).
3857

0 commit comments

Comments
 (0)