1

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.

mpromonet
  • 1,124
  • 1
  • 19
  • 38

1 Answers1

1

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".

j0h
  • 2,508
  • 6
  • 27
  • 36