Detect lack of motion?

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
matrixsecurity
Posts: 2
Joined: Thu Apr 23, 2009 3:05 pm

Detect lack of motion?

Post by matrixsecurity »

Hi everybody,
I was wondering if there was any way to reverse ZoneMinder's motion detection to detect when motion stop in the frame? We have a few machine that run around the clock and we wanted to be able to have ZM send an email if it detects the motion has stopped. Thanks for any help or suggestions.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

It does not, but is an interesting idea.

[Moved to Feature Requests]
matrixsecurity
Posts: 2
Joined: Thu Apr 23, 2009 3:05 pm

Post by matrixsecurity »

Thanks, I'm trying to make a script create a similar function, any ideas on how to have the script receive a start and stop trigger from ZM? Any other ideas would be helpful thanks!
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You could likely do it in perl using the ZoneMinder perl modules to some degree since they has direct access to the to the status. I would think you would also have to set the reference blend pretty high for that camera, though I have never toyed with it in that fashion. My perl is pretty weak, I can follow it but thats about it.
User avatar
Normando
Posts: 219
Joined: Sun Aug 17, 2008 5:34 am
Location: Rosario - Argentina

Post by Normando »

What happens if set Min/Max Pixel Threshold as follow:

Min:0 (or 1, try your self)
Max:75

Of course, use only the Alarm check method "PixelAlarmed" at starting point.

Set the Max setting below the minimun movement you want to NO detect. Supose you have a machine that generate pixels diference from 90 to 200. Because the events will be canceled when reach the Max setting, then you have no alarms, because your pixels diff are higher than Max setting. When the machine goes off, then the pixels diff are below than Max setting, and an alarm is generated.

This is only an idea. I never tried this. Please, post your results.
kiwi
Posts: 4
Joined: Mon Sep 01, 2008 8:02 am

Post by kiwi »

hi

is there any way to send alarm mail, that picture is blank? (black)

it happens sometimes, that camera freezes, and I often find it relatively late

(it just resembled "lack of motion" issue)
Post Reply