diff --git a/fhem/CHANGED b/fhem/CHANGED index 457c395c8..f8a7aaad2 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. + - update: 38_netatmo.pm: 3 stations minimum for PUBLIC statistics - update: 74_AMAD: new Version 2.6.11, add startDaydream and more media commands - update: 93_DbRep: V4.11.1, new options for timestamp_begin,timestamp_end diff --git a/fhem/FHEM/38_netatmo.pm b/fhem/FHEM/38_netatmo.pm index b458d51ae..cef67b36d 100644 --- a/fhem/FHEM/38_netatmo.pm +++ b/fhem/FHEM/38_netatmo.pm @@ -10,7 +10,7 @@ # # ############################################################################## -# Release 07 / 2017-02-26 +# Release 08 / 2017-03-02 package main; @@ -4403,50 +4403,65 @@ netatmo_parsePublic($$) @readings_latitude = sort {$a <=> $b} @readings_latitude; @readings_longitude = sort {$a <=> $b} @readings_longitude; - for (my $i=0;$i 4) { - pop @readings_temperature; - pop @readings_humidity; - pop @timestamps_temperature; - shift @readings_temperature; - shift @readings_humidity; - shift @timestamps_temperature; + for (my $i=0;$i 4) { - pop @readings_pressure; - pop @timestamps_pressure; - shift @readings_pressure; - shift @timestamps_pressure; + for (my $i=0;$i 4) { - pop @readings_rain; - pop @readings_rain_1; - pop @readings_rain_24; - pop @timestamps_rain; - shift @readings_rain; - shift @readings_rain_1; - shift @readings_rain_24; - shift @timestamps_rain; + for (my $i=0;$i 4) { - pop @readings_wind_strength; - pop @readings_gust_strength; - pop @timestamps_wind; - shift @readings_wind_strength; - shift @readings_gust_strength; - shift @timestamps_wind; + for (my $i=0;$i 4) { - pop @readings_altitude; - pop @readings_latitude; - pop @readings_longitude; - shift @readings_altitude; - shift @readings_latitude; - shift @readings_longitude; + for (my $i=0;$i