Minimize sample and add ha_release

This commit is contained in:
Fabian Affolter 2016-10-27 15:59:51 +02:00
parent 5fd0599732
commit e13b87735f
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336
3 changed files with 21 additions and 11 deletions

View File

@ -9,10 +9,11 @@ sharing: true
footer: true footer: true
logo: zoneminder.png logo: zoneminder.png
ha_category: Sensor ha_category: Sensor
ha_release: 0.31
--- ---
The `ZoneMinder` sensor platform let you monitor the current state of your zoneminder install including the number of events and the current state of the cameras. The `zoneminder` sensor platform let you monitor the current state of your zoneminder install including the number of events and the current state of the cameras.
<p class='note'> <p class='note'>
You must have the [ZoneMinder component](/components/zoneminder/) configured to use those sensors. You must have the [ZoneMinder component](/components/zoneminder/) configured to use those sensors.
@ -23,5 +24,5 @@ To set it up, add the following information to your `configuration.yaml` file:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: sensor:
platform: zoneminder - platform: zoneminder
``` ```

View File

@ -9,6 +9,7 @@ sharing: true
footer: true footer: true
logo: zoneminder.png logo: zoneminder.png
ha_category: Switch ha_category: Switch
ha_release: 0.31
--- ---

View File

@ -10,10 +10,26 @@ footer: true
logo: zoneminder.png logo: zoneminder.png
ha_category: Camera ha_category: Camera
featured: false featured: false
ha_release: 0.31
--- ---
The ZoneMinder component is the main component to integrate all the sensors and switches for controlling your ZoneMinder instance. The ZoneMinder component is the main component to integrate all the sensors and switches for controlling your ZoneMinder instance.
```yaml
# Example configuration.yaml entry
zoneminder:
host: ZM_HOST
```
Configuration variables:
- **host** (*Required*): Your ZoneMinder server.
- **path** (*Optional*): Path to your ZoneMinder install. Defaults to `/zm/`.
- **ssl** (*Optional*): Set to `True` if your ZoneMinder installation is using SSL. Default to `False`.
- **username** (*Optional*): Your ZoneMinder username.
- **password** (*Optional*): Your ZoneMinder password.
### {% linkable_title Full configuration %}
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
zoneminder: zoneminder:
@ -23,11 +39,3 @@ zoneminder:
username: USERNAME username: USERNAME
password: PASSWORD password: PASSWORD
``` ```
Configuration variables:
- **host** (*Required*): Your ZoneMinder server.
- **path** (*Optional*): Path to your ZoneMinder install (default: /zm/)
- **ssl** (*Optional*): Set to True if your ZoneMinder install is using SSL (default: False)
- **username** (*Optional*): Your ZoneMinder username.
- **password** (*Optional*): Your ZoneMinder password.