Arexx BS-1000LAN Mode D'emploi page 41

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

The list of variables is:
Variable
Description
$v
Measured value
$q
Sensor type 1 = Temperature (°C), 3 = RV% (%), 5 = CO2 (ppm)
$i
Identification number of the sensor
$r
rssi-value (signal level value in dBm)
$h
Indication of the hours in the time indication of the measurement
E
$m
Indication of the minutes in the time indication of the measurement
N
$s
Indication of the seconds in the time indication of the measurement
$Y
Indication of the year in the time indication of the measurement
G
$M
Indication of the month in the time indication of the measurement
$D
Indication of the day in the time indication of the measurement
L
$S
Measurement time in seconds since 1-1-2000 UTC
I
$w
Missing; Time when the latest measured value has not been transmitted to the http
server. Is required for the update of the temp-logger.
S
$t
time string; Time of measurement in the format: hh:mm:ss
$d
date string; Date of the measurement in the short date format
H
$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.
$X
Xml data; generates an xml list of the most recent measurements. To be used in
conjunction with the timed rule type. The xml format is the same as the output from
the data.xml page (see below).
Except for the $X, $w and $S, all time indications are expressed in UTC un-
der consideration of the time zone offset indication in the config page screen
Time server. The time indications $X, $w and $S are expressed in UTC (se-
conds since 1-1-2000).
The HTTP request message is url-encoded. This means that non-alphanu-
merical characters are converted into %hh-strings where „hh" represents
a hexadecimal figure. The lines '&&' and '==' are an exception: these are
converted into '&', and '=' respectively. The message for the HTTP request
is transmitted via the request header POST, or else added to the URL of the
GET request. In this case, the separating sign '?' is added between the URL
and the message.
Example of a message:
id==$i&&value==$v
In this example, a web server is programmed to decode the indicated string
in two parameters 'id' and 'value'. This method allows to supply up-to-date
data from the BS1000 to a web page without a running PC.
41

Publicité

Table des Matières
loading

Table des Matières