Instructions
70
The list of variables is:
Variable Description
$v Measured value
$q Sensor type 1 = Temperature (°C), 3 = RV% (%), 5 = CO2 (ppm)
$i Identicationnumberofthesensor
$r rssi-value (signal level value in dBm)
$h Indication of the hours in the time indication of the measurement
$m Indication of the minutes in the time indication of the measurement
$s Indication of the seconds in the time indication of the measurement
$Y Indication of the year in the time indication of the measurement
$M Indication of the month in the time indication of the measurement
$D Indication of the day in the time indication of the measurement
$S Measurement time in seconds since 1-1-2000 UTC
$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.
$t time string; Time of measurement in the format: hh:mm:ss
$d date string; Date of the measurement in the short date format
$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-
derconsiderationofthetimezoneosetindicationinthecongpagescreen
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
ahexadecimalgure.Thelines‘&&’and‘==’areanexception:theseare
convertedinto‘&’,and‘=’respectively.ThemessagefortheHTTPrequest
is transmitted via the request header POST, or else added to the URL of the
GETrequest.Inthiscase,theseparatingsign‘?’isaddedbetweentheURL
and the message.
Example of a message:
id==$i&&value==$v
In this example, a web server is programmed to decode the indicated string
intwoparameters‘id’and‘value’.Thismethodallowstosupplyup-to-date
data from the BS1000 to a web page without a running PC.
E
N
G
L
I
S
H