How to make Zoneminder not record during the night?
Posted: Sun Dec 17, 2017 3:03 pm
For virtually all my outdoor cameras, I'm getting so many extra events from spiderwebs swaying in the wind / dust blowing around, that I can't really record during night (lest I fill up my disk too quickly). So, what I would like to do is do Modect only during day, and Nodect during the night (possibly with external triggers, or maybe with different sensitivity settings - though a white spiderweb would likely trigger no matter what).
How do I accomplish that? Now hear me out - I know about zonestates, and switching with "/usr/bin/zmpkg.pl Daytime". The problem with these is that they're a performance disaster - they seem to shut down Zoneminder and restart it, with all the cameras disconnecting / reconnecting, resulting in the script taking ~30 seconds, and just as many events being missed.
While I'll probably be all right, in times where people pride themselves with high availability, turning yourself blind for 30 seconds feels like a messy solution. Is there a better way than zonestates? What if I edit things directly in the database - will zoneminder pick it up?
Thanks in advance!
~ Michael
How do I accomplish that? Now hear me out - I know about zonestates, and switching with "/usr/bin/zmpkg.pl Daytime". The problem with these is that they're a performance disaster - they seem to shut down Zoneminder and restart it, with all the cameras disconnecting / reconnecting, resulting in the script taking ~30 seconds, and just as many events being missed.
While I'll probably be all right, in times where people pride themselves with high availability, turning yourself blind for 30 seconds feels like a messy solution. Is there a better way than zonestates? What if I edit things directly in the database - will zoneminder pick it up?
Thanks in advance!
~ Michael