From e13b87735fa1ca7dfdce97881b3400a0320fb357 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 27 Oct 2016 15:59:51 +0200 Subject: [PATCH] Minimize sample and add ha_release --- source/_components/sensor.zoneminder.markdown | 7 +++--- source/_components/switch.zoneminder.markdown | 1 + source/_components/zoneminder.markdown | 24 ++++++++++++------- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/source/_components/sensor.zoneminder.markdown b/source/_components/sensor.zoneminder.markdown index 8be4611b477..fd71c742a44 100644 --- a/source/_components/sensor.zoneminder.markdown +++ b/source/_components/sensor.zoneminder.markdown @@ -9,10 +9,11 @@ sharing: true footer: true logo: zoneminder.png 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.

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 # Example configuration.yaml entry sensor: - platform: zoneminder -``` \ No newline at end of file + - platform: zoneminder +``` diff --git a/source/_components/switch.zoneminder.markdown b/source/_components/switch.zoneminder.markdown index fa757bf2d9f..eee9948d2fd 100644 --- a/source/_components/switch.zoneminder.markdown +++ b/source/_components/switch.zoneminder.markdown @@ -9,6 +9,7 @@ sharing: true footer: true logo: zoneminder.png ha_category: Switch +ha_release: 0.31 --- diff --git a/source/_components/zoneminder.markdown b/source/_components/zoneminder.markdown index 288a34610b5..7b38caaddee 100644 --- a/source/_components/zoneminder.markdown +++ b/source/_components/zoneminder.markdown @@ -10,10 +10,26 @@ footer: true logo: zoneminder.png ha_category: Camera 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. +```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 # Example configuration.yaml entry zoneminder: @@ -23,11 +39,3 @@ zoneminder: username: USERNAME 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. -