mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 01:14:19 +00:00
76_Solarforcast: contrib 0.71.2
git-svn-id: https://svn.fhem.de/fhem/trunk@26606 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2d944a08dc
commit
1231d595c5
@ -530,14 +530,14 @@ my %hqtxt = (
|
|||||||
DE => qq{Stand:} },
|
DE => qq{Stand:} },
|
||||||
wfmdcf => { EN => qq{Wait for more days with a consumption figure},
|
wfmdcf => { EN => qq{Wait for more days with a consumption figure},
|
||||||
DE => qq{Warte auf weitere Tage mit einer Verbrauchszahl} },
|
DE => qq{Warte auf weitere Tage mit einer Verbrauchszahl} },
|
||||||
autoct => { EN => qq{automatic correction:},
|
autoct => { EN => qq{Autocorrection:},
|
||||||
DE => qq{automatische Korrektur:} },
|
DE => qq{Autokorrektur:} },
|
||||||
plntck => { EN => qq{Plant Configurationcheck Information},
|
plntck => { EN => qq{Plant Configurationcheck Information},
|
||||||
DE => qq{Informationen zur Anlagenkonfigurationsprüfung} },
|
DE => qq{Informationen zur Anlagenkonfigurationsprüfung} },
|
||||||
lbpcq => { EN => qq{correction quality current hour:},
|
lbpcq => { EN => qq{Quality:},
|
||||||
DE => qq{Korrekturqualität akt. Stunde:} },
|
DE => qq{Qualität:} },
|
||||||
lblPvh => { EN => qq{next 4h:},
|
lblPvh => { EN => qq{next 4h:},
|
||||||
DE => qq{nächste 4h:} },
|
DE => qq{nächste 4h:} },
|
||||||
lblPRe => { EN => qq{remain today:},
|
lblPRe => { EN => qq{remain today:},
|
||||||
DE => qq{Rest heute:} },
|
DE => qq{Rest heute:} },
|
||||||
lblPTo => { EN => qq{tomorrow:},
|
lblPTo => { EN => qq{tomorrow:},
|
||||||
@ -575,6 +575,8 @@ my %htitles = (
|
|||||||
DE => qq{Ein -> Verbraucher ausschalten} },
|
DE => qq{Ein -> Verbraucher ausschalten} },
|
||||||
iens => { EN => qq{On -> no off-command defined!},
|
iens => { EN => qq{On -> no off-command defined!},
|
||||||
DE => qq{Ein -> kein off-Kommando definiert!} },
|
DE => qq{Ein -> kein off-Kommando definiert!} },
|
||||||
|
natc => { EN => qq{automatic cycle:},
|
||||||
|
DE => qq{automatischer Zyklus:} },
|
||||||
upd => { EN => qq{Click for update},
|
upd => { EN => qq{Click for update},
|
||||||
DE => qq{Klick für Update} },
|
DE => qq{Klick für Update} },
|
||||||
on => { EN => qq{switched on},
|
on => { EN => qq{switched on},
|
||||||
@ -2989,7 +2991,7 @@ sub centralTask {
|
|||||||
if($init_done == 1) {
|
if($init_done == 1) {
|
||||||
if(!$interval) {
|
if(!$interval) {
|
||||||
$hash->{MODE} = "Manual";
|
$hash->{MODE} = "Manual";
|
||||||
readingsSingleUpdate($hash, "nextCycletime", "Manual", 1);
|
readingsSingleUpdate($hash, 'nextCycletime', 'Manual', 1);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
my $new = gettimeofday()+$interval;
|
my $new = gettimeofday()+$interval;
|
||||||
@ -2997,7 +2999,7 @@ sub centralTask {
|
|||||||
|
|
||||||
if(!IsDisabled($name)) {
|
if(!IsDisabled($name)) {
|
||||||
$hash->{MODE} = "Automatic - next Cycletime: ".FmtTime($new);
|
$hash->{MODE} = "Automatic - next Cycletime: ".FmtTime($new);
|
||||||
readingsSingleUpdate($hash, "nextCycletime", FmtTime($new), 1);
|
readingsSingleUpdate($hash, 'nextCycletime', FmtTime($new), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6505,8 +6507,8 @@ sub _graphicHeader {
|
|||||||
|
|
||||||
my $lupt = $hqtxt{lupt}{$lang};
|
my $lupt = $hqtxt{lupt}{$lang};
|
||||||
my $autoct = $hqtxt{autoct}{$lang};
|
my $autoct = $hqtxt{autoct}{$lang};
|
||||||
my $lbpcq = encode("utf8", $hqtxt{lbpcq}{$lang});
|
my $lbpcq = $hqtxt{lbpcq}{$lang};
|
||||||
my $lblPv4h = encode("utf8", $hqtxt{lblPvh}{$lang});
|
my $lblPv4h = $hqtxt{lblPvh}{$lang};
|
||||||
my $lblPvRe = $hqtxt{lblPRe}{$lang};
|
my $lblPvRe = $hqtxt{lblPRe}{$lang};
|
||||||
my $lblPvTo = $hqtxt{lblPTo}{$lang};
|
my $lblPvTo = $hqtxt{lblPTo}{$lang};
|
||||||
my $lblPvCu = $hqtxt{lblPCu}{$lang};
|
my $lblPvCu = $hqtxt{lblPCu}{$lang};
|
||||||
@ -6585,8 +6587,9 @@ sub _graphicHeader {
|
|||||||
|
|
||||||
## Update-Icon
|
## Update-Icon
|
||||||
################
|
################
|
||||||
|
my $naup = ReadingsVal ($name, 'nextCycletime', '');
|
||||||
if ($upstate =~ /updated|successfully|switched/ix) {
|
if ($upstate =~ /updated|successfully|switched/ix) {
|
||||||
$img = FW_makeImage('10px-kreis-gruen.png', $htitles{upd}{$lang});
|
$img = FW_makeImage('10px-kreis-gruen.png', $htitles{upd}{$lang}.' ('.$htitles{natc}{$lang}.' '.$naup.')');
|
||||||
$upicon = "<a onClick=$cmdupdate>$img</a>";
|
$upicon = "<a onClick=$cmdupdate>$img</a>";
|
||||||
}
|
}
|
||||||
elsif ($upstate =~ /running/ix) {
|
elsif ($upstate =~ /running/ix) {
|
||||||
@ -6598,7 +6601,7 @@ sub _graphicHeader {
|
|||||||
$upicon = "<a>$img</a>";
|
$upicon = "<a>$img</a>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$img = FW_makeImage('10px-kreis-rot.png', $htitles{upd}{$lang});
|
$img = FW_makeImage('10px-kreis-rot.png', $htitles{upd}{$lang}.' ('.$htitles{natc}{$lang}.' '.$naup.')');
|
||||||
$upicon = "<a onClick=$cmdupdate>$img</a>";
|
$upicon = "<a onClick=$cmdupdate>$img</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6610,7 +6613,6 @@ sub _graphicHeader {
|
|||||||
}
|
}
|
||||||
elsif ($pcfa eq "off") {
|
elsif ($pcfa eq "off") {
|
||||||
$htitles{akorron}{$lang} =~ s/<NAME>/$name/xs;
|
$htitles{akorron}{$lang} =~ s/<NAME>/$name/xs;
|
||||||
#$acicon = "<a title='$htitles{akorron}{$lang}'</a>-";
|
|
||||||
$acicon = FW_makeImage('-', $htitles{akorron}{$lang});
|
$acicon = FW_makeImage('-', $htitles{akorron}{$lang});
|
||||||
}
|
}
|
||||||
elsif ($pcfa =~ /standby/ix) {
|
elsif ($pcfa =~ /standby/ix) {
|
||||||
@ -6652,8 +6654,8 @@ sub _graphicHeader {
|
|||||||
$header .= qq{</tr>};
|
$header .= qq{</tr>};
|
||||||
$header .= qq{<tr>};
|
$header .= qq{<tr>};
|
||||||
$header .= qq{<td colspan="3" align="left" $dstyle> </td>};
|
$header .= qq{<td colspan="3" align="left" $dstyle> </td>};
|
||||||
$header .= qq{<td colspan="3" align="left" $dstyle> $autoct $acicon </td>};
|
$header .= qq{<td colspan="3" align="left" $dstyle> $autoct $acicon $lbpcq $pcqicon </td>};
|
||||||
$header .= qq{<td colspan="3" align="left" $dstyle> $lbpcq $pcqicon </td>};
|
$header .= qq{<td colspan="3" align="left" $dstyle> </td>};
|
||||||
$header .= qq{</tr>};
|
$header .= qq{</tr>};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9199,7 +9201,7 @@ sub checkPlantConfig {
|
|||||||
if (!$eocr) {
|
if (!$eocr) {
|
||||||
$result->{'Common Settings'}{state} = $info;
|
$result->{'Common Settings'}{state} = $info;
|
||||||
$result->{'Common Settings'}{result} .= qq{Attribute 'event-on-change-reading' is not set. <br>};
|
$result->{'Common Settings'}{result} .= qq{Attribute 'event-on-change-reading' is not set. <br>};
|
||||||
$result->{'Common Settings'}{note} .= qq{Setting attribute 'event-on-change-reading' is recommended to improve the runtime performance.<br>};
|
$result->{'Common Settings'}{note} .= qq{Setting attribute 'event-on-change-reading = .*' is recommended to improve the runtime performance and avoid the 'connection lost' message.<br>};
|
||||||
$result->{'Common Settings'}{info} = 1;
|
$result->{'Common Settings'}{info} = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user