From 6c88777df58ea1c6e1df43f08119cdc7e35e6b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Thu, 19 Dec 2024 14:05:25 +0100 Subject: [PATCH] =?UTF-8?q?Post=20auch=20f=C3=BCr=20zweiten=20api=20befehl?= =?UTF-8?q?=20eingesetzt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ladestation_Universal/module.php | 2 +- library.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index 856bab6..3490a0d 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -325,7 +325,7 @@ class Ladestation_Universal extends IPSModule }elseif($this->ReadPropertyInteger("Ladestation")==3){ $url = $baseUrl . "0"; curl_setopt($ch, CURLOPT_URL, $url); - + curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password")); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); diff --git a/library.json b/library.json index 37a45ed..aa46d87 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.214", + "version": "0.215", "build": 0, "date": 0 } \ No newline at end of file