logging
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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"];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.210",
|
||||
"version": "0.211",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user