2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 14:46:24 +00:00

76_SolarForecast.pm: contrib 0.24.0

git-svn-id: https://svn.fhem.de/fhem/trunk@24093 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2021-03-26 17:50:31 +00:00
parent 06c4d9d3a0
commit 21e79dd278

View File

@ -341,8 +341,6 @@ my $cloud_base = 0;
my $rdampdef = 20; # Dämpfung (%) des Korrekturfaktors bzgl. Niederschlag (R101) my $rdampdef = 20; # Dämpfung (%) des Korrekturfaktors bzgl. Niederschlag (R101)
my $rain_base = 0; # Fußpunktverschiebung bzgl. effektiver Bewölkung my $rain_base = 0; # Fußpunktverschiebung bzgl. effektiver Bewölkung
my @consdays = qw(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30); # Auswahl Anzahl Tage für Attr numHistDays
# Information zu verwendeten internen Datenhashes # Information zu verwendeten internen Datenhashes
# $data{$type}{$name}{circular} # Ringspeicher # $data{$type}{$name}{circular} # Ringspeicher
# $data{$type}{$name}{current} # current values # $data{$type}{$name}{current} # current values
@ -357,7 +355,6 @@ sub Initialize {
my ($hash) = @_; my ($hash) = @_;
my $fwd = join ",", devspec2array("TYPE=FHEMWEB:FILTER=STATE=Initialized"); my $fwd = join ",", devspec2array("TYPE=FHEMWEB:FILTER=STATE=Initialized");
my $cda = join ",", @consdays;
$hash->{DefFn} = \&Define; $hash->{DefFn} = \&Define;
$hash->{UndefFn} = \&Undef; $hash->{UndefFn} = \&Undef;
@ -395,7 +392,7 @@ sub Initialize {
"layoutType:single,double,diff ". "layoutType:single,double,diff ".
"maxVariancePerDay ". "maxVariancePerDay ".
"maxPV ". "maxPV ".
"numHistDays:$cda ". "numHistDays:slider,1,1,30 ".
"rainFactorDamping:slider,0,1,100 ". "rainFactorDamping:slider,0,1,100 ".
"showDiff:no,top,bottom ". "showDiff:no,top,bottom ".
"showHeader:1,0 ". "showHeader:1,0 ".