Composite Alerts (AND/OR)
Composite alerts combine up to 5 conditions on different endpoints of the same facility, evaluated with one logical operator, AND or OR. Use them when an alarm should fire only if several signals match (AND) or if any one of them does (OR).
When to use them
- AND: all conditions must be met at the same time. Example: raise the alarm only if the warehouse door is open and the motion sensor detects activity.
- OR: the alarm fires if any condition is met. Example: notify if either of the two cabinet door sensors is left open.
How to create one
On the Alerts screen, press Add to create a new alert, or choose Edit in the menu (⋮) of an existing one.
- Fill in the first condition as usual: endpoint, variable, condition, value and normal (closing) condition.
- Set the Severity level and, if needed, Generate alarm when condition has exceeded a specified time (minimum time).
- In the Logic field, choose AND or OR. When you pick an operator other than Single, the Additional conditions section appears.
- Press + Add condition to add another condition. Fill in endpoint, variable, condition and normal condition the same way as the first one. You can add up to 4 extra conditions (5 in total).
- Press Save.
How the engine evaluates them
The logical operator applies to the current state of each condition:
- AND: the alarm is created when all conditions are met at the same time. As soon as one stops being met, the alarm closes automatically.
- OR: the alarm is created as soon as at least one condition is met. It closes when none is still active.
Each condition keeps its own internal Set/Reset event pair, so the engine handles partial changes correctly. For example, if endpoint A meets its condition, then B, and then A stops meeting it, the composite state is evaluated again after each change.
Limits
- Up to 5 conditions per alert.
- All conditions must use endpoints of the same facility. If you try to mix facilities, the backend rejects the alert with the message "Endpoint must belong to the same facility as the alert".
- The logical operator is flat: AND only or OR only for the whole group. Nested expressions such as (A AND B) OR C are not supported.
- With Single (the default), the alert works as a classic single-condition alert.
How they are displayed
In the alert list, composite alerts show the operator in the LOGIC column (AND or OR), and the description joins the conditions with that operator, for example "State equal to open OR State equal to movement".
In the Active Alarms report of the Monitor module, the alarm description shows the same composite expression, so operators can see at a glance which combination of signals triggered it.
Last updated on