mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
fixed humidity
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4372 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e7faf8da2d
commit
d18e66e3f4
@ -200,7 +200,7 @@ LaCrosse_Parse($$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$temperature = int($temperature*10 + 0.5) / 10;
|
$temperature = int($temperature*10 + 0.5) / 10;
|
||||||
$humidity = int($humidity + 0.5) / 10;
|
$humidity = int($humidity*10 + 0.5) / 10;
|
||||||
|
|
||||||
readingsBulkUpdate($rhash, "temperature$channel", $temperature);
|
readingsBulkUpdate($rhash, "temperature$channel", $temperature);
|
||||||
readingsBulkUpdate($rhash, "humidity$channel", $humidity) if( $humidity && $humidity <= 99 );
|
readingsBulkUpdate($rhash, "humidity$channel", $humidity) if( $humidity && $humidity <= 99 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user