From 5b6f236abb0b69f88b6d4e29cf29bda6e4c89353 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Mon, 11 May 2026 07:54:30 +0200 Subject: [PATCH] no message --- Bat_EV_SDL_V4/module.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Bat_EV_SDL_V4/module.php b/Bat_EV_SDL_V4/module.php index 4230d2b..bc89f65 100644 --- a/Bat_EV_SDL_V4/module.php +++ b/Bat_EV_SDL_V4/module.php @@ -101,7 +101,7 @@ class Bat_EV_SDL_V4 extends IPSModule $semKey = 'BatEVSDL_Update_' . $this->InstanceID; if (!IPS_SemaphoreEnter($semKey, 5000)) { - $this->SendDebug("Update", "SKIP - Semaphore locked", 0); + //$this->SendDebug("Update", "SKIP - Semaphore locked", 0); return; } @@ -216,7 +216,7 @@ class Bat_EV_SDL_V4 extends IPSModule if ($sumBatPowerW <= 0.0) { $this->SetBuffer("BatPlanHash", $hash); $this->SetBuffer("BatPlanJSON", json_encode($plan)); - $this->SendDebug("Plan", "sumBatPowerW=0 -> empty plan", 0); + //$this->SendDebug("Plan", "sumBatPowerW=0 -> empty plan", 0); return; } @@ -340,7 +340,7 @@ class Bat_EV_SDL_V4 extends IPSModule $this->SetIdentValue("SDL_Start_Pos", round((float)$this->ReadPropertyFloat("SDL_Start_Pos_Config"), 3)); $this->SetIdentValue("EV_Start_Pos", round((float)$this->ReadPropertyFloat("EV_Start_Pos_Config"), 3)); - $this->SendDebug("Plan", "Battery plan rebuilt (" . count($plan["bats"]) . " bats)", 0); + //$this->SendDebug("Plan", "Battery plan rebuilt (" . count($plan["bats"]) . " bats)", 0); } private function InitVirtualAccountsIfNeeded(): void @@ -709,13 +709,13 @@ class Bat_EV_SDL_V4 extends IPSModule $dischargeW = max(0.0, (float)($d["dischargeW"] ?? 0.0)); if ($chargeW > 0.0 && $dischargeW > 0.0) { - $this->SendDebug("WriteBatteryPowerSetpoints", "WARN both >0 for $typ idx=$idx", 0); + //$this->SendDebug("WriteBatteryPowerSetpoints", "WARN both >0 for $typ idx=$idx", 0); $chargeW = 0.0; $dischargeW = 0.0; } $this->WriteByVendorRegistersSingleMode($typ, $cfg, $chargeW, $dischargeW); - $this->SendDebug("Setpoints", "$typ idx=$idx charge={$chargeW}W discharge={$dischargeW}W", 0); + //$this->SendDebug("Setpoints", "$typ idx=$idx charge={$chargeW}W discharge={$dischargeW}W", 0); } } @@ -967,7 +967,7 @@ class Bat_EV_SDL_V4 extends IPSModule { $id = @$this->GetIDForIdent($ident); if ($id <= 0) { - $this->SendDebug(__FUNCTION__, "Ident nicht gefunden: $ident", 0); + //$this->SendDebug(__FUNCTION__, "Ident nicht gefunden: $ident", 0); return; } SetValue($id, $value);