76_SolarForecast: V 1.59.3, minor fix in bat graphic
git-svn-id: https://svn.fhem.de/fhem/trunk@30374 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it
|
# Do not insert empty lines here, update check depends on it
|
||||||
|
- bugfix: 76_SolarForecast: V 1.59.3, minor fix in bat graphic
|
||||||
- change: 76_SolarForecast: minor fixes, optimal SoC consideration in SoC-FC
|
- change: 76_SolarForecast: minor fixes, optimal SoC consideration in SoC-FC
|
||||||
- change: 76_SolarForecast: adapt for new Chromium engine
|
- change: 76_SolarForecast: adapt for new Chromium engine
|
||||||
- bugfix: 72_FRITZBOX: guestWlan on|off bei mehr als zwei Kanälen
|
- bugfix: 72_FRITZBOX: guestWlan on|off bei mehr als zwei Kanälen
|
||||||
|
|||||||
@@ -160,6 +160,7 @@ BEGIN {
|
|||||||
|
|
||||||
# Versions History intern
|
# Versions History intern
|
||||||
my %vNotesIntern = (
|
my %vNotesIntern = (
|
||||||
|
"1.59.3" => "10.10.2025 ___batChargeSaveResults: fix writing 'rcdchargebatXX' ",
|
||||||
"1.59.2" => "09.10.2025 one more fix of color filling of svg icon ",
|
"1.59.2" => "09.10.2025 one more fix of color filling of svg icon ",
|
||||||
"1.59.1" => "08.10.2025 fixed transfer at day change, optimal SoC consideration in SoC forecast for optPower strategy ".
|
"1.59.1" => "08.10.2025 fixed transfer at day change, optimal SoC consideration in SoC forecast for optPower strategy ".
|
||||||
"__normIconInnerScale: add path color filling, Calculation of time-weighted consumption or PV generation ".
|
"__normIconInnerScale: add path color filling, Calculation of time-weighted consumption or PV generation ".
|
||||||
@@ -11946,7 +11947,7 @@ sub _batChargeMgmt {
|
|||||||
hod => $shod,
|
hod => $shod,
|
||||||
loopid => 'OTP',
|
loopid => 'OTP',
|
||||||
strategy => $hopt->{$shod}{$bat}{strategy},
|
strategy => $hopt->{$shod}{$bat}{strategy},
|
||||||
crel => 1,
|
crel => 1, # immer Freigabe bei optPower (für Anzeige)
|
||||||
};
|
};
|
||||||
|
|
||||||
___batChargeSaveResults ($paref, $values);
|
___batChargeSaveResults ($paref, $values);
|
||||||
@@ -12250,9 +12251,8 @@ sub ___batChargeSaveResults {
|
|||||||
## in Schleife 'loadRelease' setzen
|
## in Schleife 'loadRelease' setzen
|
||||||
#####################################
|
#####################################
|
||||||
if ($loopid eq 'LR') {
|
if ($loopid eq 'LR') {
|
||||||
$data{$name}{nexthours}{'NextHour'.$nhr}{'rcdchargebat'.$bn} = $crel;
|
$data{$name}{nexthours}{'NextHour'.$nhr}{'lcintimebat'.$bn} = $lcintime if($cgbt); # nur einmal bei 'loadRelease' setzen -> Ladesteuerung "In Time", "nicht In Time" oder nicht verwendet
|
||||||
$data{$name}{nexthours}{'NextHour'.$nhr}{'lcintimebat'.$bn} = $lcintime if($cgbt); # nur einmal bei 'loadRelease' setzen -> Ladesteuerung "In Time", "nicht In Time" oder nicht verwendet
|
$data{$name}{nexthours}{'NextHour'.$nhr}{'strategybat'.$bn} = $strategy;
|
||||||
$data{$name}{nexthours}{'NextHour'.$nhr}{'strategybat'.$bn} = $strategy;
|
|
||||||
|
|
||||||
if ($nhr eq '00') {
|
if ($nhr eq '00') {
|
||||||
storeReading ('Battery_ChargeUnrestricted_'.$bn, $crel);
|
storeReading ('Battery_ChargeUnrestricted_'.$bn, $crel);
|
||||||
@@ -12268,8 +12268,6 @@ sub ___batChargeSaveResults {
|
|||||||
## in Schleife 'optPower' setzen
|
## in Schleife 'optPower' setzen
|
||||||
##################################
|
##################################
|
||||||
if ($loopid eq 'OTP') {
|
if ($loopid eq 'OTP') {
|
||||||
$data{$name}{nexthours}{'NextHour'.$nhr}{'rcdchargebat'.$bn} = $crel; # immer Freigabe bei optPower (für Anzeige)
|
|
||||||
|
|
||||||
if ($nhr eq '00') { # Target für aktuelle Stunde
|
if ($nhr eq '00') { # Target für aktuelle Stunde
|
||||||
my $needmin = $otp->{$bn}{target} // 0;
|
my $needmin = $otp->{$bn}{target} // 0;
|
||||||
storeReading ('Battery_ChargeOptTargetPower_'.$bn, $needmin.' W');
|
storeReading ('Battery_ChargeOptTargetPower_'.$bn, $needmin.' W');
|
||||||
@@ -12279,6 +12277,8 @@ sub ___batChargeSaveResults {
|
|||||||
## abhängig von Strategie in entsprechender Schleife setzen
|
## abhängig von Strategie in entsprechender Schleife setzen
|
||||||
#############################################################
|
#############################################################
|
||||||
if (($loopid eq 'LR' && $strategy eq 'loadRelease') || ($loopid eq 'OTP' && $strategy eq 'optPower')) {
|
if (($loopid eq 'LR' && $strategy eq 'loadRelease') || ($loopid eq 'OTP' && $strategy eq 'optPower')) {
|
||||||
|
$data{$name}{nexthours}{'NextHour'.$nhr}{'rcdchargebat'.$bn} = $crel;
|
||||||
|
|
||||||
if ($today && $hod) {
|
if ($today && $hod) {
|
||||||
writeToHistory ( { paref => $paref, key => 'batprogsoc'.$bn, val => $progsoc, hour => $hod } );
|
writeToHistory ( { paref => $paref, key => 'batprogsoc'.$bn, val => $progsoc, hour => $hod } );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user