From 792e293da045e85180b4c4c7b162959d51e7db6b Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Wed, 16 Oct 2024 14:06:26 +0200 Subject: [PATCH] measurment zu _measurmant fields zu _field wie im Influx --- Belevo_Server_Kommunikation/module.php | 4 ++-- library.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index ea2355b..21e46f0 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -108,8 +108,8 @@ $netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug")); // Werte in ein Array packen $data = [ - "measurement" => $this->ReadPropertyString("Anlagenummer"), - "fields" =>[ + "_measurement" => $this->ReadPropertyString("Anlagenummer"), + "_field" =>[ //"G_BT_5M_0" => $this->GetValue("G_BT_5M_0"), //"G_SK_5M_3" => $this->GetValue("G_SK_5M_3"), //"G_SK_5M_4" => $this->GetValue("G_SK_5M_4"), diff --git a/library.json b/library.json index 833732f..3bd2bea 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.48", + "version": "0.49", "build": 0, "date": 0 } \ No newline at end of file