mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 02:10:32 +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:
parent
02f1aa43ba
commit
5926b1d4a4
@ -533,7 +533,7 @@ USBWX_Parse($$)
|
|||||||
$def->{READINGS}{$sensor}{VAL} = $current;
|
$def->{READINGS}{$sensor}{VAL} = $current;
|
||||||
$def->{CHANGED}[$n++] = $sensor . ": " . $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;
|
$current = $dewpoint;
|
||||||
$sensor = "dewpoint";
|
$sensor = "dewpoint";
|
||||||
$def->{READINGS}{$sensor}{TIME} = $tm;
|
$def->{READINGS}{$sensor}{TIME} = $tm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user