Negative whole
number (e.g.
-3600)
Exports data starting from the current time
minus the specified number of seconds
end
UNIX-Timestamp
(e.g.
1459461600
for
04/01/2015,
00:00:00)
Exports data up until the time specified in the
Unix timestamp format
Negative whole
number (e.g.
-60
)
Exports data up until the current time minus the
specified number of seconds
0
or blank
Exports data up until the current time
step
Whole number
Sets the time interval between values
0
or blank
Sets the time interval between values to 60
seconds
Example: Exporting values from the last 24 hours with an interval of 2 hours as
“yesterday.csv” (Querx TH)
URL
http://192.168.1.100/tpl/document.cgi?tpl/j/datalogger.tpl
&format=csv
&start=86400
&step=7200
Output
Date/Time;Temperature low;Temperature avg;Temperature high;Humidity
low;Humidity avg;Humidity high
13.04.2016 18:00:00;23.6;23.9;24.0;31;32;32
13.04.2016 20:00:00;24.1;24.2;24.2;32;32;32
13.04.2016 22:00:00;24.2;24.2;24.3;32;33;33
14.04.2016 00:00:00;24.2;24.2;24.3;33;33;33
14.04.2016 02:00:00;24.2;24.2;24.3;33;33;33
14.04.2016 04:00:00;24.2;24.2;24.3;33;33;33
14.04.2016 06:00:00;24.1;24.2;24.2;33;33;33
14.04.2016 08:00:00;23.8;24.1;24.2;33;33;34
14.04.2016 10:00:00;23.7;23.8;23.9;32;33;33
14.04.2016 12:00:00;24.1;24.2;24.3;31;32;33
14.04.2016 14:00:00;24.2;24.4;24.7;30;30;31
Example: Exporting the values from the 5
th
of April 2016 with an interval of one
hour in the XML format (Querx PT)
URL
http://192.168.1.100/tpl/document.cgi?tpl/j/datalogger.tpl
&format=xml
&start=1459854000
&end=1459864800
&step=3600
Output
<?xml version="1.0" encoding="UTF-8"?>
61