Skip to content

Commit a537bde

Browse files
jeroenterheerdtMartinHjelmare
authored andcommitted
Egardia: Adding configuration tag according to new docs (home-assistant#4910)
* Updating egardia.markdown with configuration tag * Updating egardia.markdown with linkable titles. * Fixing typo.
1 parent ebac258 commit a537bde

File tree

1 file changed

+74
-24
lines changed

1 file changed

+74
-24
lines changed

source/_components/egardia.markdown

Lines changed: 74 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: "Egardia"
44
description: "Instructions how to setup Egardia / Woonveilig within Home Assistant."
5-
date: 2018-03-02 09:00
5+
date: 2018-03-13 09:00
66
sidebar: true
77
comments: false
88
sharing: true
@@ -16,29 +16,81 @@ The `egardia` platform enables the ability to control an [Egardia](http://egardi
1616

1717
You will need to know the IP of your alarm panel on your local network. Test if you can login to the panel by browsing to the IP address and log in using your Egardia/Woonveilig account.
1818

19-
To enable the integration with your alarm panel, add the following lines to your `configuration.yaml` file:
19+
## {% linkable_title Basic configuration %}
2020

21-
```yaml
22-
# Example configuration.yaml entry
23-
egardia:
24-
host: YOUR_HOST
25-
username: YOUR_USERNAME
26-
password: YOUR_PASSWORD
21+
To enable the integration with your alarm panel, add the following lines to your `configuration.yaml` file:
22+
```yaml
23+
# Example configuration.yaml entry
24+
egardia:
25+
host: YOUR_HOST
26+
username: YOUR_USERNAME
27+
password: YOUR_PASSWORD
2728
```
2829
29-
Configuration variables:
30-
31-
- **host** (*Required*): The local IP address of the Egardia/Woonveilig alarm panel.
32-
- **username** (*Required*): Username for the Egardia/Woonveilig account.
33-
- **password** (*Required*): Password for Egardia/Woonveilig account.
34-
- **version** (*Optional*): The version of the Egardia system. `GATE-01`, `GATE-02` and `GATE-03` are currently supported. Defaults to `GATE-01`.
35-
- **port** (*Optional*): The port of the alarm panel. Defaults to 80.
36-
- **report_server_enabled** (*Optional*): Enable reporting by server. Defaults to `False`.
37-
- **report_server_port** (*Optional*): Port of the Egardia server. Defaults to 52010.
38-
- **report_server_codes** list (*Optional*): List of codes for the different states.
30+
{% configuration %}
31+
host:
32+
description: The local IP address of the Egardia/Woonveilig alarm panel.
33+
required: true
34+
type: string
35+
username:
36+
description: Username for the Egardia/Woonveilig account.
37+
required: true
38+
type: string
39+
password:
40+
description: Password for Egardia/Woonveilig account.
41+
required: true
42+
type: string
43+
version:
44+
description: The version of the Egardia system. `GATE-01`, `GATE-02` and `GATE-03` are currently supported.
45+
required: false
46+
type: string
47+
default: 'GATE-01'
48+
port:
49+
description: The port of the alarm panel.
50+
required: false
51+
type: int
52+
default: 80
53+
report_server_enabled:
54+
description: Enable reporting by server.
55+
required: false
56+
type: string
57+
default: false
58+
report_server_port:
59+
description: Port of the Egardia server.
60+
required: false
61+
type: int
62+
default: 52010
63+
report_server_codes:
64+
description: Map of list of codes for the different states.
65+
required: false
66+
type: map
67+
keys:
68+
arm:
69+
description: List of codes for the 'arm' state.
70+
required: false
71+
type: list
72+
disarm:
73+
description: List of codes for the 'disarm' state.
74+
required: false
75+
type: list
76+
armhome:
77+
description: List of codes for the 'armhome' state.
78+
required: false
79+
type: list
80+
triggered:
81+
description: List of codes for the 'triggered' state.
82+
required: false
83+
type: list
84+
ignore:
85+
description: List of codes that will be ignored.
86+
required: false
87+
type: list
88+
{% endconfiguration %}
3989

4090
Note that this basic configuration will only enable you to read the armed/armed away/disarmed status of your alarm and will **not** update the status if the alarm is triggered. This is because of how Egardia built their system. The alarm triggers normally go through their servers.
41-
You can change this, however, using the following procedure. This is a more advanced configuration.
91+
You can change this, however, using the following procedure. This is a more advanced (and more useful) configuration.
92+
93+
## {% linkable_title Advanced configuration %}
4294

4395
1. Log in to your alarm system's control panel. You will need to access http://[IP of your control panel]. You know this already since you need it in the basic configuration from above. Log in to the control panel with your Egardia/Woonveilig username and password.
4496
2. Once logged in, go to *System Settings*, *Report* and change the Server Address for your primary server to the IP or hostname of your Home Assistant machine. You can leave the port number set to 52010 or change it to anything you like. **Make sure to change the settings of the primary server otherwise the messages will not come through. Note that this will limit (or fully stop) the number of alarm messages you will get through Egardia's / Woonveilig services.** Maybe, that is just what you want. Make sure to save your settings by selecting 'OK'.
@@ -47,9 +99,9 @@ You can change this, however, using the following procedure. This is a more adva
4799
```yaml
48100
# Example configuration.yaml entry
49101
egardia:
50-
  host: YOUR_HOST
51-
  username: YOUR_USERNAME
52-
  password: YOUR_PASSWORD
102+
host: YOUR_HOST
103+
username: YOUR_USERNAME
104+
password: YOUR_PASSWORD
53105
report_server_enabled: True
54106
report_server_port: PORT_OF_EGARDIASERVER (optional, defaults to 52010)
55107
report_server_codes:
@@ -63,5 +115,3 @@ You can change this, however, using the following procedure. This is a more adva
63115
Note that for all code groups (*arm*,*disarm*, etc) multiple codes can be entered since each sensor triggers with a different code and each user of the system has its own arm and disarm codes. Also note that your system will do regular system checks which will be reported as well. Since Home Assistant provides no way of handling them properly, you can enter those codes as *ignore* (again, multiple codes can be used here). The egardia component will ignore these codes and continue returning the old status if it receives any of the codes that are listed as ignore. This is useful for example when you have armed your alarm at night: normally a system check will occur at least once during the night and if that code is not specified anywhere Home Assistant will set the status of the alarm to its default, which is unarmed. This is in fact wrong. Listing the code as ignore changes this behavior and Home Assistant will continue to show the status the alarm is in (disarm, arm, home, triggered) even when system checks occur.
64116

65117
5. Test your setup and enjoy. The component will update if the alarm status changes, including triggers. You can use this to build your own automations and send notifications as you wish. *Note*: previous versions required a separate egardiaserver to be set up. This is no longer necessary and corresponding system services can be removed (using systemctl).
66-
67-

0 commit comments

Comments
 (0)