Zone name in event

Support and queries relating to all previous versions of ZoneMinder
Post Reply
TehMaliron
Posts: 6
Joined: Mon May 04, 2009 9:54 pm

Zone name in event

Post by TehMaliron » Mon May 04, 2009 10:12 pm

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!

User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Post by cordel » Mon May 04, 2009 11:15 pm

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.

TehMaliron
Posts: 6
Joined: Mon May 04, 2009 9:54 pm

Post by TehMaliron » Mon May 04, 2009 11:30 pm

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?

User avatar
kingofkya
Posts: 1105
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya » Mon May 04, 2009 11:37 pm

Why not just rename the zone or am i missing your point

TehMaliron
Posts: 6
Joined: Mon May 04, 2009 9:54 pm

Post by TehMaliron » Mon May 04, 2009 11:45 pm

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.
Last edited by TehMaliron on Tue May 05, 2009 12:15 am, edited 1 time in total.

User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Post by cordel » Mon May 04, 2009 11:52 pm

See this post:
http://www.zoneminder.com/forums/viewtopic.php?t=10549

and search the change log.

TehMaliron
Posts: 6
Joined: Mon May 04, 2009 9:54 pm

Post by TehMaliron » Thu May 14, 2009 10:35 am

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?

jhyatt5
Posts: 1
Joined: Sat Feb 10, 2018 9:17 pm

Re: Zone name in event

Post by jhyatt5 » Sat Feb 10, 2018 9:22 pm

Did you ever find a solution to this post? I would like to do the same.

User avatar
asker
Posts: 923
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zone name in event

Post by asker » Sun Apr 29, 2018 10:48 pm

This feature was recently added to zoneminder - it will be part of 1.32.0 when it releases
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests