@@ -93,15 +93,19 @@ Enabling "Stats" on a task value also extends how task values can be addressed w
9393
9494For example using just like normal task value data:
9595
96- * ``[bme#temp.avg] `` Compute the average over the last N samples in the historic buffer (typically: 64 samples on ESP32, 16 on ESP8266)
96+ * ``[bme#temp.avg] `` Compute the average over the last N samples in the historic buffer (typically: 250 samples on ESP32, 16 on ESP8266)
9797* ``[bme#temp.avgX] `` Compute the average over the last X samples (or less if there are less samples available)
98- * ``[bme#temp.stddev] `` Compute the standard deviation over the last N samples in the historic buffer (typically: 64 samples on ESP32, 16 on ESP8266)
98+ * ``[bme#temp.stddev] `` Compute the standard deviation over the last N samples in the historic buffer (typically: 250 samples on ESP32, 16 on ESP8266)
9999* ``[bme#temp.stddevX] `` Compute the standard deviation over the last X samples (or less if there are less samples available)
100- * ``[bme#temp.max] `` Refer to the maximum recorded sample since the last ``resetpeaks ``. N.B. Not all tasks log the min and max peaks.
101- * ``[bme#temp.min] `` See ``[bme#temp.max] ``
100+ * ``[bme#temp.max] `` Refer to the maximum recorded sample in available samples (rolling maximum)
101+ * ``[bme#temp.maxX] `` Refer to the maximum recorded sample in the last X samples (or less if there are less samples available)
102+ * ``[bme#temp.maxp] `` (max-peak) Refer to the maximum recorded sample since the last ``resetpeaks ``. N.B. Not all tasks log the min and max peaks.
103+ * ``[bme#temp.min] `` Refer to the minimum recorded sample in available samples (rolling minimum)
104+ * ``[bme#temp.minX] `` Refer to the minimum recorded sample in the last X samples (or less if there are less samples available)
105+ * ``[bme#temp.minp] `` (min-peak) See ``[bme#temp.maxp] ``.
102106* ``[bme#temp.size] `` Return the number of samples in memory.
103- * ``[bme#temp.sample] `` Access the last sample in memory.
104- * ``[bme#temp.sampleN] `` Access the N-th last sample in memory.
107+ * ``[bme#temp.sample] `` Return the number of samples in memory. (Doc. reflects the actual code!)
108+ * ``[bme#temp.sampleN] `` Access the N-th last sample in memory, negative value accesses N-th value from the * oldest * available sample .
105109
106110
107111Commands on "Stats" data:
0 commit comments