From e8b0d5b7d70b5c05abf896d547204864a064837e Mon Sep 17 00:00:00 2001 From: tpoitzsch Date: Fri, 30 May 2014 18:27:07 +0000 Subject: [PATCH] docu git-svn-id: https://svn.fhem.de/fhem/trunk@6014 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_statistics.pm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/fhem/FHEM/98_statistics.pm b/fhem/FHEM/98_statistics.pm index 379916ff7..0db9d88c2 100644 --- a/fhem/FHEM/98_statistics.pm +++ b/fhem/FHEM/98_statistics.pm @@ -417,7 +417,7 @@ statistics_DoStatistics($$$) } if ($statisticDone != 1) { - if (exists ($dev->{READINGS}{state})) { + if ( exists ($dev->{READINGS}{state}) && $dev->{READINGS}{state}{VAL} ne "defined" ) { statistics_doStatisticDuration $hash, $dev, "state", $periodSwitch; $statisticDone = 1; } @@ -862,15 +862,14 @@ statistics_FormatDuration($)
Beispiel: define Statistik statistics Sensor_.*|Wettersensor
  +
  • <DeviceNameRegExp> +
    + Regular expression of device names. !!! Not the device readings !!! +

  • [Prefix]
    Optional. Prefix set is place before statistical data. Default is stat

  • -
  • <DeviceNameRegExp> -
    - Regular expression of device names. !!! Not the device readings !!! -
    -

  • @@ -950,11 +949,11 @@ statistics_FormatDuration($)