Page 1 of 1

Bash script to automate zm (schedule change state, arm using bluetooth, move cameras)

Posted: Wed May 02, 2018 3:15 pm
by Mentor.37
Here a simple bash script with several functions to totally automate Zoneminder.

With this script you can:
- automatically switch the Day and Night states based on hour
- automatically switch to the Armed state if a bluetooth device isn't more detected
- automatically move the ptz cameras in two different preset when changing state
- automatically restart Zoneminder if it goes in the Inactive state

I'm opened to improve it.