CONDITIONS

For a trigger event to execute its associated actions, all defined conditions must be satisfied. You can specify up to 5 conditions per rule, utilizing the resources available in the system map (such as inputs, time schedules, or variables) alongside numerical or text constants.

If no conditions are defined, the actions will be deployed immediately whenever the trigger event occurs, without further limitations.

The verification of conditions supports the following comparison operators:


<

LESSER

Compares two numbers.

>

GREATER

Compares two numbers.

=

EQUAL

Compares two numbers or strings. 

Supports wildcards. Case-sensitive.

!

NOT

EQUAL

Verifies that two numbers or strings do not match.

Supports wildcards. Case-sensitive.

{

THRESHOLD

FALL

Evaluates to true only once, at the exact moment a value drops below the specified threshold (falling edge activation).

}

THRESHOLD

RISE

Evaluates to true only once, at the exact moment a value rises above the specified threshold (rising edge activation).

(

SUBSET

Checks if the first string is contained within the second string.

Case-insensitive.

)

SUPERSET

Checks if the first string contains the second string.

Case-insensitive.


TECHNICAL NOTE

To allow comparisons even between non-homogeneous elements (such as comparing a numeric variable with a text string), all numeric values are automatically converted into text format before evaluation.

The comparison is strictly limited and executed based on the first 10 characters of the resulting strings.

Threshold operators do not perform a continuous status check. The condition is satisfied only once at the precise instant the crossover (transition) occurs, preventing the rule from repeatedly triggering if the value remains past the threshold.


TAG Values ($): The current value of any parameter in the system map can be recalled by specifying its TAG preceded by the $ character (reference by value).


WILDCARD (*): The asterisk character can be used as a wildcard, meaning any value or character at that specific position will be considered valid.


Examples:


$D15<141800

Current time (D15) is

lesser

than 141800 (hhmmss)

2.18 pm have not passed yet

$D14>201226

Current date (D14) is 

greater

than 181225 (YYMMDD)

Current date is after December 25, 2026

$D14=**05**

Current date (D14) is

equal

to **05**

Current date is MAY

year AND day ARE not considered

$I22=1

The value of input 2 (I22) is

equal

to 1

Input 2 is active, closed

$A42>$V11

The average value of analogue input 4 (A42) is

greater

than the value of variable 1 (V11)

A42 could be a temperature

and V11 contain a setpoint

$A13<4

The lowest measured value of analog input 4 (A42) is

lesser

than 4

A42 could be a temperature 

and 4 the limit of intervention of the antifreeze

$A19}20

Instant reading of analog input 1 (A19)

rises above

the value of 20

occurs only when the threshold exceeded

the value must fall below the threshold

to trigger again

$N23=+3912345

The sender of the last SMS (N23) is

equal

to "+391234567"

last SMS was sent FROM +391234567

$N22=drivers4

Il The group to which the last calls belongs (N22) is

equal

to "drivers4"

The last call received came from a user

of the "drivers4" group

$N22)drivers

The group to which the last calls belongs (N22)

includes

"drivers"

The last call received came from a user whose group contains the text "drivers"

$N21(012

The last received DTMF code (N21) is

included

in the string "0 1 2"

the dtmf code entered

during the last phone calls is 0 or 1 or 2

$N11!*

The PLMN operator parameterI (N11) is

different

from anything (*) means empty

THIS IS THE METHOD TO VERIFY THAT A PARAMETER

HAS NO VALUE