2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

ignore temperatures <= and >= 200

git-svn-id: https://svn.fhem.de/fhem/trunk@3119 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2013-04-26 14:55:34 +00:00
parent 4e80cb4525
commit 61e01e1681

View File

@ -202,7 +202,7 @@ SYSSTAT_GetUpdate($)
if( AttrVal($hash->{NAME}, "raspberrytemperature", "") ne "" ) {
my $temp = SYSSTAT_getPiTemp($hash);
readingsSingleUpdate($hash,"temperature",$temp,defined($hash->{LOCAL} ? 0 : 1));
readingsSingleUpdate($hash,"temperature",$temp,defined($hash->{LOCAL} ? 0 : 1)) if( $temp > 0 && $temp < 200 );
}
}