From 584009aee60f4e502386df9e49f479fd7a9f5985 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Mon, 18 May 2026 07:17:25 +0200 Subject: [PATCH] no message --- Bat_EV_SDL_V4/module.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Bat_EV_SDL_V4/module.php b/Bat_EV_SDL_V4/module.php index fef5702..085159d 100644 --- a/Bat_EV_SDL_V4/module.php +++ b/Bat_EV_SDL_V4/module.php @@ -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);