mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
statistics: docu
git-svn-id: https://svn.fhem.de/fhem/trunk@8783 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
71868f02fe
commit
df6a6f84df
@ -66,6 +66,7 @@ sub statistics_UpdateDevReading($$$$);
|
|||||||
,"energy" => 2
|
,"energy" => 2
|
||||||
,"energy_current" => 1
|
,"energy_current" => 1
|
||||||
,"energy_total" => 2
|
,"energy_total" => 2
|
||||||
|
,"energyCalc" => 2
|
||||||
,"Total.Energy" => 2
|
,"Total.Energy" => 2
|
||||||
,"humidity" => 1
|
,"humidity" => 1
|
||||||
,"lightsensor" => 3
|
,"lightsensor" => 3
|
||||||
@ -134,6 +135,7 @@ statistics_Initialize($)
|
|||||||
."minAvgMaxReadings "
|
."minAvgMaxReadings "
|
||||||
."periodChangePreset "
|
."periodChangePreset "
|
||||||
."specialDeltaPeriodHours "
|
."specialDeltaPeriodHours "
|
||||||
|
."specialPeriod "
|
||||||
."singularReadings "
|
."singularReadings "
|
||||||
."tendencyReadings "
|
."tendencyReadings "
|
||||||
.$readingFnAttributes;
|
.$readingFnAttributes;
|
||||||
@ -1096,7 +1098,7 @@ sub statistics_UpdateDevReading($$$$)
|
|||||||
<i>lightsensor, lock, motion, Window, window, state (if no other reading is recognized)</i>
|
<i>lightsensor, lock, motion, Window, window, state (if no other reading is recognized)</i>
|
||||||
</li><br>
|
</li><br>
|
||||||
</ul>
|
</ul>
|
||||||
Further readings can be added via the correspondent <a href="#statisticsattr">attributes</a>.
|
Further readings can be added via the <a href="#statisticsattr">attributes</a> <code>deltaReadings, durationReadings, minAvgMaxReadings, tendencyReadings</code>.
|
||||||
This allows also to assign a reading to another statistic type.
|
This allows also to assign a reading to another statistic type.
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
@ -1187,7 +1189,7 @@ sub statistics_UpdateDevReading($$$$)
|
|||||||
<li>period: Hour|Day|Month|Year|<span style="color:blue;">1h|2h|3h|6h</span></li>
|
<li>period: Hour|Day|Month|Year|<span style="color:blue;">1h|2h|3h|6h</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
Regulare expression of statistic values, which for which singular readings are created <u>additionally</u>. 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 <u>additionally</u> to the summary readings. Eases the creation of plots. For duration readings the name of the state has to be used as statTypes.
|
||||||
<br>
|
<br>
|
||||||
Example: <code>Wettersensor:rain:Delta:(Hour|Day)|(FritzDect:(current|power):(Avg|Max|Delta):(Hour|Day)</code>
|
Example: <code>Wettersensor:rain:Delta:(Hour|Day)|(FritzDect:(current|power):(Avg|Max|Delta):(Hour|Day)</code>
|
||||||
<br>
|
<br>
|
||||||
@ -1240,7 +1242,7 @@ sub statistics_UpdateDevReading($$$$)
|
|||||||
<i>lightsensor, lock, motion, Window, window, state (wenn kein anderer Gerätewert gültig)</i>
|
<i>lightsensor, lock, motion, Window, window, state (wenn kein anderer Gerätewert gültig)</i>
|
||||||
</li><br>
|
</li><br>
|
||||||
</ul>
|
</ul>
|
||||||
Über die entsprechenden <a href="#statisticsattr">Attribute</a> können weitere Gerätewerte hinzugefügt oder
|
Über die <a href="#statisticsattr">Attribute</a> <code>deltaReadings, durationReadings, minAvgMaxReadings, tendencyReadings</code> können weitere Gerätewerte hinzugefügt oder
|
||||||
einem anderem Statistik-Typ zugeordnet werden.
|
einem anderem Statistik-Typ zugeordnet werden.
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user