no message
This commit is contained in:
@@ -492,7 +492,7 @@ class Bat_EV_SDL_V4 extends IPSModule
|
||||
$eSDL = ($sdlTotal > 0.0) ? $sdlTotal * $lastSdlPct / 100.0 : 0.0;
|
||||
$eEV = ($evTotal > 0.0) ? $evTotal * $lastEvPct / 100.0 : 0.0;
|
||||
|
||||
$this->MaybeRecalculateEVFromPhysical($plan, $eSDL, $eEV, $sdlTotal, $evTotal);
|
||||
|
||||
$this->SetBuffer("Int_E_SDL_kWh", (string)$eSDL);
|
||||
$this->SetBuffer("Int_E_EV_kWh", (string)$eEV);
|
||||
$this->SetBuffer("Int_LastTs", (string)$now);
|
||||
@@ -521,7 +521,8 @@ class Bat_EV_SDL_V4 extends IPSModule
|
||||
$eSDL = ($sdlTotal > 0.0) ? max(0.0, min($sdlTotal, $eSDL)) : 0.0;
|
||||
$eEV = ($evTotal > 0.0) ? max(0.0, min($evTotal, $eEV)) : 0.0;
|
||||
|
||||
|
||||
// EV alle X Stunden anhand realem SoC nachkalibrieren
|
||||
$this->MaybeRecalculateEVFromPhysical($plan, $eSDL, $eEV, $sdlTotal, $evTotal);
|
||||
|
||||
$this->SetBuffer("Int_E_SDL_kWh", (string)$eSDL);
|
||||
$this->SetBuffer("Int_E_EV_kWh", (string)$eEV);
|
||||
|
||||
Reference in New Issue
Block a user