From 0e5ccfd0ea8932dbde13f561a4903d37f3d7becf Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Wed, 7 Oct 2020 17:11:25 +0200 Subject: [PATCH] Revert zoneminder config flow (#15025) This reverts commit 2b2b47e41caf7fd828feb73b92f127ba9198c69a. --- source/_integrations/zoneminder.markdown | 28 +++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/source/_integrations/zoneminder.markdown b/source/_integrations/zoneminder.markdown index fc85d0c889c..5f4174e53f4 100644 --- a/source/_integrations/zoneminder.markdown +++ b/source/_integrations/zoneminder.markdown @@ -11,7 +11,6 @@ ha_release: 0.31 ha_iot_class: Local Polling ha_codeowners: - '@rohankapoorcom' - - '@vangorra' ha_domain: zoneminder --- @@ -26,8 +25,11 @@ There is currently support for the following device types within Home Assistant: ## Configuration -1. From the Home Assistant front-end, navigate to 'Configuration' then 'Integrations'. Under 'Set up a new integration' locate 'ZoneMinder' and click 'Configure'. -2. Enter the information appropriate for the server and click 'Submit'. +```yaml +# Example configuration.yaml entry +zoneminder: + - host: ZM_HOST +``` {% configuration %} host: @@ -64,9 +66,23 @@ password: type: string {% endconfiguration %} -## Service +### Full configuration -Once loaded, the `zoneminder` integration will expose a service (`set_run_state`) that can be used to change the current run state of ZoneMinder. +```yaml +# Example configuration.yaml entry +zoneminder: + - host: ZM_HOST + path: ZM_PATH + path_zms: ZM_PATH_ZMS + ssl: true + verify_ssl: true + username: YOUR_USERNAME + password: YOUR_PASSWORD +``` + +### Service + +Once loaded, the `zoneminder` platform will expose a service (`set_run_state`) that can be used to change the current run state of ZoneMinder. | Service data attribute | Optional | Description | |:-----------------------|:---------|:----------------------------------| @@ -93,6 +109,8 @@ Each binary_sensor created will be named after the hostname used when configurin The `zoneminder` camera platform lets you monitor the current stream of your [ZoneMinder](https://www.zoneminder.com) cameras. +### Configuration + To set it up, add the following information to your `configuration.yaml` file: ```yaml