2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-05 02:19:31 +00:00

44_TEK603.pm: fix temperature

git-svn-id: https://svn.fhem.de/fhem/trunk@10993 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
eisler 2016-03-05 08:55:29 +00:00
parent d263731b50
commit 0e906601b1

View File

@ -174,7 +174,7 @@ sub TEK603_read($) {
my $RemainingUsableLevel= hex(substr($payload,6,2)) * 256 + hex(substr($payload,8,2));
my $TotalUsableCapacity = hex(substr($payload,10,2)) * 256 + hex(substr($payload,12,2));
return '' if($temp eq "-40" && $Ullage eq "0"); # TankLevel=NO_DATA
return '' if($temp eq "-40.00" && $Ullage eq "0"); # TankLevel=NO_DATA
#Log3 $name, 5, $hash->{buffer};
Log3 $name, 5, "Time:$time Temp:$temp Ullage:$Ullage RemainingUsableLevel:$RemainingUsableLevel TotalUsableCapacity:$TotalUsableCapacity";