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