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:
parent
4e80cb4525
commit
61e01e1681
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user