From 80b10e142b48ae7d7b3a783935862924aaac2f7e Mon Sep 17 00:00:00 2001 From: Adimarantis <> Date: Sat, 18 May 2024 07:37:34 +0000 Subject: [PATCH] 98_statistics: Update help for setStatistics and limitDecimals git-svn-id: https://svn.fhem.de/fhem/trunk@28883 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_statistics.pm | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/98_statistics.pm b/fhem/FHEM/98_statistics.pm index 697bbe55f..a32a58c15 100644 --- a/fhem/FHEM/98_statistics.pm +++ b/fhem/FHEM/98_statistics.pm @@ -1324,7 +1324,8 @@ __END__
  • setStatistics <device> <reading> <period> <value>
    - Sets a statistic value to a fixed value. Period is one of Hour, Day, Month, Year. + Sets a statistic value to a fixed value. Period is one of Hour, Day, Month, Year.
    + Implemented for delta readings only (Hour, Day, Month, Year) Hint: covers not last readings
  • @@ -1366,7 +1367,12 @@ __END__ So, only the readings that are listed in the specific attributes are evaluated.

    - +
  • limitDecimals <reading:decimals> +
    + Space separated list of reading:decimals to set the maximun number of decimal places after decimal point.
    + Valid only for Delta und Avg. +
    +

  • minAvgMaxReadings <readings>
    Comma separated list of reading names for which a min/average/max statistic shall be calculated. @@ -1485,6 +1491,11 @@ __END__
  • doStatistics
    Berechnet die aktuellen Statistiken aller beobachteten Geräte. +
  • +
  • setStatistics <device> <reading> <period> <value> +
    + Setzt einen statistic Wert auf einen festen Wert. Die period ist eine aus Hour, Day, Month, Year.
    + Iimplementiert für delta Readings (Hour, Day, Month, Year). Hinweis: nicht für die Last-Readings.
  • @@ -1518,7 +1529,12 @@ __END__ z.B. FritzDect:current|Sensor_.*:humidity

    - +
  • limitDecimals <reading:decimals> +
    + Durch Angabe einer Liste im Format reading:decimals (Leerzeichen getrennt) wird die maximale Anzahl
    + von Nachkommastellen festgelegt (greift nur bei Delta und Avg). +
    +

  • ignoreDefaultAssignments <0 | 1>
    Ignoriert die Standardzuordnung von Gerätewerten zu Statistik-Typen..