Search found 11 matches

by Sir Veillance
Thu Mar 25, 2010 5:49 pm
Forum: ZoneMinder 1.24.x
Topic: Function ereg() is deprecated
Replies: 4
Views: 13512

open up php.ini and comment out the sections on errors this would affect all php programs running on the server (unless you copy the php.ini into your zm directory and manipulated that one) What one should do is grep error_reporting *.php change all occurrences to error_reporting(E_ALL ^ (E_NOTICE ...
by Sir Veillance
Sun Oct 04, 2009 4:36 pm
Forum: ZoneMinder 1.24.x
Topic: Can't get zoneminder to autoboot
Replies: 5
Views: 10778

This is how I got it to work with openSuSE 11: (/etc/init.d/zm) copied from different sources #!/bin/sh # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip ...
by Sir Veillance
Wed Nov 14, 2007 7:34 pm
Forum: ZoneMinder Previous Versions
Topic: running a program
Replies: 7
Views: 4804

Re: How do I load the script?

At what time do you run the alarm_loop.pl file? at the moment (still testing), I run it manually (from a console): ./alarm_loop.pl & ("&" means: in the background) Later, I am going to start it from a console script together with ZM. This script can be placed in the /etc/init.d folder (may differ ...
by Sir Veillance
Wed Nov 14, 2007 12:29 pm
Forum: Feature Requests
Topic: removing distorted frames
Replies: 3
Views: 2620

I think, the processing time wouldn't be that much of an issue here, because it doesn't have to be done in realtime, but only (as a filter) after an event had occurred. As for setting maximum alarmed area: this has to be changed in each zone, right? As for plugins: maybe I can build my own plugin ...
by Sir Veillance
Wed Nov 14, 2007 12:07 pm
Forum: ZoneMinder Previous Versions
Topic: running a program
Replies: 7
Views: 4804

achix wrote:A dog bark would be great!
that's exactly what intruders get to hear in my garden :wink:

BTW: I haven't yet found any good (scary) dog bark sound files on the net. :(
I guess I have to go to a scrapyard and find a mastiff :wink:
by Sir Veillance
Wed Nov 14, 2007 11:58 am
Forum: Feature Requests
Topic: Email Test
Replies: 7
Views: 5715

cordel wrote:A SQL statement is simple and quick enough. Once you put the statement together it only takes a few seconds to rerun it.
..provided you are familiar with SQL.. and mysql.. and scripting.. and Linux-- :wink:
by Sir Veillance
Wed Nov 14, 2007 3:15 am
Forum: Feature Requests
Topic: Email Test
Replies: 7
Views: 5715

cordel wrote:There is nothing built into the web UI.
We do it just as you have by updating the flag through a sql statement.
but wouldn't it be nice to have a "Force" checkbox on the Event Filter page? :wink:
by Sir Veillance
Wed Nov 14, 2007 2:50 am
Forum: Feature Requests
Topic: removing distorted frames
Replies: 3
Views: 2620

removing distorted frames

my wireless camera sometimes sends distorted pictures, mostly at night and while it's raining. Examples: http://img84.imageshack.us/img84/2575/stoerung2on5.jpg http://img125.imageshack.us/img125/2091/stoerung1ah4.jpg I have two ideas how to avoid those false alarms: :idea: 1: a plugin interface so ...
by Sir Veillance
Tue Nov 13, 2007 9:07 pm
Forum: Feature Requests
Topic: Email Test
Replies: 7
Views: 5715

It seems like ZM only executes the filter if the corresponding flag has not been set yet, like Events.Emailed. If this flag is =1, then ZM won't send this event. Is there a built-in procedure to reset these flags? At the moment, I have to edit the mysql table and set the flag=0 manually. Quite ...
by Sir Veillance
Tue Nov 13, 2007 3:25 pm
Forum: ZoneMinder Previous Versions
Topic: running a program
Replies: 7
Views: 4804

[solved] running a program

it works :D Here is my script alarm_loop.pl #!/usr/bin/perl -w use strict; use ZoneMinder; $| = 1; zmDbgInit( "myscript", level=>0, to_log=>0, to_syslog=>0, to_term=>1 ); my $dbh = DBI->connect( "DBI:mysql:database=".ZM_DB_NAME.";host=".ZM_DB_HOST, ZM_DB_USER, ZM_DB_PASS ); my $sql = "select M ...
by Sir Veillance
Tue Nov 13, 2007 4:03 am
Forum: ZoneMinder Previous Versions
Topic: running a program
Replies: 7
Views: 4804

running a program

Hi, I'd like ZM to run a program whenever an event is triggered. The example script in the FAQ seems to be suitable for my purpose. But I am not a perl programmer, so the simple task of placing a call to my own (bash) script is too high for me :cry: Could somebody please show me, what I have to ...