From 81ffdb6460096202620f10d951be918c2efbc113 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sun, 10 Jul 2022 21:25:55 +0000 Subject: [PATCH] 76_SolarForecast.pm: contrib 0.65.3 git-svn-id: https://svn.fhem.de/fhem/trunk@26209 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index d198ba984..bc81cdbf5 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -120,7 +120,7 @@ BEGIN { # Versions History intern my %vNotesIntern = ( - "0.65.3 "=> "10.07.2022 consumer with mode=must are now interruptable ", + "0.65.3 "=> "10.07.2022 consumer with mode=must are now interruptable, change hourscsme ", "0.65.2 "=> "08.07.2022 change avgenergy to W p. hour ", "0.65.1 "=> "07.07.2022 change logic of __calcEnergyPieces function and the \%hef hash ", "0.65.0 "=> "03.07.2022 feature key interruptable for consumer ", @@ -6836,7 +6836,7 @@ sub setPVhistory { } } - if($histname =~ /cyclescsm[0-9]+$/xs) { # Anzahl Tageszyklen des Verbrauchers + if($histname =~ /cyclescsm[0-9]+$/xs) { # Anzahl Tageszyklen des Verbrauchers $data{$type}{$name}{pvhist}{$day}{99}{$histname} = $val; } @@ -6854,7 +6854,7 @@ sub setPVhistory { } my $cycles = HistoryVal ($hash, $day, 99, "cyclescsm${num}", 0); - $data{$type}{$name}{pvhist}{$day}{99}{"hourscsme${num}"} = ceil ($minutes / $cycles / 60 ) if($cycles); + $data{$type}{$name}{pvhist}{$day}{99}{"hourscsme${num}"} = ceil ($minutes / 60 ) if($cycles); } if($histname eq "etotal") { # etotal des Wechselrichters