From 455b96509f36e0c6f0c06a04e74a5ae84adff2f1 Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Thu, 20 Oct 2016 03:56:41 -0700 Subject: [PATCH] ZoneMinder Docs (#1239) * ZoneMinder Docs * Better verbage, changing 'url' to 'path' --- source/_components/sensor.zoneminder.markdown | 27 ++++++++++++ source/_components/switch.zoneminder.markdown | 40 ++++++++++++++++++ source/_components/zoneminder.markdown | 31 ++++++++++++++ source/images/supported_brands/zoneminder.png | Bin 0 -> 7686 bytes 4 files changed, 98 insertions(+) create mode 100644 source/_components/sensor.zoneminder.markdown create mode 100644 source/_components/switch.zoneminder.markdown create mode 100644 source/_components/zoneminder.markdown create mode 100644 source/images/supported_brands/zoneminder.png diff --git a/source/_components/sensor.zoneminder.markdown b/source/_components/sensor.zoneminder.markdown new file mode 100644 index 00000000000..8be4611b477 --- /dev/null +++ b/source/_components/sensor.zoneminder.markdown @@ -0,0 +1,27 @@ +--- +layout: page +title: "ZoneMinder Sensor" +description: "Instructions how to integrate ZoneMinder sensors within Home Assistant." +date: 2016-10-13 22:57 +sidebar: true +comments: false +sharing: true +footer: true +logo: zoneminder.png +ha_category: Sensor +--- + + +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. +

+ +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 diff --git a/source/_components/switch.zoneminder.markdown b/source/_components/switch.zoneminder.markdown new file mode 100644 index 00000000000..fa757bf2d9f --- /dev/null +++ b/source/_components/switch.zoneminder.markdown @@ -0,0 +1,40 @@ +--- +layout: page +title: "ZoneMinder Switch" +description: "Instructions how to integrate ZoneMinder switches into Home Assistant." +date: 2016-10-13 22:57 +sidebar: true +comments: false +sharing: true +footer: true +logo: zoneminder.png +ha_category: Switch +--- + + +The `zoneminder` switch platform allows you to toggle the current function of cameras attached to your ZoneMinder instance. + +

+You must have the [ZoneMinder component](/components/zoneminder/) configured to use this. +

+ +To enable this switch, add the following lines to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +switch: + - platform: zoneminder + command_on: Modect + command_off: Monitor +``` + +Configuration variables: + +- **command_on** (*Required*): The function you want the camera to run when turned on. +- **command_off** (*Required*): The function you want the camera to run when turned off. + + +

+The default functions installed by ZoneMinder are: None, Monitor, Modect, Record, Mocord, Nodect. +

+ diff --git a/source/_components/zoneminder.markdown b/source/_components/zoneminder.markdown new file mode 100644 index 00000000000..32aa596c8d4 --- /dev/null +++ b/source/_components/zoneminder.markdown @@ -0,0 +1,31 @@ +--- +layout: page +title: "ZoneMinder" +description: "Instructions how to integrate ZoneMinder into Home Assistant." +date: 2016-10-13 22:57 +sidebar: true +comments: false +sharing: true +footer: true +logo: zoneminder.png +ha_category: Camera +featured: false +--- + +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 + path: ZM_PATH + username: USERNAME + password: PASSWORD +``` + +Configuration variables: +- **host** (*Required*): Your ZoneMinder server. +- **path** (*Optional*): Path to your ZoneMinder install (default: /zm/) +- **username** (*Optional*): Your ZoneMinder username. +- **password** (*Optional*): Your ZoneMinder password. + diff --git a/source/images/supported_brands/zoneminder.png b/source/images/supported_brands/zoneminder.png new file mode 100644 index 0000000000000000000000000000000000000000..0fefee6798898b6ff3def224ae6f17b4df0909c5 GIT binary patch literal 7686 zcmV+h9{J&kP)IQ?00004b3#c}2nYxW zd|;YxgsE7HY8?GCNtAr z=l92*t*39VGntw2=KJ~Nlh53$I#sv3x|VZJof7sHj=KRkWS_~;<~|bPkM&Vq`wvd) z!=S&~H^OBpiO`&VBikR-mz51NNKY8-tb^<~40hH*_8SH}Yj>uu4D@#s2Jt7@-wo&` zeqMG7Cw?TDvp~*3c{josU@UA8;<(#^&A{s@j}c%k=UgzIaDj?HbUiP~UI>nZPcRPHWec&dwT69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