Defining Alarms

The Alarms tab is used to define alarms for the Thing definition. Alarms are used to define events for a Thing. Alarms are implemented as a state machine, where the events are defined as alarm states. 

For example:

  • Defining an alarm for low level for a Thing that represents a gas tank of a vehicle
  • Defining an alarm for whether the engine is ON or OFF that represents an engine of a vehicle

Things can have multiple alarms. It is possible to define up to 99 states for each alarms. Alarm states have a numeric alarm state value (assigned sequentially by the system), a text alarm state name, and a color (value) used when viewing the alarm on the Viewing a Thing in the Management Portal.

The numeric alarm state values are only visible in the Thing definition, but will not appear until after the Thing definition is saved.

Defining Alarms is a sub task while Creating a Thing definition or Editing a Thing definition. To define the Alarms, do the following:

  1. While Creating a Thing definition or Editing a Thing definition, under the Standard tab, click on the Alarms tab
  2. Enter or select the fields for the new alarm definition. The fields are:
    Field Description
    KeyThe key for the alarm definition.
    A key is an identifier that must be globally unique within the organization.
    The valid characters for a key are letters, numbers, "_" (underscore), and "-" (hyphen).
    NameThe name of the alarm definition that is displayed on Management Portal pages.
    SearchableIndicates if this attribute is searchable. If set to true, you will be able to find the attribute while searching. For a Thing, the maximum number of attributes, alarms, or properties is limited to 32 each. If you have more than the permitted limit, then the attributes, alarms, or properties will not be indexed and is not searchable.
    View security tagsEnter any number of tags to the alarm that control whether a user or application can view the alarm. The user or application must have a role that has the same view security tag associated with it in order to view an alarm with a view security tag associated with it.
    Update security tagsEnter any number of tags to the attribute that control whether a user or application can update the alarm. The user or application must have a role that has the same update security tag associated with it in order to update an alarm with an update security tag associated with it.
    Alarm StateName: The name of the alarm state.

    Color: The color selection for the alarm state. This can be entered as a hex color code or selected from a color picker.

    • Click on the to add a new alarm state
    • Click on the to delete an existing state
  3. Click on the  to add a New alarm definition.
  4. Click on the to delete the currently displayed alarm definition.
  5. (optional)Click on the to list all the alarms from all the Thing definitions. You will be able to select the alarm you want and copy it to your Thing definition.    
  6. Click Add to add the Property definition.

Alarms can be graphed, since they have a state and timestamp component.