Arexx BS-1000LAN Mode D'emploi page 67

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Flashed data
A special xml page is implemented to let other software retrieve data from
the BSXXXX. The page data.xml outputs flashed data within a given period.
The page is called with 4 parameters:
Parameter
Name
E
A
B
N
C
D
G
Beispiel einer Nachricht:
L
I
http://log77.lan/data.xml?A=327682224&B=327685203&C=4096&D=1
This call would result in the following dataset:
S
<?xml version="1.0" encoding="utf-8" ?>
H
<measurements>
<value id="4096" type="1" t="327682224">25.1</value>
<value id="4096" type="1" t="327682287">39.5</value>
<value id="4096" type="1" t="327682335">33.7</value>
<value id="4096" type="1" t="327682378">30.7</value>
<value id="4096" type="1" t="327682417">28.9</value>
<value id="4096" type="1" t="327682493">26.8</value>
<value id="4096" type="1" t="327682581">25.4</value>
<value id="4096" type="1" t="327682660">24.7</value>
<value id="4096" type="1" t="327682718">24.4</value>
<value id="4096" type="1" t="327684124">23.0</value>
<value id="4096" type="1" t="327684165">23.1</value>
<more>327684165</more>
</measurements>
Die XML Data includes "measurements" elements as root elements. This ele-
ment contains 0,1, or more value elements. Each value element constitutes a
measurement and contains the folowing attributes:
• type =
• t
=
The value is shown as elementvalue.
The data transfer can take a long time this time can be shorter like above
sample. this is done with the "MORE" element it shows which time the
BSXXXX the last time called data from the Flash memory.
Typ
Umschreibung
Zeit
Start der Periode; Anzahl Sekunden ab 1-1-2000
Zeit
Ende der Periode; Anzahl Sekunden ab 1-1-2000
Int
Sensor id
Int
Sensortyp; 1=Temp, 3=RH%, 5=CO2
Sensortype; 1=Temperature, 3= RH, 5=CO2
Time; number of seconds from 1-1-2000
67

Publicité

Table des Matières
loading

Table des Matières