diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 733be98..12d64f0 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -333,7 +333,7 @@ class Ladestation_v2 extends IPSModule // Benutzer eCarUp abfragen $authToken = GetValue($this->ReadPropertyInteger("Token_ECarUp")); - $ID = $this->ReadPropertyInteger("ID"); + $ID = $this->ReadPropertyString("ID"); $apiUrl = 'https://public-api.ecarup.com/v1/station/' . $ID . '/conn'.'ectors/'. $ID . '/active-charging'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $apiUrl);