$result = file_get_contents($url, false, $context); auskommentiert

This commit is contained in:
mh
2024-10-16 09:03:07 +02:00
parent 89bcf399bf
commit e704592c03
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -155,6 +155,7 @@ return $json;
], ],
]; ];
$context = stream_context_create($options); $context = stream_context_create($options);
/*
$result = file_get_contents($url, false, $context); $result = file_get_contents($url, false, $context);
if ($result === FALSE) { if ($result === FALSE) {
@@ -162,7 +163,7 @@ return $json;
IPS_LogMessage("Belevo_Server_Kommunikation", "Fehler beim senden an Influx->SendJsonToInfluxDB()"); IPS_LogMessage("Belevo_Server_Kommunikation", "Fehler beim senden an Influx->SendJsonToInfluxDB()");
} else { } else {
IPS_LogMessage("Belevo_Server_Kommunikation", "Daten erfolgreich an Influx gesendet->SendJsonToInfluxDB()"); IPS_LogMessage("Belevo_Server_Kommunikation", "Daten erfolgreich an Influx gesendet->SendJsonToInfluxDB()");
} }*/
} }
+1 -1
View File
@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "0.41", "version": "0.42",
"build": 0, "build": 0,
"date": 0 "date": 0
} }