diff --git a/fhem/FHEM/98_statistics.pm b/fhem/FHEM/98_statistics.pm
index 736d7c062..d254b7cdc 100644
--- a/fhem/FHEM/98_statistics.pm
+++ b/fhem/FHEM/98_statistics.pm
@@ -1065,6 +1065,7 @@ sub statistics_UpdateDevReading($$$$)
statistics
+(en | de)
This modul calculates for certain readings of given devices statistical values and adds them to the devices.
@@ -1074,22 +1075,26 @@ sub statistics_UpdateDevReading($$$$)
- Min|Avg|Max Minimum, average and maximum of instantaneous values:
- over a period of day, month and year: brightness, current, energy_current, humidity, temperature, voltage
+ over a period of day, month and year:
- over a period of hour, day, month and year: wind, wind_speed, windSpeed
+ brightness, current, energy_current, humidity, temperature, voltage
+
+ over a period of hour, day, month and year:
+
+ wind, wind_speed, windSpeed
- Tendency over 1h, 2h, 3h und 6h: pressure
- - Delta between start and end values over a period of hour, day, month and year:
+
- Delta between start and end values - over a period of hour, day, month and year:
count, energy, energy_total, power, total, rain, rain_rate, rain_total
- - Duration (and counter) of the states over a period of day, month and year:
+
- Duration (and counter) of the states (on, off, open, closed...) over a period of day, month and year:
lightsensor, lock, motion, Window, window, state (if no other reading is recognized)
- Further readings can be added via the correspondent
attribute.
+ Further readings can be added via the correspondent
attributes.
This allows also to assign a reading to another statistic type.
@@ -1118,19 +1123,19 @@ sub statistics_UpdateDevReading($$$$)
resetStatistics <All|DeviceName>
Resets the statistic values of the selected device.
-
+
doStatistics
Calculates the current statistic values of all monitored devices.
-
+
-
+
Get
-
+
Attributes
@@ -1147,14 +1152,16 @@ sub statistics_UpdateDevReading($$$$)
Comma separated list of reading names for which a duration statistic shall be calculated.
- excludedReadings <DeviceRegExp:ReadingNameRegExp>
+ excludedReadings <DeviceRegExp:ReadingNameRegExp>
Regular expression of the readings that shall be excluded from the statistics.
- The reading have to be entered in the form deviceName:readingName. E.g. FritzDect:current|Sensor_.*:humidity
+ The reading have to be entered in the form deviceName:readingName.
+
+ E.g. FritzDect:current|Sensor_.*:humidity
- ignoreDefaultAssignments <1 | 0>
+ ignoreDefaultAssignments < 0 | 1 >
Ignores the default assignments of readings to a statistic type (see above).
So, only the readings that are listed in the specific attributes are evaluated.
@@ -1167,9 +1174,9 @@ sub statistics_UpdateDevReading($$$$)
periodChangePreset <seconds>
- Start of the calculation of periodical data before each full hour. Default is 5 Sekunden.
+ Preponed start of the calculation of periodical data. Default is 5 seconds before each full hour.
- Allows the correct timely assignment within plots, can be adapted to CPU load.
+ Allows thus the correct timely assignment within plots. Should be adapted to the CPU speed or load of the server.
singularReadings <DeviceRegExp:ReadingRegExp>:statTypes:period
@@ -1202,25 +1209,34 @@ sub statistics_UpdateDevReading($$$$)
statistics
+(en | de)
Dieses Modul wertet von den angegebenen Geräten (als regulärer Ausdruck) bestimmte Werte statistisch aus und fügt das Ergebnis den jeweiligen Geräten als neue Werte hinzu.
-
-
- Derzeit werden die folgenden Statistik-Typen für bestimmte Gerätewerte vom Modul automatisch berechnet:
+
+
+ Es unterscheidet in vier Statistik-Typen denen bereits standardmässig Gerätewerte zugeordnet sind:
- Min|Avg|Max Minimum, Durchschnitt und Maximum von Momentanwerten:
- über den Zeitraum Tag, Monat und Jahr: brightness, current, energy_current, humidity, temperature, voltage
+ über den Zeitraum Tag, Monat und Jahr:
- über den Zeitraum Stunde, Tag, Monat und Jahr: wind, wind_speed, windSpeed
- - Tendency Tendenz über 1h, 2h, 3h und 6h: pressure
+ brightness, current, energy_current, humidity, temperature, voltage
+
+ über den Zeitraum Stunde, Tag, Monat und Jahr:
+
+ wind, wind_speed, windSpeed
+
+ - Tendency Tendenz über 1h, 2h, 3h und 6h: pressure
+
- Delta Differenz zwischen Anfangs- und Endwerte innerhalb eines Zeitraums (Stunde, Tag, Monat, Jahr):
- count, energy, energy_total, power, total, rain, rain_rate, rain_total
- - Duration Dauer und Anzahl der Zustände (on, off, open, closed ...) innerhalb eines Zeitraums (Tag, Monat, Jahr):
+ count, energy, energy_total, power, total, rain, rain_rate, rain_total
+
+ - Duration Dauer und Anzahl der Zustände (on, off, open, closed...) innerhalb eines Zeitraums (Tag, Monat, Jahr):
- lightsensor, lock, motion, Window, window, state (wenn kein anderer Gerätewert gültig)
+ lightsensor, lock, motion, Window, window, state (wenn kein anderer Gerätewert gültig)
+
Über die entsprechenden Attribute können weitere Gerätewerte hinzugefügt oder
einem anderem Statistik-Typ zugeordnet werden.
@@ -1287,9 +1303,9 @@ sub statistics_UpdateDevReading($$$$)
- ignoreDefaultAssignments <1 | 0>
+ ignoreDefaultAssignments <0 | 1>
- Ignoriert die oben beschriebene Standardzuordnung von Gerätewerten zu Statistiktypen..
+ Ignoriert die Standardzuordnung von Gerätewerten zu Statistiktypen..
D.h., nur die Gerätewerte, die über Attribute den Statistiktypen zugeordnet sind, werden ausgewertet.
@@ -1309,15 +1325,19 @@ sub statistics_UpdateDevReading($$$$)
Erlaubt die korrekte zeitliche Zuordnung in Plots, kann je nach Systemauslastung verringert oder vergrößert werden.
- singularReadings <GeräteNameRegExp:GeräteWertRegExp:Statistiktypen:Zeitraum>
+ singularReadings <GerätRegExp:GeräteWertRegExp:Statistiktyp:Zeitraum>
- - Statistiktypen: Min|Avg|Max|Delta|DurationState|Tendency
+ - Statistiktyp: Min|Avg|Max|Delta|DurationState|Tendency
- Zeitraum: Hour|Day|Month|Year|1h|2h|3h|6h
Regulärer Ausdruck statistischer Werte, die nicht nur in zusammengefassten sondern auch als einzelne Werte gespeichert werden sollen.
- Erleichtert die Erzeugung von Plots und anderer Auswertungen (notify). Für "duration"-Gerätewerte muss der Name des jeweiligen Statuswertes als Statistiktyp eingesetzt werden.
+ Erleichtert die Erzeugung von Plots und anderer Auswertungen (notify).
- Beispiel: Wettersensor:rain:Delta:(Hour|Day)|FritzDect:power:Delta:Day
+ Für "duration"-Gerätewerte muss der Name des jeweiligen Statuswertes als Statistiktyp eingesetzt werden.
+
+ Beispiel:
+
+ Wettersensor:rain:Delta:(Hour|Day)|FritzDect:power:Delta:Day
Badfenster:Window:(Open|Open_Count):Month