Skip to content

Instantly share code, notes, and snippets.

@haade-administrator
Last active September 16, 2021 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haade-administrator/4686117b981d487039c2c851f2226b3d to your computer and use it in GitHub Desktop.
Save haade-administrator/4686117b981d487039c2c851f2226b3d to your computer and use it in GitHub Desktop.
Zoneminder
# Intégration des caméras
camera:
- platform: zoneminder
# Intégration remontée du nombre d'évènements
sensor:
- platform: zoneminder
include_archived: false
# Exemple changement entre deux modes dans ZM ( modes disponibles: Nodect, Mocord, Modect, Record )
switch:
- platform: zoneminder
command_on: Modect
command_off: Monitor
# Intégration Zoneminder dans haos
zoneminder:
- host: ZM_HOST
path: ZM_PATH
path_zms: ZM_PATH_ZMS
ssl: true
verify_ssl: true
username: YOUR_USERNAME
password: YOUR_PASSWORD
# Service qui permet de changer d'état dans Zoneminder
action:
service: zoneminder.set_run_state
data:
id: ZM_HOST
name: Home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment