Page 1 of 1
zmfilter info.
Posted: Sat Nov 08, 2003 1:10 am
by fernando
phil
i have made test with zm 0.15 and 0.16 and in both the only way the filter works is in active "modec" mode..
if zm is in passive or other mode delete filters dont work.
this is by camera..
Re: zmfilter info.
Posted: Sat Nov 08, 2003 12:34 pm
by zoneminder
zmfilter only runs when in one of Mocord, Modect or Record modes so that is why your filters did not execute in Monitor mode. This may not be preferable however so I've changed it in the version I'm uploading now so it runs in any mode except 'None'.
I don't know why it should make any difference between the active modes though.
Phil,
Re: zmfilter info.
Posted: Sat Nov 08, 2003 12:52 pm
by fernando
ok iam testing it now.. i will leave my comment later..
ha? if a have a life? yes but is all the same thing...
and iam consider mi self the top ZM beta tester.. :)
and the top anoing one ...lol.
Fernando.
Re: zmfilter info.
Posted: Sat Nov 08, 2003 6:26 pm
by fernando
Scanning for events since id -1
Use of uninitialized value in localtime at /usr/local/bin/zmfilter.pl line 141.
Use of uninitialized value in localtime at /usr/local/bin/zmfilter.pl line 141.
Use of uninitialized value in localtime at /usr/local/bin/zmfilter.pl line 141.
Use of uninitialized value in localtime at /usr/local/bin/zmfilter.pl line 141.
Use of uninitialized value in localtime at /usr/local/bin/zmfilter.pl line 141.
this is what i get from logs.
zmfilter-1.log "camera 1 is in modec"
zmfilter-2.log "camera 2 is in record"
Re: zmfilter info.
Posted: Sat Nov 08, 2003 6:29 pm
by fernando
i restart zm and all i get is the logs
no deletion at all.
i look at rhe code but i dont get many things..
iam studing C .... "learn c in 24 hours" has i see perl is most same code.
Fernando
Re: zmfilter info.
Posted: Sat Nov 08, 2003 8:18 pm
by zoneminder
Hi Fernando,
If you edit zmfilter.pl and look for where VERBOSE is defined. Set that to 1, restart zmfilter (or the whole thing) and see if there's anything more useful in the logs.
Phil,
Re: zmfilter info.
Posted: Sat Nov 08, 2003 9:29 pm
by fernando
Scanning for events since id -1
Found filter 'borrar'
Use of uninitialized value in localtime at /usr/local/bin/zmfilter.pl line 141.
Last event generated is 0
Reloading filters
Found filter 'borrar'
Use of uninitialized value in localtime at /usr/local/bin/zmfilter.pl line 141.
Checking filter 'borrar', delete
Last event generated is 0
Checking filter 'borrar', delete
Sleeping for 60 seconds
Re: zmfilter info.
Posted: Thu Nov 13, 2003 1:25 pm
by fernando
this has help you in somethink? you need something else?