home-assistant.io/source/_components/switch.zoneminder.markdown
Paulus Schoutsen 8da0dfa74f Revert "Added documentation changes for ZM external trigger (#2350)" (#2359)
This reverts commit 8c8b44b64439cb0bc57508f41b8b97ec267ec552.
2017-03-31 08:56:44 -07:00

1.1 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_release
page ZoneMinder Switch How to toggle the function of ZoneMinder monitors in Home Assistant. 2016-10-13 22:57 true false true true zoneminder.png Switch 0.31

The zoneminder switch platform allows you to toggle the current function of all 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.