2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 19:32:42 +00:00

dewpoint fix for ks300

git-svn-id: https://svn.fhem.de/fhem/trunk@880 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wherzig 2011-03-27 17:28:34 +00:00
parent 02f1aa43ba
commit 5926b1d4a4

View File

@ -533,7 +533,7 @@ USBWX_Parse($$)
$def->{READINGS}{$sensor}{VAL} = $current;
$def->{CHANGED}[$n++] = $sensor . ": " . $current;
my $dewpoint = sprintf("%.1f", USBWX_Dewpoint($ks300_temperature,$ks300_humidity));
my $dewpoint = sprintf("%.1f", dewpoint($ks300_temperature,$ks300_humidity));
$current = $dewpoint;
$sensor = "dewpoint";
$def->{READINGS}{$sensor}{TIME} = $tm;