home-assistant.io/source/_components/switch.zoneminder.markdown
Richard Cox 455b96509f ZoneMinder Docs (#1239)
* ZoneMinder Docs

* Better verbage, changing 'url' to 'path'
2016-10-20 12:56:41 +02:00

1.0 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category
layout title description date sidebar comments sharing footer logo ha_category
page ZoneMinder Switch Instructions how to integrate ZoneMinder switches into Home Assistant. 2016-10-13 22:57 true false true true zoneminder.png 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:

# 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.