From 61e01e1681fda109e5a69c9c10e695357a804e7c Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Fri, 26 Apr 2013 14:55:34 +0000 Subject: [PATCH] ignore temperatures <= and >= 200 git-svn-id: https://svn.fhem.de/fhem/trunk@3119 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/32_SYSSTAT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/32_SYSSTAT.pm b/fhem/FHEM/32_SYSSTAT.pm index 9b147646d..8dd53b158 100644 --- a/fhem/FHEM/32_SYSSTAT.pm +++ b/fhem/FHEM/32_SYSSTAT.pm @@ -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 ); } }