mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
statistics: docu, decimalplaces deltaReadings
git-svn-id: https://svn.fhem.de/fhem/trunk@6641 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
295dcb5f8b
commit
37e1312557
@ -400,7 +400,7 @@ statistics_DoStatistics($$$)
|
||||
next if ($completeReadingName =~ m/^($exclReadings)$/ );
|
||||
next if not exists ($dev->{READINGS}{$readingName});
|
||||
$statisticDone = 1;
|
||||
statistics_doStatisticDelta ($hash, $dev, $readingName, 1, $periodSwitch);
|
||||
statistics_doStatisticDelta ($hash, $dev, $readingName, 3, $periodSwitch);
|
||||
}
|
||||
|
||||
@specialReadings = split /,/, AttrVal($hashName, "durationReadings", "");
|
||||
@ -1039,16 +1039,16 @@ statistics_UpdateDevReading($$$$)
|
||||
<a name="statisticsattr"></a>
|
||||
<b>Attributes</b>
|
||||
<ul>
|
||||
<li><code>dayChangeTime <Zeit></code>
|
||||
<li><code>dayChangeTime <time></code>
|
||||
<br>
|
||||
Time of day change. Default is 00:00. For weather data the day change is e.g. 06:50.
|
||||
<br>
|
||||
</li><br>
|
||||
<li><code>deltaReadings <Gerätewerte></code>
|
||||
<li><code>deltaReadings <readings></code>
|
||||
<br>
|
||||
Comma separated list of reading names for which a delta statistic shall be calculated.
|
||||
</li><br>
|
||||
<li><code>durationReadings <Gerätewerte></code>
|
||||
<li><code>durationReadings <readings></code>
|
||||
<br>
|
||||
Comma separated list of reading names for which a duration statistic shall be calculated.
|
||||
</li><br>
|
||||
@ -1058,11 +1058,11 @@ statistics_UpdateDevReading($$$$)
|
||||
The reading have to be entered in the form <i>deviceName:readingName</i>. E.g. "FritzDect:current|Sensor_.*:humidity"
|
||||
<br>
|
||||
</li><br>
|
||||
<li><code>minAvgMaxReadings <Gerätewerte></code>
|
||||
<li><code>minAvgMaxReadings <readings></code>
|
||||
<br>
|
||||
Comma separated list of reading names for which a min/average/max statistic shall be calculated.
|
||||
</li><br>
|
||||
<li><code>periodChangePreset <Sekunden></code>
|
||||
<li><code>periodChangePreset <seconds></code>
|
||||
<br>
|
||||
Start of the calculation of periodical data, default is 5 Sekunden before each full hour,
|
||||
<br>
|
||||
@ -1080,11 +1080,11 @@ statistics_UpdateDevReading($$$$)
|
||||
z.B. <code>Wettersensor:rain:Delta:(Hour|Day)|(FritzDect:(current|power):(Avg|Max|Delta):(Hour|Day)</code>
|
||||
<br>
|
||||
</li><br>
|
||||
<li><code>specialDeltaPeriodHours <Hours></code>
|
||||
<li><code>specialDeltaPeriodHours <hours></code>
|
||||
<br>
|
||||
Adds for readings of delta statistics a singular reading for the given period of hours (e.g. for the rain of the last 72 hours)
|
||||
</li><br>
|
||||
<li><code>tendencyReadings <Gerätewerte></code>
|
||||
<li><code>tendencyReadings <readings></code>
|
||||
<br>
|
||||
Comma separated list of reading names for which a min/average/max statistic shall be calculated.
|
||||
</li><br>
|
||||
@ -1164,11 +1164,11 @@ statistics_UpdateDevReading($$$$)
|
||||
</li><br>
|
||||
<li><code>deltaReadings <Gerätewerte></code>
|
||||
<br>
|
||||
Durch Kommas getrennte Liste von weiteren Gerätewerten, für welche die Differenz zwischen den Werten am Anfang und Ende einer Periode (Stunde/Tag/Monat/Jahr) bestimmt wird.
|
||||
Durch Kommas getrennte Liste von weiteren Gerätewerten, für welche die Differenz zwischen den Werten am Anfang und Ende einer Periode (Stunde/Tag/Monat/Jahr) bestimmt wird.
|
||||
</li><br>
|
||||
<li><code>durationReadings <Gerätewerte></code>
|
||||
<br>
|
||||
Durch Kommas getrennte Liste von weiteren Gerätewerten, für welche die Dauer einzelner Gerätewerte innerhalb bestimmte Zeiträume (Stunde/Tag/Monat/Jahr) erfasst wird.
|
||||
Durch Kommas getrennte Liste von weiteren Gerätewerten, für welche die Dauer einzelner Gerätewerte innerhalb bestimmte Zeiträume (Stunde/Tag/Monat/Jahr) erfasst wird.
|
||||
</li><br>
|
||||
<li><code>excludedReadings <GerätenameRegExp:GerätewertRegExp></code>
|
||||
<br>
|
||||
@ -1182,7 +1182,7 @@ statistics_UpdateDevReading($$$$)
|
||||
</li><br>
|
||||
<li><code>minAvgMaxReadings <Gerätewerte></code>
|
||||
<br>
|
||||
Durch Kommas getrennte Liste von Gerätewerten, für die in bestimmten Zeiträumen (Tag, Monat, Jahr) Minimum, Mittelwert und Maximum erfasst werden.
|
||||
Durch Kommas getrennte Liste von Gerätewerten, für die in bestimmten Zeiträumen (Tag, Monat, Jahr) Minimum, Mittelwert und Maximum erfasst werden.
|
||||
</li><br>
|
||||
<li><code>periodChangePreset <Sekunden></code>
|
||||
<br>
|
||||
@ -1207,7 +1207,7 @@ statistics_UpdateDevReading($$$$)
|
||||
</li><br>
|
||||
<li><code>tendencyReadings <Gerätewerte></code>
|
||||
<br>
|
||||
Durch Kommas getrennte Liste von weiteren Gerätewerten, für die innerhalb bestimmter Zeiträume (1h, 2h, 3h, 6h) die Differenz zwischen Anfangs- und Endwert ermittelt wird.
|
||||
Durch Kommas getrennte Liste von weiteren Gerätewerten, für die innerhalb bestimmter Zeiträume (1h, 2h, 3h, 6h) die Differenz zwischen Anfangs- und Endwert ermittelt wird.
|
||||
</li><br>
|
||||
<li><a href="#readingFnAttributes">readingFnAttributes</a>
|
||||
</li><br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user