Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 1.62 KB

README.md

File metadata and controls

44 lines (39 loc) · 1.62 KB

ZoneMinder-plugin-for-Domoticz

A Domoticz plugin that creates switches for each monitor configured on the ZoneMinder server and enables Domoticz to change their status

Prerequisites

  1. ZoneMinder API must be enabled, check out the API documentation (Wiki URL) for how to enable the API: http://zoneminder.readthedocs.io/en/stable/api.html
  2. ZoneMinder setting OPT_USE_LEGACY_API_AUTH must be enabled.
  3. requests libary for Python 3: https://pypi.org/project/requests/

Installation

  1. Clone repository into your Domoticz plugins folder
    cd domoticz/plugins
    git clone https://github.com/Frixzon/ZoneMinder-plugin-for-Domoticz.git
    
  2. Restart domoticz
    sudo service domoticz.sh restart
    
  3. Make sure that "Accept new Hardware Devices" is enabled in Domoticz settings
  4. Go to "Hardware" page
  5. Enter the Name
  6. Select Type: ZoneMinder
  7. Specify the correct server address, username and password
  8. Click Add

Update

  1. Go to plugin folder and pull new version
    cd domoticz/plugins/ZoneMinder-plugin-for-Domoticz
    git pull
    
  2. Restart domoticz
    sudo service domoticz.sh restart
    

Devices

The following devices are created:

Type Name Description
Selector Switch State Can set the running state of ZoneMinder to Start/Stop/Restart
Selector Switch Monitor # Can set monitor state Monitor/Modect/Record/Mocord/Nodect
Switch Monitor # Status Can enable/disable the monitor