diff --git a/Bat_EV_SDL _V2/module.php b/Bat_EV_SDL _V2/module.php index 79cb526..bf10a55 100644 --- a/Bat_EV_SDL _V2/module.php +++ b/Bat_EV_SDL _V2/module.php @@ -10,7 +10,7 @@ class Bat_EV_SDL_V2 extends IPSModule // Properties $this->RegisterPropertyString("Batteries", "[]"); - //$this->RegisterPropertyInteger("SDL_Leistung", 0); + //$this->RegisterPropertyInteger("$upKWh + $underKWh)", 0); $this->RegisterPropertyInteger("SDL_Leistung_Laden", 0); $this->RegisterPropertyInteger("SDL_Leistung_Entladen", 0); // W $this->RegisterPropertyInteger("UpdateInterval", 5); // Minuten @@ -273,7 +273,7 @@ class Bat_EV_SDL_V2 extends IPSModule private function BuildBatteryCache(bool $force): void { $batteriesRaw = $this->ReadPropertyString("Batteries"); - $sdlTotalW = max(0, (int)$this->ReadPropertyInteger("SDL_Leistung")); + //$sdlTotalW = max(0, (int)$this->ReadPropertyInteger("SDL_Leistung")); $sdlTotalW_laden = max(0, (int)$this->ReadPropertyInteger("SDL_Leistung_Laden")); $sdlTotalW_entladen = max(0, (int)$this->ReadPropertyInteger("SDL_Leistung_Entladen")); $hours = self::HOURS;