Page 1 of 1

Zone name in event

Posted: Mon May 04, 2009 10:12 pm
by TehMaliron
OK, I have searched through these forums high and low, and have not seen anyone mention anything along these lines. Sorry if there is another thread about this somewhere, because it seems like such an obvious feature. If there is please point me in the right direction.

I am looking for a way to have the "event prefix" be able to have the zone name that trigger the event. I feel it would be very advantageous to be able to search through the recordings and see, "Oh, this was event was triggered by someone walking up to my car because the event is labeled 'Driveway-Car-4924'."

I tried to set an event prefix as "Driveway-%EC%-", but I soon realised that, even if that had worked, it would only give me "Driveway-Motion-" type events. Even though this did not work at all anyway.

Does anyone out there have any suggestions?

Thanks!

Posted: Mon May 04, 2009 11:15 pm
by cordel
Far as I'm aware and I believe is described in the documentation, the only variables available out side of the time are the ones that are provided by zmtriggers.pl

I know that someone had claimed to do something in the past but as I recall never shared.

I'm sure if you search for the combination of timestamp and showtext you'll have a manageable list.

Posted: Mon May 04, 2009 11:30 pm
by TehMaliron
So in your opinion it should be possible to use some of the variables found in zmtrigger.pl and the timestamp variables in the "event prefix" variable?

Posted: Mon May 04, 2009 11:37 pm
by kingofkya
Why not just rename the zone or am i missing your point

Posted: Mon May 04, 2009 11:45 pm
by TehMaliron
Why not just rename the zone
I do rename the camera, but I like to have multiple "zones" setup for each camera. It allows for more precise triggering. What I would like is for a camera event to have the zone that caused the trigger labeled in it.

For example: Camera 1 has zones A,B,C.

Right now if there is a motion event, the title of the event is simply prefixed with "Camera 1-{event id}" no matter what zone had the motion in it.

I think it would very helpful is the event would read "Camera 1-B-{event id}" if the motion that caused the alarm occured in Zone B.

Posted: Mon May 04, 2009 11:52 pm
by cordel
See this post:
http://www.zoneminder.com/forums/viewtopic.php?t=10549

and search the change log.

Posted: Thu May 14, 2009 10:35 am
by TehMaliron
I tried some of the suggestions here, with no luck. Sorry for the delay, but I have not had a lot of time to mess with it. It seems as though it ignores any variable you put in the "event prefix" field and just prints the literal %E or what not. Possibly this was fixed in a newer version. It's not in the Ubuntu repos yet. I know how to compile the latest and greatest on my own and all, but that's a road I don't feel like traveling down right now. Filled with broken dependency pot holes I'm sure.

Can anyone confirm that what I want to do works in later version?

Re: Zone name in event

Posted: Sat Feb 10, 2018 9:22 pm
by jhyatt5
Did you ever find a solution to this post? I would like to do the same.

Re: Zone name in event

Posted: Sun Apr 29, 2018 10:48 pm
by asker
This feature was recently added to zoneminder - it will be part of 1.32.0 when it releases