How to limit recording length
Posted: Sun Jun 20, 2021 12:51 pm
Hello ZM enthusiasts! I've been using ZM for a long time and there's something that really chaps my hide and I can't figure out a good way to handle it. Inevitably when the warm weather rolls around the spiders come out and love to drape webs all over the front of my camera, then as the wind blows the webs trigger the camera to record over and over again.
Most of the time I get a bunch of shorter clips. I've been able to build some automations into Home Assistant to detect when I get a high number of captures in a short amount of time it's likely because of a spiderweb and Home Assistant will temporarily disable the camera. However, sometimes I get 6000 frames of a web blowing in the wind. When that happens I just get a bunch of really long recordings.
I really want to set up a rule or something that says: if the capture is running for more than 3 minutes stop it and move on. I don't expect too many recordings to be longer than a minute of continuous triggering so three would force the Home Assistant to work more quickly in temporarily disabling the camera.
Is there any way in ZoneMinder to put a hard limit on the length of recordings?
Most of the time I get a bunch of shorter clips. I've been able to build some automations into Home Assistant to detect when I get a high number of captures in a short amount of time it's likely because of a spiderweb and Home Assistant will temporarily disable the camera. However, sometimes I get 6000 frames of a web blowing in the wind. When that happens I just get a bunch of really long recordings.
I really want to set up a rule or something that says: if the capture is running for more than 3 minutes stop it and move on. I don't expect too many recordings to be longer than a minute of continuous triggering so three would force the Home Assistant to work more quickly in temporarily disabling the camera.
Is there any way in ZoneMinder to put a hard limit on the length of recordings?