diff --git a/docs/commandref.html b/docs/commandref.html
index 97b32af1b..ad82544fd 100644
--- a/docs/commandref.html
+++ b/docs/commandref.html
@@ -4640,7 +4640,9 @@ To send the data, both send or write could be used.
set myMsg send myMail
set myMail clear
-
+
+
+
Attributes
Almost all of these attributes are not optional, most of them could set at definition.
@@ -6290,6 +6292,7 @@ Attributes:
The perl command acts on $_. The result of the perl command is the
final result of the get or set command.
+
ECMDDevice
@@ -9337,7 +9340,9 @@ KlikAanKlikUit, NEXA, CHACON, HomeEasy UK.
You need to define an RFXtrx433
average
- Compute additional average_day and average_month values.
+ Compute additional average, minimum and maximum values for current day and
+ month.
+
@@ -9349,29 +9354,43 @@ KlikAanKlikUit, NEXA, CHACON, HomeEasy UK.
You need to define an RFXtrx433
The syntax for <regexp> is the same as the
regexp for notify.
If it matches, and the event is of the form "eventname number", then this
- module computes the daily and monthly average, and generates an event of
- the form
+ module computes the daily and monthly average, maximum and minimum values
+ and generates events of the form
<device> <eventname>_avg_day: <computed_average>
+
+ <device> <eventname>_min_day: <minimum day value>
+
+
+ <device> <eventname>_max_day: <maximum day value>
+
and
<device> <eventname>_avg_month: <computed_average>
+
+ <device> <eventname>_min_month: <minimum month value>
+
+
+ <device> <eventname>_max_month: <maximum month value>
+
+
at the beginning of the next day or month respectively.
- The current average and the cumulated values are stored in the device
- readings.
+ The current average, minimum, maximum and the cumulated values are stored
+ in the device readings.
Example:
- # Compute the average for the temperature events of the ws1 device
+ # Compute the average, minimum and maximum for the temperature events of
+ # the ws1 device
define avg_temp_ws1 average ws1:temperature.*
- # Compute the average for each temperature event
+ # Compute the average, minimum and maximum for each temperature event
define avg_temp_ws1 average .*:temperature.*
- # Compute the average for all temperature and humidity events
+ # Compute the average, minimum and maximum for all temperature and humidity events
# Events:
# ws1 temperature: 22.3
# ws1 humidity: 67.4
@@ -9396,11 +9415,15 @@ KlikAanKlikUit, NEXA, CHACON, HomeEasy UK.
You need to define an RFXtrx433
disable
-
+
Generated events:
- <eventname>_avg_day: $avg_day
- <eventname>_avg_month: $avg_month
+
- <eventname>_min_day: $min_day
+
- <eventname>_min_month: $min_month
+
- <eventname>_max_day: $max_day
+
- <eventname>_max_month: $max_month