Last active
July 5, 2020 13:07
-
-
Save swilson/89096c289d07fdf7d5d92796354a7b19 to your computer and use it in GitHub Desktop.
Home Assistant switch to trigger ZoneMinder recording
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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