From ac9f64b0af7f120de598bb47ef3c303f41fb1448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 6 Jan 2025 13:36:04 +0100 Subject: [PATCH] =?UTF-8?q?l=C3=B6ogging=20f=C3=BCr=20fehler=20smart=20me?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ladestation_Universal/module.php | 9 +++++++-- library.json | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index cc2bcaf..7ece5aa 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -405,8 +405,13 @@ class Ladestation_Universal extends IPSModule return; } - elseif($this->ReadPropertyInteger("Ladestation")==3){ - $url2 = $baseUrl . $value*1000; + elseif($this->ReadPropertyInteger("Ladestation")==3){ + IPS_LogMessage("value", "value ist " . $value); + + $value2 = $value * 1000; + IPS_LogMessage("value", "value2 ist " . $value2); + + $url2 = $baseUrl . $value2; IPS_LogMessage("Ladestation", "Aufgerufene ip" . $url2); curl_setopt($ch, CURLOPT_URL, $url2); diff --git a/library.json b/library.json index da99b88..a729899 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.258", + "version": "0.259", "build": 0, "date": 0