Page 1 of 1

on-camera motion detection

Posted: Mon Jul 17, 2006 3:59 am
by divanov
Hello.

I just noticed that my AXIS 207 camera has an option to send an HTTP notification. I did not test this yet, but I asume it would send repeated notifications when motion is detected.

Is there any way to use this instead of MoDetect ? That is, have zone minder record when it gets these notifications. If not, how hard would that be to implement ? I would be really interested in doing this.

Also, would this considerably reduce the load on the server?

Posted: Mon Jul 17, 2006 4:33 am
by divanov
Would this be possible using Nodetect and zmtrigger.pl. Where can I find some documentation on how to use zmtrigger.pl ?

Posted: Mon Jul 17, 2006 10:49 am
by jameswilson
I have never used zmtrigger.pl and i dont think there as any full documentation for i as its an advanced option. There are some working zmtrigger scripts in the contribs that do differeent things i would suggest you look at these. Maybe someone who has developed something for zmtrigger could do a very basic exaple we could put on the wiki, as i for one prefer examples to documents!

IOt definetly would help the load on the server as the deytection takes a fdair bit of processor horsepower
James

Posted: Mon Jul 17, 2006 4:07 pm
by zoneminder
If the camera can output an indication via http or something like that then adding a connector class to zmtrigger would be easy. On the other hand if it just outputs via hardware switches then there will need to be a bit of hardware in between to bring it onto the ZM box, probably via serial ports.

Posted: Mon Jul 17, 2006 8:10 pm
by divanov
This particular camera can do both, hardware switch and a http post. It looks like it posts on start OR end (not both) of motion event. This is kind of BAD as it does not let me turn the recording on and off. It would probably has to be done with a timer. I will look into the contrib scripts to figure this out

Posted: Thu Jul 20, 2006 10:15 pm
by mycal
Hey let me know on how you would like this to work as I think it is a great idea. I'm working on some firmware for an IP camera/ video server and would like to add something like this.

Also le me know any other features an IP camera should have so I can look into adding those too.

mycal

Posted: Sat Jul 22, 2006 2:23 am
by divanov
Axis can send events on motion start or end only (not both either). I think that using zmtrigger.pl you would need the camera to send motion events at fixed intervals while motion is happening. This way you can set a monitor to record for something like 10 seconds at a time each time you receive a notification from the camera. Camera would have to send motion events every 9 seconds for example during motion.

Axis cameras can also send coordinates of motion. I am assuming this would be harder to integrate.