Skip to main content

Lesson 1.3 Alarm translators

Alarm Translators are primarily used for threshold-based supervision but can also use algorithms and mathematical logic for more advanced monitoring.

This lesson is a step-by-step guide to apply Alarm translators to devices and then set up suitable Views for supervision. To create reports of alarms see Lesson 2.3 Excel Reports templates.

Add Alarm Translators

To monitor values and trigger alarms when readings become too high or too low, you can add alarm translators to your device. The thresholds are configured either in the translator settings or via contextual parameters. The available fields will become visible once an uplink has been received.

Naming convention

  • set-alarm-[alarmField]-from-[inputField]

Examples

  • set-alarm-temperature-from-temperature
    → Sets temperatureHighAlarm based on supervision of the field temperature

  • set-alarm-temperature-from-average-temperature
    → Sets temperatureHighAlarm based on supervision of the field averageTemperature

  • set-alarm-custom-from-custom-field
    → Sets customHighAlarm1Flag, customHighAlarm2Flag or customLowAlarm based on supervision of a custom field specified in the translator settings

Steps

  1. Go to Translators
    You can do this from:

    • The device menu
    • Select Many
    • Or while creating a device
  2. Click "Add Translator"

alarm-translator

  1. Pick the Value to Monitor
    Go to the Data tab, find the value you want to monitor, and copy its name.
    Then head to Contextual Parameters and paste it in there.

alarm-translator

  1. Edit the Other Parameters
    Adjust thresholds, trigger values, and anything else you need.

  2. Done!
    Once the device reports in again, you’ll see new fields show up in the Data tab.

Alarm Monitoring View

With the alarm translator data, you can create a custom view in Devices to monitor your alarms.
Once you have created an alarm translator, you’ll be able to track and visualize your alarms directly within the device view.

Example of an alarm monitoring view Example Alarm Monitoring View

Setting Up the Alarm Monitoring View

  1. Click "Customize Columns", then click "New".
    Here you’ll set the parameters for how the alarm will be displayed.

Example:

Customize Columns

  1. Click "Create".
    You can create additional column definitions if needed.

  2. In the Customize Columns menu, press "Columns", then select the column(s) you created and press "+" to add them.
    You may need to repeat this step depending on how many columns you want to include.
    Remove any columns you don’t want in the view. When finished, press "Done".
    You can also reorder the columns into your preferred layout.

  3. Use the Device Filter section on the left to adjust search parameters to something more relevant.
    You can use the Custom Query feature to filter devices with specific values or comparisons —
    for example:
    customHighAlarm1Flag == true

    For more information on custom queries, click the guide linked below the Custom Query input in the sidebar.

  4. Then press "Views", go to the "Save" tab, give your view a name, and press "Save".

You can now access your saved view anytime by clicking "Views" in the left-hand sidebar.

Q&A

Why do the platform use Alarm translators? Why not manage the thresholds in rule engine?

Why do you need hystersis?