diff --git a/Batterie/module.php b/Batterie/module.php index e74cf1b..ada48f3 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -123,6 +123,9 @@ class Batterie extends IPSModule private function GeneratePowerSteps($additionalValue) { + IPS_LogMessage("Batterie", "RAW Max=" . $maxleistung_raw . " RAW Nach=" . $nachladen_raw . " additional=" . $additionalValue); + + IPS_LogMessage("Batterie", "Rounded Max=" . $maxleistung . " Min=" . $minleistung); $maxleistung_raw = GetValue($this->ReadPropertyInteger("MaxBatterieleistung")); $nachladen_raw = GetValue($this->ReadPropertyInteger("MaxNachladen")); @@ -187,7 +190,7 @@ private function GeneratePowerSteps($additionalValue) sort($array_powersteps, SORT_NUMERIC); return $array_powersteps; -} +} // Ende Array Steps