mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-04 17:08:43 +00:00
76_SolarForecast: fix batteryPreferredCharge consideration
git-svn-id: https://svn.fhem.de/fhem/trunk@29787 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
09bba15aad
commit
657d9df7bd
@ -1,5 +1,6 @@
|
||||
# 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
|
||||
- bugfix: 76_SolarForecast: fix batteryPreferredCharge consideration
|
||||
- feature: 76_SolarForecast: Major Release 1.49.0
|
||||
(see https://forum.fhem.de/index.php?msg=1337341)
|
||||
- change: 36_Shelly: some log-levels
|
||||
|
@ -160,6 +160,7 @@ BEGIN {
|
||||
|
||||
# Versions History intern
|
||||
my %vNotesIntern = (
|
||||
"1.49.1" => "25.03.2025 fix batteryPreferredCharge: https://forum.fhem.de/index.php?msg=1337802 ",
|
||||
"1.49.0" => "23.03.2025 _listDataPoolApiData: fix warning item1, new option OpenMeteoDWD_D2-API with preparation for satellite support ".
|
||||
"add Attr graphicBeamHeightLevel3, Compatibility of Rad1h data between DWD and OpenMeteo established ".
|
||||
"set reset aiData deletes raw data also, _transferAPIRadiationValues: AI PV estimate limited to inverter capacity summary ".
|
||||
@ -12446,7 +12447,7 @@ sub ___enableSwitchByBatPrioCharge {
|
||||
my $c = $paref->{consumer};
|
||||
|
||||
my $ena = 1;
|
||||
my $pcb = CurrentVal ($name, 'affectBatteryPreferredCharge', 0); # Vorrangladung Batterie zu X%
|
||||
my $pcb = CurrentVal ($name, 'batteryPreferredCharge', 0); # Vorrangladung Batterie zu X%
|
||||
my ($badev) = isBatteryUsed ($name);
|
||||
|
||||
return $ena if(!$pcb || !$badev); # Freigabe Schalten Consumer wenn kein Prefered Battery/Soll-Ladung 0 oder keine Batterie installiert
|
||||
|
Loading…
x
Reference in New Issue
Block a user