diff --git a/fhem/CHANGED b/fhem/CHANGED index 199962555..fa1d6e0d3 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -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) \ No newline at end of file + - feature: lazy attribute for FHT devices (Boris 2009-06-09) + - feature: tmpcorr attribute for FHT devices diff --git a/fhem/FHEM/11_FHT.pm b/fhem/FHEM/11_FHT.pm index 31ac31696..f67bc0929 100755 --- a/fhem/FHEM/11_FHT.pm +++ b/fhem/FHEM/11_FHT.pm @@ -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 { diff --git a/fhem/HISTORY b/fhem/HISTORY index ae8b3e2f0..24281040e 100644 --- a/fhem/HISTORY +++ b/fhem/HISTORY @@ -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 \ No newline at end of file + - 11_FHT.pm: lazy attribute for FHT devices + +- Sun Jun 14 2009 (Rudi + - 11_FHT.pm: tmpcorr attribute for FHT devices diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html index 5e0c3923f..30df39a93 100644 --- a/fhem/docs/commandref.html +++ b/fhem/docs/commandref.html @@ -1429,7 +1429,6 @@ A line ending with \ will be concatenated with the next one, so long lines
retrycount
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