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)) {