Skip to content

Instantly share code, notes, and snippets.

@swilson
Last active July 5, 2020 13:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swilson/89096c289d07fdf7d5d92796354a7b19 to your computer and use it in GitHub Desktop.
Save swilson/89096c289d07fdf7d5d92796354a7b19 to your computer and use it in GitHub Desktop.
Home Assistant switch to trigger ZoneMinder recording
# Make sure OPT_TRIGGERS is enabled in ZoneMinder, and the camera is set to Nodect
switch:
- platform: telnet
switches:
front_door_camera_trigger:
resource: 'localhost'
port: 6802
command_on: '1|on|123|MotionOn|on'
command_off: '1|off|123|MotionOff|off'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment