You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_addons/nginx_proxy.markdown
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ footer: true
11
11
12
12
Setup an SSL proxy with NGINX and redirect port 80 to 443. Make sure you have generated a certificate before you start this add-on.
13
13
14
-
In the `http` section of the `configuration.yaml` file remove `ssl_certificate` and `ssl_key` and don't enter the port in the `base_url` to avoid a HTTP 502 error.
14
+
In the `http` section of the `configuration.yaml` file remove `ssl_certificate` and `ssl_key` and don't enter the port in the `base_url` to avoid an HTTP 502 error.
Copy file name to clipboardExpand all lines: source/_addons/samba.markdown
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Configuration variables:
35
35
-**name** (*Optional*): Set netbios name of Hass.io device. Default is `hassio`.
36
36
-**workgroup** (*Optional*): Set network workgroup name. Default is `WORKGROUP`.
37
37
-**guest** (*Optional*): Allow login without a username or password. Default is `true`.
38
-
-**map** (*Optional*): Control which folders will be exposed. `config` shares the Home Assistant configuration folder. `addons` shares the local custom repositiory. `share` shares a folder that can be accessed by add-ons and Home Assistant. `backup` shares access to snapshot files. `ssl` shares certificate storage. Be careful with the `ssl` option! Defaults are all set to `true`, except for `ssl`.
38
+
-**map** (*Optional*): Control which folders will be exposed. `config` shares the Home Assistant configuration folder. `addons` shares the local custom repository. `share` shares a folder that can be accessed by add-ons and Home Assistant. `backup` shares access to snapshot files. `ssl` shares certificate storage. Be careful with the `ssl` option! Defaults are all set to `true`, except for `ssl`.
39
39
-**username** (*Optional*): Username for logging in if guest login is not used.
40
40
-**password** (*Optional*): Password for `username`. An empty password is not supported.
41
41
-**interface** (*Optional*): Interface that will start the share. Normally this is `eth0` for ethernet wired connection and `wlan0` for wireless connection.
Copy file name to clipboardExpand all lines: source/_components/august.markdown
+20-18Lines changed: 20 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ ha_iot_class: "Cloud Polling"
15
15
16
16
The `august` component allows you to integrate your [August](http://august.com) devices in Home Assistant. Currently this component supports August Lock and Doorbell.
17
17
18
+
## {% linkable_title Configuration %}
19
+
18
20
You will need your August login information (username (either phone# or email), and password) to use this module.
19
21
20
22
To set it up, add the following to your `configuration.yaml` file:
@@ -24,27 +26,27 @@ To set it up, add the following to your `configuration.yaml` file:
24
26
august:
25
27
login_method: phone
26
28
username: "+16041234567"
27
-
password: secret
29
+
password: YOUR_PASSWORD
28
30
```
29
31
30
32
{% configuration %}
31
-
login_method:
32
-
description: Method to login to your August account, either "email" or "phone". A verification code will be sent to your email or phone during setup.
33
-
required: true
34
-
type: string
35
-
username:
36
-
description: The username for accessing your August account. This depends on your login_method, if login_method is email, this will be your email of the account. Otherwise, this will be your phone number.
37
-
required: true
38
-
type: string
39
-
password:
40
-
description: The password for accessing your August account.
41
-
required: true
42
-
type: string
43
-
timeout:
44
-
description: Timeout to wait for connections.
45
-
required: false
46
-
type: int
47
-
default: 10
33
+
login_method:
34
+
description: Method to login to your August account, either "email" or "phone". A verification code will be sent to your email or phone during setup.
35
+
required: true
36
+
type: string
37
+
username:
38
+
description: The username for accessing your August account. This depends on your login_method, if login_method is email, this will be your email of the account. Otherwise, this will be your phone number.
39
+
required: true
40
+
type: string
41
+
password:
42
+
description: The password for accessing your August account.
43
+
required: true
44
+
type: string
45
+
timeout:
46
+
description: Timeout to wait for connections.
47
+
required: false
48
+
type: int
49
+
default: 10
48
50
{% endconfiguration %}
49
51
50
52
Once Home Assistant is started, a configurator will pop up asking you to enter verification code that is sent to your phone number or email.
Copy file name to clipboardExpand all lines: source/_components/binary_sensor.hikvision.markdown
+37-36Lines changed: 37 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -15,58 +15,60 @@ ha_iot_class: "Local Push"
15
15
16
16
The Hikvision Binary Sensor is a platform that parses the event stream of a [Hikvision IP Camera or NVR](http://www.hikvision.com/) and presents the camera/nvr events to Home Assistant as binary sensors with either an "off" or "on" state.
17
17
18
-
The platform will automatically add all sensors to Home Assistant that are configured within the camera/nvr interface to "Notify the surveillance center" as a trigger. If you would like to hide a sensor type you can do so by either unchecking "Notify the surveillance center" in the camera configuration or by using the "ignored" customize option detailed below.
18
+
The platform will automatically add all sensors to Home Assistant that are configured within the camera/nvr interface to "Notify the surveillance center" as a trigger. If you would like to hide a sensor type you can do so by either unchecking "Notify the surveillance center" in the camera configuration or by using the "ignored" customize option detailed below.
19
19
20
20
<pclass='note'>
21
-
In order for the sensors to work the hikvision user must have the 'Remote: Notify Surveillance Center / Trigger Alarm Output' permission which can be enabled from the user managment section of the web interace. Also the 'WEB Authentication' needs to be set to 'digest/basic' in the security / authentication section.
21
+
In order for the sensors to work the hikvision user must have the 'Remote: Notify Surveillance Center/Trigger Alarm Output' permission which can be enabled from the user management section of the web interface. Also the 'WEB Authentication' needs to be set to 'digest/basic' in the security/authentication section.
22
22
</p>
23
23
24
24
For example, if you configure a camera with the name "Front Porch" that has motion detection and line crossing events enabled to notify the surveillance center the following binary sensors will be added to Home Assistant:
25
25
26
-
```
26
+
```text
27
27
binary_sensor.front_porch_motion
28
28
binary_sensor.front_port_line_crossing
29
29
```
30
30
31
-
When used with a NVR device the sensors will be appended with the channel number they represent. For example, if you configure an NVR with the name "Home" that supports 2 cameras with motion detection and line crossing events enabled to notify the surveillance center the following binary sensors will be added to Home Assistant:
31
+
When used with a NVR device the sensors will be appended with the channel number they represent. For example, if you configure an NVR with the name "Home" that supports 2 cameras with motion detection and line crossing events enabled to notify the surveillance center the following binary sensors will be added to Home Assistant:
32
32
33
-
```
33
+
```text
34
34
binary_sensor.home_motion_1
35
35
binary_sensor.home_motion_2
36
36
binary_sensor.home_line_crossing_1
37
37
binary_sensor.home_line_crossing_2
38
38
```
39
39
40
40
This platform should work with all Hikvision cameras and nvrs, and has been confirmed to work with the following models:
41
+
41
42
- DS-2CD3132-I
42
43
- DS-2CD2232-I5
43
44
- DS-2CD2032-I
44
45
- DS-2CD2042WD-I
45
46
- DS-2CD2142FWD-I
46
47
47
-
To enable this sensor, the following lines are required in your `configuration.yaml`:
48
+
To enable this sensor, the following lines are required in your `configuration.yaml` file:
48
49
49
50
```yaml
50
51
binary_sensor:
51
-
platform: hikvision
52
-
host: IP_ADDRESS
53
-
username: user
54
-
password: pass
52
+
- platform: hikvision
53
+
host: IP_ADDRESS
54
+
username: user
55
+
password: pass
55
56
```
56
57
57
58
Configuration options for a Hikvision Sensor:
58
59
59
-
- **name** (*Optional*): The name you'd like to give the camera in Home Assistant, defaults to name defined in the camera.
60
60
- **host** (*Required*): The IP address of the camera you would like to connect to.
61
-
- **port** (*Optional*): The port to connect to the camera on, defaults to 80.
62
-
- **ssl** (*Optional*): True if you want to connect with https. Be sure to set the port also.
63
61
- **username** (*Required*): The username to authenticate with.
64
62
- **password** (*Required*): The password to authenticate with.
63
+
- **name** (*Optional*): The name you'd like to give the camera in Home Assistant, defaults to name defined in the camera.
64
+
- **port** (*Optional*): The port to connect to the camera on, defaults to 80.
65
+
- **ssl** (*Optional*): True if you want to connect with https. Be sure to set the port also.
65
66
- **customize** (*Optional*): This attribute contains sensor-specific override values. Only sensor name needs defined:
66
67
- **ignored** (*Optional*): Ignore this sensor completely. It won't be shown in the Web Interface and no events are generated for it.
67
68
- **delay** (*Optional*): Specify the delay to wait after a sensor event ends before notifying Home Assistant. This is useful to catch multiple quick trips in one window without the state toggling on and off. The default delay is 5 seconds.
Copy file name to clipboardExpand all lines: source/_components/binary_sensor.mqtt.markdown
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ The `mqtt` binary sensor platform uses an MQTT message payload to set the binary
17
17
18
18
The binary sensor state will be updated only after a new message is published on `state_topic` matching `payload_on` or `payload_off`. If these messages are published with the `retain` flag set, the binary sensor will receive an instant state update after subscription and Home Assistant will display the correct state on startup. Otherwise, the initial state displayed in Home Assistant will be `unknown`.
19
19
20
+
## {% linkable_title Configuration %}
21
+
20
22
The `mqtt` binary sensor platform optionally supports an `availability_topic` to receive online and offline messages (birth and LWT messages) from the MQTT device. During normal operation, if the MQTT cover device goes offline (i.e., publishes `payload_not_available` to `availability_topic`), Home Assistant will display the binary sensor as `unavailable`. If these messages are published with the `retain` flag set, the binary sensor will receive an instant update after subscription and Home Assistant will display the correct availability state of the binary sensor when Home Assistant starts up. If the `retain` flag is not set, Home Assistant will display the binary sensor as `unavailable` when Home Assistant starts up. If no `availability_topic` is defined, Home Assistant will consider the MQTT device to be available.
21
23
22
24
To use an MQTT binary sensor in your installation, add the following to your `configuration.yaml` file:
@@ -42,12 +44,12 @@ payload_on:
42
44
description: The payload that represents the on state.
43
45
required: false
44
46
type: string
45
-
default: ON
47
+
default: "ON"
46
48
payload_off:
47
49
description: The payload that represents the off state.
48
50
required: false
49
51
type: string
50
-
default: OFF
52
+
default: "OFF"
51
53
availability_topic:
52
54
description: "The MQTT topic subscribed to receive birth and LWT messages from the MQTT device. If `availability_topic` is not defined, the binary sensor availability state will always be `available`. If `availability_topic` is defined, the binary sensor availability state will be `unavailable` by default."
0 commit comments