CONDITIONS


For an event to trigger associated actions, all conditions that may have been set must be verified.

You can specify up to 5 conditions among the resources available in the map (input, time, variables) and numerical or text constants.


Do not set any conditions to deploy the actions when the event occurs, without further limitations.


The verification of the conditions requires the use of the following comparison operators:



<

LESSER

comparison between two numbers

>

GREATER

comparison between two numbers

=

EQUAL

comparison between two numbers or string of text

comparison between two numbers allowed

CASE SENSITIVE

!

NOT EQUAL

comparison between two numbers or string of text

wildcards allowed

{

THRESHOLD

FALL

comparison between two numbers

ONLY FALLING BELOW TRESHOLD

}

THRESHOLDRISE

comparison between two numbers

ONLY RISING ABOVE THRESHOLD

(

SUBSET

comparison between two string of text

CASE INSENSITIVE

)

SUPERSET

comparison between two string of text

CASE INSENSITIVE


Numbers are converted into text for comparison between

non-homogeneous elements


The current value of any parameter in the map can be recalled by specifying the TAG with leading character $ (reference by value).


The asterisk character * can be used as a wildcard: any value at specific position will be considered valid.


Some examples:


$D15<1418

Current time (D15) is

lesser

than 1418 (hhmm)

2.18 pm have not passed yet

$D14>181225

Current date (D14) is

greater

than 181225 (YYMMDD)

Current date is after December 25, 2018

$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=John

The sender of the last SMS (N23) is

equal

to "John"

last SMS was sent by a user whose name is John

$N22=drivers4

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("0 1 2"

The last 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