Scroll down to learn more

Documentation Center

Welcome to Opinum Documentation Center. You find here all the content you need to enjoy your data.

Search Results for

    Show / Hide Table of Contents

    Alarms

    Similar to an alert, an alarm is related to one variable and allows users to be notified when data point or a predefined calculation goes above or below a specified threshold.

    The alarms detection is designed to evaluate data points streams having (near) real-time and monotonically increasing timestamps.

    Alarms have the following characteristics:

    • An alarm allows to define Set and Reset thresholds which trigger the alarm in state 'present' or 'not present'.

    • Data points with values between Set and Reset thresholds (i.e. not crossing the thresholds) will not trigger the alarm.

    • An alarm is triggered only when a state change occurs. Several consecutive data points that cross the 'set' threshold will only trigger the alarm once.

    • An alarm can be 'Acknowledged' to notify the system that a user has seen the alarm's current state.

    • A Binary alarm can be defined: the thresholds will be 1 and 0.

    • Late data points will not be evaluated if more than two data points has arrived before them.

    Alarm types, thresholds types and frequency types

    Each alarm has the following properties:

    • A type: Binary or Threshold
    • A threshold type: High or Low
    • A Set and a Reset threshold value
    • A frequency type: raw, rolling or scheduled

    Threshold types and values

    The threshold type and the Set/Reset values, allow the system to assess the alarm and decide if a change of state should be made when data is received:

    • With a 'High' threshold type, the data will set the alarm to a 'present' state if the value of the data is equal or above the Set Value. The alarm will be in an 'not present' state when the data received is equal or below the 'Reset' Value.

    • On the contrary, a 'Low' threshold type will trigger a 'present' state for the alarm when the data is equal or below the Set value and an 'not present' state when the data is equal or above the 'Reset' value.

    Alarm types

    A 'binary alarm' is an appropriate choice when the data received is likely 1 or 0. In this case, the Set and Reset values will be 1 and 0.

    A 'threshold alarm' is a good choice when you need to define other values for the Set and the Reset.

    We can summarize alarm and threshold types like this:

    Summarizes_Types

    Frequency types

    Datahub supports 3 frequency types:

    • Raw: in this mode, Opinum will validate the value of every datapoint against the Set and Reset values.
    • Rolling: in this mode, for each datapoint, Opinum will validate the aggregated value of a specified period preceding and including the datapoint.
    • Scheduled: in this mode, Opinum will validate the aggregated value of a specified period at a specified time.
    Tip

    Learn more about Alarms Frequency types.

    Alarm States

    An alarm has 5 possible states:

    • Present: the set threshold value was crossed
    • Not Present (present: false): the reset threshold value was crossed
    • Acknowledged: the alarm is either present or not present, and a user has notified to the system than this state has been seen.
    • Inhibited: the alarm is disabled
    • Uncertain: the system doesn't know if the alarm is present or not. This 'uncertain state' is used when an alarm has never been 'present' or after the alarm has been disabled and then enabled.

    Change of state

    The following diagram details the possible states flow:

    State_Flow

    The state of rising edge means that a data which matches with the Set value has been received.

    A falling edge means that a data which matches with the Reset value has been received.

    If a data received has a value between the Set and the Reset, there is no change of state.

    Example:

    Given I have the following alarm:

    • Type: Threshold
    • Threshold Type: High
    • Set Value = 100
    • Reset Value = 50

    => The system receives the following data:

    1. 110 => its state becomes 'present'
    2. 70 => its state stays 'present'
    3. 40 => its state becomes 'not present'
    4. 80 => its state stays 'not present'

    Acknowledged and disabled-enabled are states which can be triggered by a user action.

    Tip

    Learn more about Managing Alarms

    History of states

    Each alarm's change of state is registered in the database. The state history of an alarm can be displayed through the API.

    Tip

    Learn more about Managing Alarms

    Notifications

    Notifications allow you to receive different types of messages when the state of the alarm changes.

    Learn more about notifications.

    Exceptions

    Exceptions allow to define some conditions which, when met, the alarm is "deactivated".

    Tip

    Learn more about Exceptions

    Schedules

    The integration of the schedules in the alarm is a way to exclude datapoints based on a time factor.

    Tip

    Learn more about adding schedules to an alarm

    Create an Alarm

    It's time to create your first alarm!.

    Alarms in dashbaords

    Once your alarms are created, you can display their states and states' changes in tiles.

    Tip

    Learn more about alarms tiles

    Developer Center

    User manual API Swagger Github
    © Opinum 2025  -   www.opinum.com

    Follow us

    Linkedin Twitter Youtube Facebook