zmfilter info.

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

zmfilter info.

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

Re: zmfilter info.

Post 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,
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Re: zmfilter info.

Post 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.
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Re: zmfilter info.

Post 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"
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Re: zmfilter info.

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

Re: zmfilter info.

Post 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,
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Re: zmfilter info.

Post 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
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Re: zmfilter info.

Post by fernando »

this has help you in somethink? you need something else?
Locked