netzbezug hinzugefügt

This commit is contained in:
belevo\mh
2024-11-05 07:42:53 +01:00
parent 33db7cd88b
commit d763c5aeb4
2 changed files with 3 additions and 2 deletions

View File

@@ -96,7 +96,8 @@ class Belevo_Server_Kommunikation extends IPSModule
public function GetAction() { public function GetAction() {
$url = "http://192.168.20.140:5000/influx?id=test&E_PNB_5M_0=1000"; $netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug"));
$url = "http://192.168.20.140:5000/influx?id=test&E_PNB_5M_0=".$netzbezug;
IPS_LogMessage("Belevo_Server_Kommunikation", "Sende Anfrage an URL: ".$url); IPS_LogMessage("Belevo_Server_Kommunikation", "Sende Anfrage an URL: ".$url);
$this->SendJsonToInfluxDB($url); $this->SendJsonToInfluxDB($url);
} }

View File

@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "0.64", "version": "0.65",
"build": 0, "build": 0,
"date": 0 "date": 0
} }