Alarms Management is very important Arduino Control Center feature.

Each component, and all component values can be setup to trigger alarm messages or sound. 

For each value can be setup threshold values, alarm message timings and repeating(in defined intervals), e-mail, sms, sound or all at once, list with e-mail addresses and SMS numbers, notification when alarm if OFF (value is not in alarm state)

For the example above, the DIGITAL component, pin 14 will trigger an alarm when the pin state is HIGH.

INPUT component, BME280 Temperature value, will trigger the alarm when the temperature value received from the Arduino device is lower than 20 (can be Celsius of Fahrenheit, depends on configuration), or higher than 22 degrees.

In both cases, only the alarm bell will show up on component, no alarm messages will be sent, as you can see on the image. Message inform you that notifications are not enabled and therefore alarm messages will not be sent. The alarm bell also show up in the Arduino devices list in the main view.

NOTE: In order to send alarm email messages, setup and test email preferences before setup e-mail alarm notifications.

NOTE: In order to send alarm SMS messages, setup and test SMS preferences before setup SMS alarm notifications.

We will assume that e-mail and SMS setup is tested and you have received test e-mail and SMS message, which means that configurations are set up properly.

Users: Demo, ONE and FULL version have only one default user "local". PRO version has the option to assign each Arduino device to a different user. In the PRO version, the list with users will refresh by clicking on the Refresh button.

Devices: List with Arduino devices for selected user.

Available I/O: Inputs and Outputs values for selected device.

Notifications group:

- Send NOK notification every %number% of minutes, if alarm is detected %number% times: it means that, like in the example, each 5 minutes email message will be sent if alarm state(value) is detected 1 time. 

Minimum timings are 1(one) minute and 1(one) time alarm state(value) is triggered, which means that after one minute and alarm state detection one time, the email message will be sent and repeated each minute if alarm state persist.

In this scenario, the user will be flooded with e-mail alarm messages(SMS WILL BE SENT ONLY ONCE). In order to avoid that, especially when alarm value "floating" on threshold values, alarm detection count is introduced.

Let us say that temperature value floating on lower alarm bounds from 21,9 to 22 degree. 21,9 is an alarm state, 22 is not.

By setting alarm detection time to 10, which means that the alarm state has to be detected 10 times before a 1-minute timer is triggered. Data from the Arduino arrived from a couple of times in second to once in two-three seconds, depending on the sensors count attached to the Arduino device. So, if alarm value not floating, after one-minute alarm will be triggered and e-mail(and SMS) message will be sent.

But, if within one minute value from the Arduino device reaches 22 degrees, a timer will be reset.

Again, this minimum timings will also flood your mailbox on persisted alarm state.

NOTE: Sound alarm will be turned ON on each alarm state detection, even on floating values.

-Send OK notification alarm status. OK status should be at least %number% of minute: In this example, when an alarm state is turned off, after a minute ALARM OFF message (status is OK) will be sent one time, both e-mail and SMS.

- Send e-mail to: list with valid e-mail addresses. Use all assigned mail addresses button add in the list already added e-mail addresses for other alarm values.

- Send SMS to:  list with valid SMS numbers. Use all assigned SMS numbers button add in the list already added SMS numbers for other alarm values.

If you try to use invalid e-mail address or phone numbers, in the main view of application(left bottom log window) will show you error notifications. 

Create help files for the Qt Help Framework