mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
98_average.pm: add floatformat doc, update anchors (Forum #128027)
git-svn-id: https://svn.fhem.de/fhem/trunk@26148 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8e068da4df
commit
9f56f24170
@ -195,7 +195,7 @@ average_Notify($$)
|
||||
=item summary_DE berechnet Durchschnittswerte (als Readings)
|
||||
=begin html
|
||||
|
||||
<a name="average"></a>
|
||||
<a id="average"></a>
|
||||
<h3>average</h3>
|
||||
<ul>
|
||||
|
||||
@ -204,7 +204,7 @@ average_Notify($$)
|
||||
|
||||
<br>
|
||||
|
||||
<a name="averagedefine"></a>
|
||||
<a id="average-define"></a>
|
||||
<b>Define</b>
|
||||
<ul>
|
||||
<code>define <name> average <regexp></code><br>
|
||||
@ -271,31 +271,42 @@ average_Notify($$)
|
||||
</PRE>
|
||||
</ul>
|
||||
|
||||
<a name="averageset"></a>
|
||||
<a id="average-set"></a>
|
||||
<b>Set</b> <ul>N/A</ul><br>
|
||||
|
||||
<a name="averageget"></a>
|
||||
<a id="average-get"></a>
|
||||
<b>Get</b> <ul>N/A</ul><br>
|
||||
|
||||
<a name="averageattr"></a>
|
||||
<a id="average-attr"></a>
|
||||
<b>Attributes</b>
|
||||
<ul>
|
||||
<li><a href="#disable">disable</a></li>
|
||||
<li><a href="#disabledForIntervals">disabledForIntervals</a></li>
|
||||
<li>computeMethod</li>
|
||||
|
||||
<a id="average-attr-computeMethod"></a>
|
||||
<li>computeMethod [integral|counter]<br>
|
||||
defines how values are added up for the average calculation. This
|
||||
attribute can be set to integral or counter.
|
||||
The integral mode is meant for measuring continuous values like
|
||||
temperature, counter is meant for adding up values, e.g. from a
|
||||
feeding unit. In the first case, the time between the events plays an
|
||||
important role, in the second case not. Default is integral.
|
||||
<li>nominmax</li>
|
||||
don't compute min and max values. Default is 0 (compute min & max).
|
||||
<li>noaverage</li>
|
||||
don't compute average values. Default is 0 (compute avarage).
|
||||
important role, in the second case not. Default is integral.</li><br>
|
||||
|
||||
<a id="average-attr-floatformat"></a>
|
||||
<li>floatformat <formatstring><br>
|
||||
string used in sprintf to format the numbers, default is %0.1f</li></br>
|
||||
|
||||
<a id="average-attr-nominmax"></a>
|
||||
<li>nominmax [0|1]<br>
|
||||
don't compute min and max values. Default is 0 (compute min &
|
||||
max).</li>
|
||||
|
||||
<a id="average-attr-noaverage"></a>
|
||||
<li>noaverage [0|1]<br>
|
||||
don't compute average values. Default is 0 (compute avarage).</li><br>
|
||||
</ul>
|
||||
|
||||
<a name="averageevents"></a>
|
||||
<a id="average-events"></a>
|
||||
<b>Generated events:</b>
|
||||
<ul>
|
||||
<li><eventname>_avg_day: $avg_day</li>
|
||||
@ -307,6 +318,7 @@ average_Notify($$)
|
||||
<li><eventname>_max_day: $max_day</li>
|
||||
<li><eventname>_max_month: $max_month</li>
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user