2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

93_DbRep: contrib 8.51.5

git-svn-id: https://svn.fhem.de/fhem/trunk@27176 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2023-02-04 07:55:32 +00:00
parent 162f9e65e3
commit fe0df23976

View File

@ -3391,7 +3391,9 @@ sub _DbRep_avgArithmeticMean {
@rsn = split " ", $runtime_string_next;
$arrstr .= $runtime_string."#".$avg."#".$rsf[0]."|";
}
next if($avg eq '-'); # Schreiben von '-' als Durchschnitt verhindern
my @wsf = split " ", $runtime_string_first;
my @wsn = split " ", $runtime_string_next;
@ -3448,7 +3450,7 @@ sub _DbRep_avgDailyMeanGWS {
my $sum = 0;
my $anz = 0; # Anzahl der Messwerte am Tag
my ($t01,$t07,$t13,$t19); # Temperaturen der Haupttermine
my ($bdate,undef) = split(" ",$runtime_string_first);
my ($bdate,undef) = split " ", $runtime_string_first;
for my $i (0..23) {
my $bsel = $bdate." ".sprintf("%02d",$i).":00:00";