Page 1 of 1

http notifications

Posted: Wed Oct 11, 2006 7:57 pm
by breizhbug
Hello,
I would like to know if ZM manage http notifications provided by netwoek cameras.
For example, on Axis cam, you can manage events (Motion detection for example). Events can put http notifications. Does ZM able to start recording when it receive this kind of information.
If yes, would you please indicate how it could be set up.
It would be a good way to decrease processor charge.
Thanks

Posted: Thu Oct 12, 2006 11:10 am
by zoneminder
Out of the box ZM will not respond to http notifications. However you can create a script using zmtrigger.pl or the example in the FAQ to do so.

The processor question is probably best initially addressed in the Wiki FAQ also.

Posted: Thu Oct 12, 2006 11:20 am
by breizhbug
Sorry, but I don't find in FAQ discussion relating to zmtrigger.pl
Anybody could help me
Thanks

Posted: Thu Oct 12, 2006 11:37 am
by zoneminder
zmtrigger.pl might be overkill for you actually.

If you do perldoc 'ZoneMinder::SharedMem' you will see that there are various functions that control alarms such as zmTriggerEventOn etc. For a http connection your best bet may be to create a cgi script using these functions and get your cam to call out to that. The example script in the FAQ contains most of the preamble you will need.