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

wildcards 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


TECHNICAL NOTE

The numbers are converted to text for you to do

the comparison EVEN between non-homogeneous elements
THE COMPARISON IS MADE ON THE FIRST 10 CHARACTERS


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<141800

Current time (D15) is

lesser

than 1418 (hhmm)

2.18 pm have not passed yet

$D14>201225

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=+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 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