To add a new rule you need to specify a device and/or signal, then provide a description. A variable is then assigned to the selected element. You can create more variables and then write the formula that will verify the rule.
In addition to signals and devices it is possible to use reports as variables, to set a report automatic generation and the next mail forwarding when the formula is verified.
For the syntax to use in formula writing, refer to the apposite article.
You can also specify an activation/shutdown delay (hysteresis), that is an interval where the alarm is not reported even if it is present. Hysteresis values are settable in rules where the formula has not devices in it, hysteresis is only applicable to signals.
In the next form is possible to enable the sending of SMS, mails and/or Telegram messages to report specific events:
- Activation, the alarm just turned on
- Shutdown, the alarm just turned off
- Both, both the status changes of the alarm
WARNING! Phone numbers used as receivers require the national prefix. Example +39
It is possible to insert in the action text the value of a variable when the alarm has activated, the syntax to use is %%variabie%%.
Syntax %%variable_1%% allows to refer the variable previous value.
If the rule contains a report, the syntax %%reportVariable_pdf%% in the mail text is then replaced with the download link of the file.
You can also provide the date of the alarm in the mail text using the syntax %%alarm_date%%. The date uses the fixed format 24/07/2018 08:04.
In case the alarm generated by the rule stay as New for long time (it hasn't been acknowledged by the user and result still active), the action of the rule is repeated once a day.