Most PSIM software supports Event Correlation: Create an Alarm if this event occurs at the same time as this other event.
Using Omnicast Macros, it is been possible to correlate events and generate an alarm with a procedure.
Example: You can configure Omnicast to generate an Alarm only when an input pin is triggered at the same time as Omnicast detects motion on 2 other cameras. The number of miliseconds to consider 2 events correlated is configurable.
Download the Macro
General info on how to install macros
How to Configure it
The Event Generation macro is design to run in the background and listen for events.
- Make sure that you have an Alarm with the Logical ID 2 with the appropriate procedure and recepients.
- Create a VM Schedule with the Event Correlation Macro.
- Make the custom event ID 10500, 10501, 10502, 105003 exist. The macro creates them the first time.
- Configure which Input pins should be used by generating one of the 3 custom events. (Event-Correlation High/Medium/Low)
- Configure which cameras should by generating a custom event when motion is detected.
How to customize it
The first section of the macro code contains all the public value that can be modified to customize it.
Modify WAITING_TIME to change number of miliseconds between events to consider them correlated.
Const WAITING_TIME = 2000 ' 2 Seconds
The Alarm instance that we generate when we detect a correlation is configured, a value of 0 will disable Alarm generation.
Const ALARM_ID = 2
I inlcuded 3 macros in the zip that can be used to test the Event generation macro by simulating events.
Jo

0 comments:
Post a Comment