This commit is contained in:
2024-12-19 13:17:39 +01:00
parent 9b4a5e732c
commit ba76b3266c
3 changed files with 3 additions and 4 deletions

View File

@@ -413,7 +413,7 @@ class Ladestation_Universal extends IPSModule
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));
$response2 = curl_exec($ch);
IPS_LogMessage("Ladestation", "Antwort" . print_r($response2));
IPS_LogMessage("Ladestation", "Antwort" . ($curl_getinfo($ch, CURLINFO_HTTP_CODE)));
// Check for errors
if (curl_errno($ch)) {

View File

@@ -189,8 +189,7 @@ class Manager extends IPSModule
$instanceID = $entry["InstanceID"];
$minPowerStep = min($entry["PowerSteps"]);
IPS_RequestAction($instanceID,"SetAktuelle_Leistung",$minPowerStep
);
IPS_RequestAction($instanceID,"SetAktuelle_Leistung",$minPowerStep);
$remainingPower -= $entry["Aktuelle_Leistung"];
}
}

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.210",
"version": "0.211",
"build": 0,
"date": 0
}