diff --git a/fhem/FHEM/98_statistics.pm b/fhem/FHEM/98_statistics.pm index 33a1740b4..63f7ef1d9 100644 --- a/fhem/FHEM/98_statistics.pm +++ b/fhem/FHEM/98_statistics.pm @@ -66,6 +66,7 @@ sub statistics_UpdateDevReading($$$$); ,"energy" => 2 ,"energy_current" => 1 ,"energy_total" => 2 + ,"energyCalc" => 2 ,"Total.Energy" => 2 ,"humidity" => 1 ,"lightsensor" => 3 @@ -134,6 +135,7 @@ statistics_Initialize($) ."minAvgMaxReadings " ."periodChangePreset " ."specialDeltaPeriodHours " + ."specialPeriod " ."singularReadings " ."tendencyReadings " .$readingFnAttributes; @@ -1096,7 +1098,7 @@ sub statistics_UpdateDevReading($$$$) lightsensor, lock, motion, Window, window, state (if no other reading is recognized)
- Further readings can be added via the correspondent attributes. + Further readings can be added via the attributes deltaReadings, durationReadings, minAvgMaxReadings, tendencyReadings. This allows also to assign a reading to another statistic type.
 
@@ -1187,7 +1189,7 @@ sub statistics_UpdateDevReading($$$$)
  • period: Hour|Day|Month|Year|1h|2h|3h|6h

  • - Regulare expression of statistic values, which for which singular readings are created additionally. Eases the creation of plots. For duration readings the name of the state has to be used as statTypes. + Regulare expression of statistic values, which for which singular readings are created additionally to the summary readings. Eases the creation of plots. For duration readings the name of the state has to be used as statTypes.
    Example: Wettersensor:rain:Delta:(Hour|Day)|(FritzDect:(current|power):(Avg|Max|Delta):(Hour|Day)
    @@ -1240,7 +1242,7 @@ sub statistics_UpdateDevReading($$$$) 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 + Über die Attribute deltaReadings, durationReadings, minAvgMaxReadings, tendencyReadings können weitere Gerätewerte hinzugefügt oder einem anderem Statistik-Typ zugeordnet werden.