View unanswered posts | View active topics It is currently Fri May 24, 2013 9:04 pm



Reply to topic  [ 4 posts ] 
New released zmtrigger.pl 
Author Message

Joined: Mon Oct 06, 2008 6:13 pm
Posts: 20
Post New released zmtrigger.pl
Hi people,

I have worked to complement zmtrigger.pl with news options: (ZoneMinder released 1.22.3)

• Enabled and Disabled monitors
• Change function monitors (except None)
• Execute filters previously saved.
• Now monitors have identified by Name and not by Id number.

The format of triggers used by zmtrigger.pl is as follows "<name>|<action>|<namefilter>|<score>|<cause>|<text>|<showtext>" where

• 'name' is the name of the ZM monitor. Case sensitive.
• 'action' is 'on', 'off', 'cancel', ‘show’, ‘enable’, ‘disable’, (‘Monitor’, ‘Modect’, ‘Record’ , ‘Mocord’, ‘Nodect’) and ‘filter’ where 'on' forces an alarm condition on, 'off' forces an alarm condition off and 'cancel' negates the previous 'on' or 'off'. The ‘show’ action merely updates some auxiliary text which can optionally be displayed in the images captured by the monitor. Ordinarily you would use 'on' and 'cancel', 'off' would tend to be used to suppress motion based events. Additionally 'on' and 'off' can take an additional time offset, e.g. on+20 which automatically 'cancel's the previous action after that number of seconds. The ‘enable’ monitor is enabled state and ‘disable’ monitor is disabled state. All functions except None (‘Monitor’, ‘Modect’, ‘Record’ , ‘Mocord’, ‘Nodect’) change monitor function. The ‘filter’ execute filter previously saved.
• ‘namefilter’ is the name of filter execute in action ‘filter’. Case sensitive.
• 'score' is the score given to the alarm, usually to indicate it's importance. For 'on' triggers it should be non-zero, otherwise it should be zero.
• 'cause' is a 32 char max string indicating the reason for, or source of the alarm e.g. 'Relay 1 open'. This is saved in the ‘Cause’ field of the event. Ignored for 'off' or 'cancel' messages
• 'text' is a 256 char max additional info field, which is saved in the ‘Description’ field of an event. Ignored for 'off' or 'cancel' messages.
• 'showtext' is up to 32 characters of text that can be displayed in the timestamp that is added to images. The ‘show’ action is designed to update this text without affecting alarms but the text is updated, if present, for any of the actions. This is designed to allow external input to appear on the images captured, for instance temperature or personnel identity etc.

new zmtrigger.pl --> http://www.megaupload.com/es/?d=NL9H0N0X

PD. I don't post code because it's very long


Wed Jan 21, 2009 7:39 pm
Profile
User avatar

Joined: Sun Aug 17, 2008 6:34 am
Posts: 219
Location: Rosario - Argentina
Post 
Good mod jaume, but I have a dude. It is for ZM 1.22.3 or 1.23.3?


Wed Jan 21, 2009 10:19 pm
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post Re: New released zmtrigger.pl
jaume85 wrote:
I have worked to complement zmtrigger.pl with news options: (ZoneMinder released 1.22.3)


1.22.3 :wink:


Wed Jan 21, 2009 10:31 pm
Profile WWW

Joined: Wed Apr 26, 2006 1:39 am
Posts: 227
Location: Boston USA
Post 
If this script is still compatible with zm 1.24.2 why not integrate into the next release? It seems very useful.

_________________
MRD


Sat Feb 13, 2010 12:06 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group