mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
76_SolarForecast: contrib 1.42.0
git-svn-id: https://svn.fhem.de/fhem/trunk@29481 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
07d20ae4f8
commit
5f16efb471
@ -14885,7 +14885,7 @@ sub __batRcmdOnBeam {
|
||||
$ret .= "<tr class='$htr{$m}{cl}'><td class='solarfc'></td>"; # freier Platz am Anfang
|
||||
|
||||
for my $i (0..($maxhours * 2) - 1) {
|
||||
if (!$show_night && !$hfcg->{$i}{beam1} && !$hfcg->{$i}{beam2}) {
|
||||
if (!$show_night && $hfcg->{$i}{weather} > 99 && !$hfcg->{$i}{beam1} && !$hfcg->{$i}{beam2}) {
|
||||
debugLog ($paref, 'graphic', "Battery $bn recommandation pos >$i< skipped due to don't show night condition") if($ii < $maxhours);
|
||||
next;
|
||||
};
|
||||
@ -14919,15 +14919,16 @@ sub __batRcmdOnBeam {
|
||||
debugLog ($paref, 'graphic', "Battery $bn pos >$i< day: $day_str, time: $time_str, Power ('-' = out): $bpower W, Rcmd: ".(defined $hfcg->{$i}{'rcdchargebat'.$bn} ? $hfcg->{$i}{'rcdchargebat'.$bn} : '-'));
|
||||
|
||||
$status = $status ? "Status: $status" : '';
|
||||
my ($image, $title) = !defined $hfcg->{$i}{'rcdchargebat'.$bn} ? ('','') :
|
||||
$hfcg->{$i}{'rcdchargebat'.$bn} ? (FW_makeImage ($bicon,''), $htitles{bcharrcd}{$lang}) :
|
||||
('', $htitles{bncharcd}{$lang});
|
||||
|
||||
$ret .= "<td title='$balias\n$title\n$status' class='solarfc' width='$width' style='margin:1px; vertical-align:middle align:center; padding-bottom:1px;'>$image</td>";
|
||||
}
|
||||
my ($image, $title) = !defined $hfcg->{$i}{'rcdchargebat'.$bn} ? ('','') :
|
||||
$hfcg->{$i}{'rcdchargebat'.$bn} ? (FW_makeImage ($bicon,''), $balias.'\n'.$htitles{bcharrcd}{$lang}) :
|
||||
('', $balias.'\n'.$htitles{bncharcd}{$lang});
|
||||
|
||||
$ret .= "<td title='$title\n$status' class='solarfc' width='$width' style='margin:1px; vertical-align:middle align:center; padding-bottom:1px;'>$image</td>";
|
||||
}
|
||||
|
||||
$ret .= "<td class='solarfc'></td></tr>" if($ret); # freier Platz am Ende der Icon Zeile
|
||||
}
|
||||
|
||||
return $ret;
|
||||
}
|
||||
@ -22809,10 +22810,10 @@ to ensure that the system configuration is correct.
|
||||
<tr><td> <b>charge</b> </td><td>Reading which provides the current state of charge (SOC in percent) (optional) </td></tr>
|
||||
<tr><td> <b>Unit</b> </td><td>the respective unit (W,Wh,kW,kWh) </td></tr>
|
||||
<tr><td> </td><td> </td></tr>
|
||||
<tr><td> <b>icon</b> </td><td>Icon for displaying the battery in the bar chart (optional) </td></tr>
|
||||
<tr><td> </td><td><b><inactive></b> - Icon and possibly colour during inactivity (no charging or discharging) </td></tr>
|
||||
<tr><td> </td><td><b><charge></b> - Icon and possibly colour when the battery is charging </td></tr>
|
||||
<tr><td> </td><td><b><discharge></b> - Icon and possibly colour when the battery is discharged </td></tr>
|
||||
<tr><td> <b>icon</b> </td><td>Icon and, if applicable, colour for displaying the battery in the bar chart (optional) </td></tr>
|
||||
<tr><td> </td><td><b><inactive></b> - Charging is recommended but inactive (no charging or discharging) </td></tr>
|
||||
<tr><td> </td><td><b><charge></b> - the battery is currently being charged </td></tr>
|
||||
<tr><td> </td><td><b><discharge></b> - the battery is currently being discharged </td></tr>
|
||||
<tr><td> </td><td> </td></tr>
|
||||
<tr><td> <b>show</b> </td><td>Control of the battery display in the bar graph (optional) </td></tr>
|
||||
<tr><td> </td><td><b>0</b> - no display of the device (default) </td></tr>
|
||||
@ -25275,10 +25276,10 @@ die ordnungsgemäße Anlagenkonfiguration geprüft werden.
|
||||
<tr><td> <b>charge</b> </td><td>Reading welches den aktuellen Ladezustand (SOC in Prozent) liefert (optional) </td></tr>
|
||||
<tr><td> <b>Einheit</b> </td><td>die jeweilige Einheit (W,Wh,kW,kWh) </td></tr>
|
||||
<tr><td> </td><td> </td></tr>
|
||||
<tr><td> <b>icon</b> </td><td>Icon zur Darstellung der Batterie in der Balkengrafik (optional) </td></tr>
|
||||
<tr><td> </td><td><b><inaktiv></b> - Icon und ggf. Farbe bei Inaktivität (kein Aufladen oder Entladen) </td></tr>
|
||||
<tr><td> </td><td><b><aufladen></b> - Icon und ggf. Farbe wenn die Batterie aufgeladen wird </td></tr>
|
||||
<tr><td> </td><td><b><entladen></b> - Icon und ggf. Farbe wenn die Batterie entladen wird </td></tr>
|
||||
<tr><td> <b>icon</b> </td><td>Icon und ggf. Farbe zur Darstellung der Batterie in der Balkengrafik (optional) </td></tr>
|
||||
<tr><td> </td><td><b><inaktiv></b> - die Aufladung ist empfohlen aber inaktiv (kein Aufladen oder Entladen) </td></tr>
|
||||
<tr><td> </td><td><b><aufladen></b> - die Batterie wird aktuell aufgeladen </td></tr>
|
||||
<tr><td> </td><td><b><entladen></b> - die Batterie wird aktuell entladen </td></tr>
|
||||
<tr><td> </td><td> </td></tr>
|
||||
<tr><td> <b>show</b> </td><td>Steuerung der Anzeige der Batterie in der Balkengrafik (optional) </td></tr>
|
||||
<tr><td> </td><td><b>0</b> - keine Anzeige des Gerätes (default) </td></tr>
|
||||
|
Loading…
Reference in New Issue
Block a user