Event definitions and auto restore
Give every event one code across protocols, set how its alarms are handled, and let restore signals close open alarms automatically.
What an event definition is
An event definition gives one concept one code, whatever protocol the panel uses. For example, E110 is a burglary alarm, whether it arrived as SIA BA or Contact ID +130. The rows of the alarm definitions point to these event codes.
An event definition sets:
- The Event Code and a Name in each language.
- The Alarm Type (category) of its alarms. It wins over the type from the code row.
- What happens to its alarms: ignore, reject, severity, a delay, and auto restore rules.
Use event codes in workflows and filters when you mean a concept across protocols. Each new company gets the standard event definitions; see Standard event codes.
Turn event definitions on
Event definitions work only when they are switched on for your company. To switch them on, go to Company › Settings › Alarms.
- Under Advanced, switch on Enable Event Definitions.
From then on, the event code is stored on each new alarm next to its original code. While the setting is off, the Event Definitions heading shows (Disabled), and auto restore rules don't work.
Event definition types
| Type | Used for | Options |
|---|---|---|
| Incoming Alarm | Alarms that arrive from panels and receivers | Alarm type, ignore, reject, severity, auto delay, auto restore |
| Comment | Custom event log entries, such as comments. The alarm type is Comment. | Name only |
| Follow-up Event | Follow-up events that operators create. The alarm type is Follow-up. | Severity, and Process as alarm (allows follow-up events to interact with workflows) |
| Internal Event | Events that evalink talos raises itself, such as test mode or alarm supervision | Name only. You can't delete them or change their code or type. |
You choose the type when you create the definition. You can't change it later.
Add an event definition
To add an event definition, go to Company › Settings › Alarms.
- Next to Event Definitions, click Add New. The Add Event Definition dialog opens.
- Enter the Event Code: 1 to 10 characters, with at least one letter or digit. It must be unique.
- Select the type: Incoming Alarm, Comment or Follow-up Event.
- For an incoming alarm, select the Alarm Type.
- Enter a Name for each language you need.
- For an incoming alarm, set the options:
- Ignore: close matching alarms at once, keeping them in history.
- Reject: drop matching alarms, so they aren't stored.
- Severity: the severity of matching alarms.
- Auto Delay (seconds): hold matching alarms back from the queue for this time.
- Auto Restore: rules that close open alarms; see Close alarms automatically with Auto Restore.
- Click Submit.
Severity and Auto Delay (seconds) start at -1, which means not set. A delay doesn't apply to alarms that an automated workflow sends.
For the difference between ignore and reject, see Ignore or reject: what's the difference.
Edit or delete an event definition
To edit an event definition, go to Company › Settings › Alarms.
- Under Event Definitions, click the definition. The Edit Event Definition dialog opens.
- Change the fields. You can't change the type.
- Click Submit.
You can also edit the standard event definitions, for example to give a code a delay. To delete a definition, click Delete in the dialog or the delete icon on the row, type delete in Confirmation, and click Confirm Delete. Internal events can't be deleted.
Alarm or restore: how a restore is recognized
Many panels send a second signal when the cause of an alarm is gone, a restore. evalink talos recognizes it from the alarm definition:
- SIA uses separate codes, for example
BA(Burglary Alarm,E110) andBR(Burglary Restoral,E111). - Contact ID uses one number with a sign:
+130is the alarm (E110),-130the restore (E111). - A code row can force the value with the
alarmValueflag (False means restore) or flip it withinvertAlarmValue.
This only classifies the signal. The restore arrives as an alarm of its own, marked as a restore, and the original alarm stays open. To close the original alarm, add an auto restore rule.
Close alarms automatically with Auto Restore
An auto restore rule on an incoming-alarm event definition says: when this restore code arrives from the same site, close the open alarms of this definition. To add one, go to Company › Settings › Alarms.
- Under Event Definitions, click the definition of the alarm, for example
E110. - Under Auto Restore, click Add.
- In Restore Event, select the restore code, for example
E111. - In Restore Logic, select which open alarms to close:
- All: every open alarm of this definition on the site.
- Same Zone: only alarms with the same zone as the restore. This is the default.
- Same Partition: only alarms with the same partition as the restore.
- Click Submit.
When the restore arrives, the matching open alarms are set to Closed. Their history shows that they were restored automatically, with a link to the restore. A definition can have several rules; the Auto Restore column then shows Yes.
Auto restore needs Enable Event Definitions, because it matches by event code. Without a rule, a restore closes nothing.
The restore alarm that alarm supervision raises works the same way: it closes the timeout alarm only if you add a rule for it.
Find event definitions
Above the table, use the filters to narrow the list: Search (code or name), Event Definition Type, Alarm Type, and Ignore, Reject, Auto Restore and Automatable (All, Yes or No). The table shows Event Code and Name, Event Definition Type, Alarm Type, Ignore, Reject, Severity, Delay, Auto Restore and Automatable. Each row has a Version history icon; see View and restore an earlier version.
Export and import event definitions
To copy event definitions between companies or edit many at once, go to Company › Settings › Alarms.
- Next to Event Definitions, open the ⋮ menu.
- Click one of these:
- Export: downloads the definitions that match the current filter as a JSON file.
- Import and add: creates or updates the definitions in a JSON file. Nothing is deleted.
- Import and sync: makes your event definitions match the file. Definitions that aren't in the file are deleted.
- For an import, select the file.
The file has the same format as the export. If some rows are invalid, a message lists their row numbers.
Import and sync deletes every event definition that isn't in the file. Use Import and add unless you want an exact copy.