2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

Bugfix (by UliM)

git-svn-id: https://svn.fhem.de/fhem/trunk@939 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-07-11 07:23:33 +00:00
parent f2a757a1a1
commit a7783191f4

View File

@ -5590,7 +5590,7 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
Double-Colon separated list of values. The values will be used to replace Double-Colon separated list of values. The values will be used to replace
<L#> type of strings in the .gplot file, with # beginning at 1 <L#> type of strings in the .gplot file, with # beginning at 1
(<L1>, <L2>, etc.). Each value will be evaluated as a perl (<L1>, <L2>, etc.). Each value will be evaluated as a perl
expression, so you have access e.g. to the $value hash.<br><br> expression, so you have access e.g. to the Value functions.<br><br>
If the plotmode is gnuplot-scroll or SVG, you can also use the min, max, If the plotmode is gnuplot-scroll or SVG, you can also use the min, max,
avg, cnt, sum, lastv (last value) and lastd (last date) values of the avg, cnt, sum, lastv (last value) and lastd (last date) values of the
@ -6065,7 +6065,7 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
If an entry in the holiday file matches the current day, then the STATE of If an entry in the holiday file matches the current day, then the STATE of
this holiday instance displayed in the <a href="#list">list</a> command this holiday instance displayed in the <a href="#list">list</a> command
will be set to the holiday, else the state is set to the text none. Most will be set to the holiday, else the state is set to the text none. Most
probably you'll want to query this value in some perl script: see $value in probably you'll want to query this value in some perl script: see Value() in
the <a href="#perl">perl</a> section or the global attribute <a the <a href="#perl">perl</a> section or the global attribute <a
href="#holiday2we"> holiday2we</a>.<br> href="#holiday2we"> holiday2we</a>.<br>
The file will be reread once every night, to compute the value for the The file will be reread once every night, to compute the value for the
@ -6943,10 +6943,9 @@ isday</pre>
<li> <li>
The current value (the string you see in paranthesis in the output of the The current value (the string you see in paranthesis in the output of the
list command) is available in the <code>value</code> hash; to access it list command) is available in the <code>value</code> hash; to access it
use $value{&lt;devicename&gt;}<br> use <code>Value("name")</code>. If you need the old value (and time) of
If you need the old value (and time) of the currently triggered device, the currently triggered device, then you can access it with
then you can access it with <code>$oldvalue{$dev}{TIME}</code> and <code>OldValue("name")</code> and <code>OldTimestamp("name")</code>.<br>
<code>$oldvalue{$dev}{VAL}</code>.<br>
</li> </li>
<li> <li>