2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 05:06:35 +00:00

tmpcorr attribute

git-svn-id: https://svn.fhem.de/fhem/trunk@393 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2009-06-14 08:53:16 +00:00
parent 5af4866380
commit 37d116eba0
4 changed files with 20 additions and 7 deletions

View File

@ -501,5 +501,7 @@
- bugfix: sunrise stuff fixed, doc missing
- feature: CUL FHT sending added
- bugfix: workaround to make M232 counter wraparound
- feature: sequence module added
- feature: Google Weather API support form FHEM (Boris 2009-06-01)
- feature: lazy attribute for FHT devices (Boris 2009-06-09)
- feature: lazy attribute for FHT devices (Boris 2009-06-09)
- feature: tmpcorr attribute for FHT devices

View File

@ -144,7 +144,8 @@ FHT_Initialize($)
$hash->{UndefFn} = "FHT_Undef";
$hash->{ParseFn} = "FHT_Parse";
$hash->{AttrList} = "IODev do_not_notify:0,1 model;fht80b dummy:0,1 " .
"showtime:0,1 loglevel:0,1,2,3,4,5,6 retrycount minfhtbuffer lazy";
"showtime:0,1 loglevel:0,1,2,3,4,5,6 retrycount minfhtbuffer".
"lazy tmpcorr";
}
@ -418,9 +419,11 @@ FHT_Parse($$)
if(defined($def->{READINGS}{"measured-low"}{VAL})) {
my $off = ($attr{$name} && $attr{$name}{tmpcorr}) ?
$attr{$name}{tmpcorr} : 0;
$val = $val*256 + $def->{READINGS}{"measured-low"}{VAL};
$val /= 10;
$val = sprintf("%.1f (Celsius)", $val);
$val = sprintf("%.1f (Celsius)", $val+$off);
$cmd = "measured-temp"
} else {

View File

@ -373,6 +373,7 @@
- Fri Jan 9
- Added a unified dispatch for CUL/FHZ and CM11, since all of them used the
same code.
- Addedd IODev attribute to FS20/FHT/HMS/KS300/CUL_WS/CUL/EMWZ/EMGZ/EMEM
- Sun Jan 11 (Klaus)
- Added fixedrange option day|week|month|year (for pgm2)
@ -409,4 +410,7 @@
updated.
- Tue Jun 09 2009 (Boris)
- 11_FHT.pm: lazy attribute for FHT devices
- 11_FHT.pm: lazy attribute for FHT devices
- Sun Jun 14 2009 (Rudi
- 11_FHT.pm: tmpcorr attribute for FHT devices

View File

@ -1429,7 +1429,6 @@ A line ending with \ will be concatenated with the next one, so long lines
<a name="retrycount"></a>
<li>retrycount<br/>
Can be applied to FHT devices.<br/>
If the <a href="#fhtsoftbuffer">fhtsoftbuffer</a> attribute is set, then
resend commands <code>retrycount</code> times if after 240 seconds
no confirmation message is received from the corresponding FHT
@ -1438,7 +1437,6 @@ A line ending with \ will be concatenated with the next one, so long lines
<a name="minfhtbuffer"></a>
<li>minfhtbuffer<br/>
Can be applied to FHT devices.<br/>
FHEM won't send commands to the FHZ if its fhtbuffer is below
this value, default is 0. If this value is low, then the ordering of
fht commands (see the note in the FHT section of <a href="#set">set</a>)
@ -1449,11 +1447,17 @@ A line ending with \ will be concatenated with the next one, so long lines
<a name="lazy"></a>
<li>lazy<br/>
Can be applied to FHT devices.<br/>
If the lazy attribute is set, FHEM won't send commands to the FHT if
the current reading and the value to be set are already identical. This
may help avoiding conflicts with the max-1%-time-on-air rule in large
installations. Not set per default.
</li><br>
<a name="tmpcorr"></a>
<li>tmpcorr<br/>
Correct the temperature reported by the FHT by the value specified.
Note: only the measured-temp value reported by fhem (used for logging)
will be modified.
</li>
</ul>
<br>