ignore temperatures <= and >= 200

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3119 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-04-26 14:55:34 +00:00
parent ab3f59777f
commit fe55e8f168

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 );
}
}