Set up alarms

Activate Cloud Notify and set up a data source

This article assumes you’ve already set up a data source (including variables). View our corresponding guides if you haven’t yet.

The second step in Cloud Notify is to set up alarms. Alarms describe what trigger event should be notified and to whom, based on priority. Alarms include an on-delay option and you can personalize the event message.

Add x500 IoT gateway offline/online alarms

If the x500 IoT gateway isn’t connected, you can’t be alerted about machine events. You can add alarms that notify you when the x500 IoT gateway itself has been offline for at least 1 hour or comes back online. For example, when the x500 IoT gateway has been offline for the past couple of days because the data on your SIM card ran out. Generally you’ll only notice these kind of problems yourself long after they have happened. Using these alarms you’ll be notified instead.

Poor connection?

If the x500 IoT gateway has a poor connection, have a look at our failover feature.

The following steps explain how you can add these connection alarms.

  • Go to [Devices] in the main menu, select the concerning device, open its [Apps] tab, and [Open] the Cloud Notify app.
  • In the Cloud Notify app, select “Localhost” under [Alarms], press the Add alarm-icon , and select “Add new alarm.
  • Select the connection type “MQTT logger” as variable, enter the alarm details, and press [Add]. The image below contains explanatory text for each setting.

Connection type?

You can configure these alarms to trigger on the x500 IoT gateway’s VPN or MQTT connection. Have a look at the “VPN and MQTT connection – What are they?“-article for more information.

Temporary disconnect

After this next step, the config push, the device will temporarily disconnect to reconfigure its settings and will automatically reconnect. This may take a minute.

  • Finally, press [Push changes] in the config tab to complete the setup.

Next step

You can add your machine alarms by following the steps below or immediately set who will be the alarm receivers, assignable by priority. By default, all users with access to the device will always be notified of all alarms.

Add alarms

You can add as many alarms as you like, there’s no limit. It is possible to use the same variable for different alarms. You are free to configure countless alarms.

  • Go to [Devices] in the main menu, select the concerning device, open its [Apps] tab, and [Open] the Cloud Notify app.
  • In the Cloud Notify app, select the data source under [Alarms], press the Add alarm-icon , and select “Add new alarm.

You can choose to:

Manually add new alarms

When you press [Add new alarm] you’ll see the window that is depicted below.

  • Select the concerning variable, enter the alarm details, and press [Add]. The image below contains explanatory text for each setting. Some variable types may have less settings.

Duplicate

You can easily duplicate this alarm if you’re adding alarms that are only slightly different. This way you’ll only have to make small adjustments.

Temporary disconnect

After this next step, the config push, the device will temporarily disconnect to reconfigure its settings and will automatically reconnect. This may take a minute.

  • Finally, press [Push changes] in the config tab to complete the setup.

Next step

Now that you’ve created your alarms, you can set who will be the alarm receivers, assignable by priority. By default, all users with access to the device will always be notified of all alarms.

Import alarms from a file (or device)

You can easily and effortlessly copy alarms from one device to another by exporting the concerning alarms (view the “Manage alarms” part of this article) and then importing them in your new device. Alternatively, you can manually prepare your alarms in the required CSV format to load them all at once into your cloud logger. The CSV file structure is explained in our Import alarms: CSV file structure“-article.

When you press [Import from CSV-file], you’ll see a browse window.

  • Select a CSV file to import.

CSV file layout

If you created the CSV file yourself and are unsure about the layout, it is best you create a template CSV file by creating several temporary alarms and exporting those as a CSV file (view the “Manage alarms” part of this article).

Temporary disconnect

After this next step, the config push, the device will temporarily disconnect to reconfigure its settings and will automatically reconnect. This may take a minute.

  • Finally, press [Push changes] in the config tab to complete the setup.

Next step

Now that you’ve created your alarms, you can set who will be the alarm receivers, assignable by priority. By default, all users with access to the device will always be notified of all alarms.

Set alarm receivers

By default, all users with access to the device will always be notified of all alarms. This can be changed per user groupuser, and alarm priority level at the [Alarm receivers] page.

  • Go to [Alarm receivers] in the Cloud Notify app and turn off the “Assign automatically option.
  • You can set the priority level at which a user will be notified. This can be set for each user group and individual users that have access to this x500 IoT gateway.
  • Press [Confirm] .

Next step

Set the timezone in [My profile] to make sure all messages show the correct time. This is a profile setting, meaning each user needs to do this themselves for their own profile. Lastly, take a look at the “Message center“-article to see how you receive a message and what else you can configure.

Manage alarms

Select the data source under [Alarms]. You can view all defined alarms in a list view or table view.

Multiple alarms can be selected by pressing the  icon on the left. These can then be removed, duplicated, or exported to a CSV file.