Arexx BS-510 Mode D'emploi page 44

Masquer les pouces Voir aussi pour BS-510:
Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

The following variables are available:
Variable
Description
$v
Measurement value
$q
sensor type 1 = temperature (°C), 3 = RV% (%), 5 = CO2 (ppm)
$i
sensor
$r
rssi value (dBm)
$h
measurement time in hour
$m
measurement time in minutes
$s
measurement time in seconds
$Y
measurement time the year
$M
measurement time the month
$D
measurement time the day
$S
measurement time in seconds since 1-1-2000 UTC
$c
measurement day of the week (0=sunday, 1=mondat, etc...)
$a(len)
running average (len = length in seconds)
$b(len)
running minimum (len = length in seconds)
$e(len)
running maximum (len = length in seconds)
$p(dt)
Previous value. If dt=0, then the previous measurement value is given,
otherwise, the interpolated value at the moment of dt seconds back in time is
given.
All time variables, except time $ S are UTC plus the time zone offset, is
given in the Time server setting page. The time variables $ S is in UTC.
The condition is structured like a logic expression. Following logical compa-
rison operators can be used for the definition: (<, <=, >, > =, <>, == and
!=), as well as the logical operators AND (&&), OR (| |), and NOT (!). Also
the arithmetic operations +, -, *, /, and% (modulo) can be used. Moreover
the expresion can be organised via the brackets " „ and „ ".
Example
Expression
$v<10
$v<10 && $i=8297
($v<-10 || $v>10)&&c==0
Description
results in true when the measurement falls
below the value 10.
results in true when the measurement of sensor 8297 falls
below the value 10.
results in true when the measurement falss -10
or is bigger than 10, and the weekday is sunday.
44
E
N
G
L
I
S
H

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Bs-1200wifi

Table des Matières