From ba54f0cfdb6845298e850c35d0ab4d3fee8f6d01 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Mon, 4 Nov 2024 10:38:34 +0100 Subject: [PATCH] =?UTF-8?q?zur=C3=BCck=20auf=200.53?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Belevo_Server_Kommunikation/module.php | 11 ++++------- library.json | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index 1ca7c02..454e6a4 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -116,9 +116,6 @@ $data = [ //"G_SK_5M_3" => $this->GetValue("G_SK_5M_3"), //"G_SK_5M_4" => $this->GetValue("G_SK_5M_4"), "E_PNB_5M_0" => $netzbezug - ], - "Tags" => [ - "id" => "test" ] ]; @@ -157,23 +154,23 @@ return $json; */ - +/* $options = [ 'http' => [ 'header' => "Content-Type: application/json\r\n", 'method' => 'POST', 'content' => $json ], -]; +];*/ - /* $options = [ + $options = [ 'http' => [ 'header' => "daten: " . $json . "\r\n". "id: test\r\n", 'method' => 'POST', ], - ];*/ + ]; IPS_LogMessage("Belevo_Server_Kommunikation", "Options: " . print_r($options, true)); $context = stream_context_create($options); diff --git a/library.json b/library.json index efd0cb6..c5fbe72 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.54", + "version": "0.55", "build": 0, "date": 0 } \ No newline at end of file