diff --git a/fhem/CHANGED b/fhem/CHANGED index 2676cd13e..92e9c9ef5 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 38_netatmo: fix for invalid forecast data crashing FHEM - feature: 98_Hyperion: version check for hyperion server required min version of hyperion is now 1.03.2 attr hyperionVersionCheck to disable version check diff --git a/fhem/FHEM/38_netatmo.pm b/fhem/FHEM/38_netatmo.pm index f2369ed89..e131f8b82 100644 --- a/fhem/FHEM/38_netatmo.pm +++ b/fhem/FHEM/38_netatmo.pm @@ -2551,6 +2551,8 @@ netatmo_parseForecast($$) foreach my $forecastdata ( @{$json->{body}{forecastDays}}) { + next if(ref($forecastdata) ne "HASH"); + if(defined($forecastdata->{rain})) { readingsBeginUpdate($hash);