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

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
Mentor.37
Posts: 7
Joined: Wed Oct 25, 2017 6:15 pm

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

Post 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.
Post Reply