I'm trying to make a video surveillance system with my Raspberry Pi (running raspbian) using Zoneminder.

Default action of Zoneminder is only to send an e-mail but I want also to run a script which tells Raspberry how to react in case of alarm.

I found two ways to do that:

  1. Modify zmfilters.pl file generating a bash command when there is a not archived event having an alarm image

  2. Modify zm_monitor.cpp file making it write a bash when current state go to alarm. In the first solution i don't know how to tell in perl language to system to make a bash and in the second one i'm not capable of compile Zoneminder once the file is modified. The second solution is more efficient but I'm new in linux and I cannot understand how to compile it.

I followed this guide for Ubuntu.

| improve this question | | | | |
  • Could you let us know which step of the guide failed and what was the error message. – sмurf Feb 16 '15 at 2:34

I used zoneminder several years ago. I may be wrong, but it seemed like a dead project. a simple alternative with active support which I know works quite well on a raspberry pi is "motion".

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy