zurück auf 0.57
This commit is contained in:
@@ -130,7 +130,7 @@ return $json;
|
|||||||
|
|
||||||
private function SendJsonToInfluxDB($url, $json)
|
private function SendJsonToInfluxDB($url, $json)
|
||||||
{
|
{
|
||||||
$token = "Token iFNTONC5UvST8GT5itWqxiO6m4O1yHt5hus54J8eqotk5IZiq0Wjd0_Xi6dozmo32QR3esJqk6hJAvJ8X2SxtQ==";
|
// $token = "Token iFNTONC5UvST8GT5itWqxiO6m4O1yHt5hus54J8eqotk5IZiq0Wjd0_Xi6dozmo32QR3esJqk6hJAvJ8X2SxtQ==";
|
||||||
/*
|
/*
|
||||||
if (empty($token)) {
|
if (empty($token)) {
|
||||||
IPS_LogMessage("Belevo_Server_Kommunikation", "InfluxDB-Token fehlt->SendJsonToInfluxDB");
|
IPS_LogMessage("Belevo_Server_Kommunikation", "InfluxDB-Token fehlt->SendJsonToInfluxDB");
|
||||||
@@ -166,7 +166,6 @@ return $json;
|
|||||||
$options = [
|
$options = [
|
||||||
'http' => [
|
'http' => [
|
||||||
'header' => "Content-Type: application/json\r\n".
|
'header' => "Content-Type: application/json\r\n".
|
||||||
"Authorization: Bearer $token".
|
|
||||||
"id: test\r\n",
|
"id: test\r\n",
|
||||||
'method' => 'POST',
|
'method' => 'POST',
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.58",
|
"version": "0.59",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user