mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 16:05:19 +00:00
76_SolarForecast: contrib 0.82.2
git-svn-id: https://svn.fhem.de/fhem/trunk@27947 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c475603808
commit
9a026eefdc
@ -10171,7 +10171,7 @@ sub calcValueImproves {
|
||||
|
||||
_calcCaQcomplex ($paref); # Korrekturberechnung mit Bewölkung duchführen/speichern
|
||||
_calcCaQsimple ($paref); # einfache Korrekturberechnung duchführen/speichern
|
||||
_addHourAiInstance ($paref); # AI Instanz hinzufügen
|
||||
_addHourAiRawdata ($paref); # AI Instanz hinzufügen
|
||||
|
||||
delete $paref->{acu};
|
||||
|
||||
@ -10344,7 +10344,7 @@ return;
|
||||
################################################################
|
||||
# AI Instanz für die abgeschlossene Stunde hinzufügen
|
||||
################################################################
|
||||
sub _addHourAiInstance {
|
||||
sub _addHourAiRawdata {
|
||||
my $paref = shift;
|
||||
my $hash = $paref->{hash};
|
||||
my $name = $paref->{name};
|
||||
@ -10733,8 +10733,8 @@ sub aiGetResult { ## no critic "not used"
|
||||
return 'AI trained object is missed';
|
||||
}
|
||||
|
||||
my $rad1h = NexthoursVal ($hash, $nhidx, "rad1h", undef);
|
||||
return "no rad1h for hod: $hod" if(!$rad1h);
|
||||
my $rad1h = NexthoursVal ($hash, $nhidx, "rad1h", 0);
|
||||
return "no rad1h for hod: $hod" if($rad1h <= 0);
|
||||
|
||||
my $wcc = NexthoursVal ($hash, $nhidx, "cloudcover", 0);
|
||||
my $wrp = NexthoursVal ($hash, $nhidx, "rainprob", 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user