http notifications

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
breizhbug
Posts: 61
Joined: Wed May 10, 2006 10:59 am
Location: France

http notifications

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
breizhbug
Posts: 61
Joined: Wed May 10, 2006 10:59 am
Location: France

Post by breizhbug »

Sorry, but I don't find in FAQ discussion relating to zmtrigger.pl
Anybody could help me
Thanks
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
Post Reply