mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
76_SolarForecast.pm: contrib 0.70.3
git-svn-id: https://svn.fhem.de/fhem/trunk@26547 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cc76f2b200
commit
fd794acf79
@ -2178,8 +2178,6 @@ sub ___setLastAPIcallKeyData {
|
|||||||
my $dart = $sstime - $t; # verbleibende Sekunden bis Sonnenuntergang
|
my $dart = $sstime - $t; # verbleibende Sekunden bis Sonnenuntergang
|
||||||
$dart = 0 if($dart < 0);
|
$dart = 0 if($dart < 0);
|
||||||
|
|
||||||
#$data{$type}{$name}{current}{secondsUntilSunSet} = $dart;
|
|
||||||
|
|
||||||
$data{$type}{$name}{solcastapi}{'?All'}{'?All'}{currentAPIinterval} = $apirepetdef;
|
$data{$type}{$name}{solcastapi}{'?All'}{'?All'}{currentAPIinterval} = $apirepetdef;
|
||||||
$data{$type}{$name}{solcastapi}{'?All'}{'?All'}{currentAPIinterval} = int ($dart / $darr) if($dart && $darr);
|
$data{$type}{$name}{solcastapi}{'?All'}{'?All'}{currentAPIinterval} = int ($dart / $darr) if($dart && $darr);
|
||||||
|
|
||||||
@ -5517,8 +5515,6 @@ sub _calcReadingsTomorrowPVFc {
|
|||||||
|
|
||||||
my $type = $hash->{TYPE};
|
my $type = $hash->{TYPE};
|
||||||
|
|
||||||
# deleteReadingspec ($hash, "Tomorrow_Hour.*");
|
|
||||||
|
|
||||||
my $h = $data{$type}{$name}{nexthours};
|
my $h = $data{$type}{$name}{nexthours};
|
||||||
my $hods = AttrVal($name, 'createTomorrowPVFcReadings', '');
|
my $hods = AttrVal($name, 'createTomorrowPVFcReadings', '');
|
||||||
return if(!keys %{$h} || !$hods);
|
return if(!keys %{$h} || !$hods);
|
||||||
@ -5533,7 +5529,6 @@ sub _calcReadingsTomorrowPVFc {
|
|||||||
next if($hods !~ /$h/xs); # diese Stunde des Tages soll nicht erzeugt werden
|
next if($hods !~ /$h/xs); # diese Stunde des Tages soll nicht erzeugt werden
|
||||||
|
|
||||||
my $st = NexthoursVal ($hash, $idx, 'starttime', 'XXXX-XX-XX XX:XX:XX'); # Starttime
|
my $st = NexthoursVal ($hash, $idx, 'starttime', 'XXXX-XX-XX XX:XX:XX'); # Starttime
|
||||||
|
|
||||||
my $pvfc = NexthoursVal ($hash, $idx, 'pvforecast', 0);
|
my $pvfc = NexthoursVal ($hash, $idx, 'pvforecast', 0);
|
||||||
|
|
||||||
push @$daref, "Tomorrow_Hour".$h."_PVforecast<>".$pvfc." Wh";
|
push @$daref, "Tomorrow_Hour".$h."_PVforecast<>".$pvfc." Wh";
|
||||||
@ -10338,6 +10333,10 @@ Ein/Ausschaltzeiten sowie deren Ausführung vom SolarForecast Modul übernehmen
|
|||||||
entsprechend der Abweichung passe den efficiency factor in Schritten an bis ein Optimum, d.h. die kleinste
|
entsprechend der Abweichung passe den efficiency factor in Schritten an bis ein Optimum, d.h. die kleinste
|
||||||
Tagesabweichung gefunden ist
|
Tagesabweichung gefunden ist
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
ist man der Auffassung die optimale Einstellung gefunden zu haben, kann vCorrectionFactor_Auto on gesetzt werden um
|
||||||
|
eine automatische Auswahl des optimalen Percentils zu aktivieren
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user