diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index e272a2c..ccdaadf 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -364,7 +364,9 @@ class Ladestation_v2 extends IPSModule curl_setopt($ch2, CURLOPT_URL, $url2); curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true); $response_easee = curl_exec($ch2); - curl_close($ch2); + curl_close($ch2); + + IPS_LogMessage("Easee", print_r($response_easee)); if ($response === false || $response_easee === false) { IPS_LogMessage("Ladestation", "Fehler beim Abrufen der API-Daten"); @@ -377,7 +379,6 @@ class Ladestation_v2 extends IPSModule IPS_LogMessage("Ladestation", "Fehler beim Dekodieren der JSON-Antwort"); return; } - IPS_LogMessage("Easee", print_r($easee_data)); if (isset($data['driverIdentifier']) && ($data['driverIdentifier']==$this->ReadPropertyString("Username"))) { if(isset($easee_data['totalPower'])){