(One intermediate revision by the same user not shown)
Line 13:
Line 13:
* '''amaxtime''': timestamp of maximum value of all time
* '''amaxtime''': timestamp of maximum value of all time
* '''starttime''': timestamp of first recorded value
* '''starttime''': timestamp of first recorded value
−
Timestamps are strings of format "YYYYMMDDhhmmss". Year "YYYY" is reported in 4 digits, all other values (month "MM", day "DD", hour "hh", minute "mm", second "ss") come with 2 digits, leading zeros are not supressed.
+
* '''nonzerotime''': timestamp of last occurrence of a nonzero value
+
Timestamps are strings of format "YYYYMMDDhhmmss". Year "YYYY" is reported in 4 digits, all other values (month "MM", day "DD", hour "hh", minute "mm", second "ss") come with 2 digits, leading zeros are not suppressed.
* '''age''': reports seconds elapsed since last reception of data for that particular sensor.
* '''age''': reports seconds elapsed since last reception of data for that particular sensor.
* '''hold''': reports seconds elapsed since last reception of data for that particular sensor, but returns invalid value when age is beyond data hold period of 300 seconds. This allows to return invalid status instead large number of seconds for sensors having dropped off long time ago.
* '''hold''': reports seconds elapsed since last reception of data for that particular sensor, but returns invalid value when age is beyond data hold period of 300 seconds. This allows to return invalid status instead large number of seconds for sensors having dropped off long time ago.
Latest revision as of 15:09, 3 January 2018
When you are interested in timestamps of min/max values, you can make use of these selectors:
hmintime: timestamp of minimum value of this hour
hmaxtime: timestamp of maximum value of this hour
dmintime: timestamp of minimum value of today
dmaxtime: timestamp of maximum value of today
ydmintime: timestamp of minimum value of yesterday
ydmaxtime: timestamp of maximum value of yesterday
mmintime: timestamp of minimum value of this month
mmaxtime: timestamp of maximum value of this month
ymintime: timestamp of minimum value of this year
ymaxtime: timestamp of maximum value of this year
amintime: timestamp of minimum value of all time
amaxtime: timestamp of maximum value of all time
starttime: timestamp of first recorded value
nonzerotime: timestamp of last occurrence of a nonzero value
Timestamps are strings of format "YYYYMMDDhhmmss". Year "YYYY" is reported in 4 digits, all other values (month "MM", day "DD", hour "hh", minute "mm", second "ss") come with 2 digits, leading zeros are not suppressed.
age: reports seconds elapsed since last reception of data for that particular sensor.
hold: reports seconds elapsed since last reception of data for that particular sensor, but returns invalid value when age is beyond data hold period of 300 seconds. This allows to return invalid status instead large number of seconds for sensors having dropped off long time ago.