zoneminder switch platform allows you to toggle the current function of all cameras attached to your ZoneMinder instance.
You must have the ZoneMinder component configured to use this.
To enable this switch, add the following lines to your
# Example configuration.yaml entry switch: - platform: zoneminder command_on: Modect command_off: Monitor
- 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.