Server Kommunikation
Alles Influxpunkte, bis auf Netzbezug, ausgeklammert
This commit is contained in:
@@ -12,7 +12,7 @@ class Belevo_Server_Kommunikation extends IPSModule
|
|||||||
//Netzbezug
|
//Netzbezug
|
||||||
$this->RegisterPropertyFloat("E_PNB_5M_0", 0);
|
$this->RegisterPropertyFloat("E_PNB_5M_0", 0);
|
||||||
$this->RegisterVariableFloat("Netzbezug", "Netzbezug", "",0);
|
$this->RegisterVariableFloat("Netzbezug", "Netzbezug", "",0);
|
||||||
//Boilerstatus
|
/*//Boilerstatus
|
||||||
$this->RegisterPropertyInteger("G_BS_5M_0", 0);
|
$this->RegisterPropertyInteger("G_BS_5M_0", 0);
|
||||||
$this->RegisterVariableInteger("Boilerstatus", 0);
|
$this->RegisterVariableInteger("Boilerstatus", 0);
|
||||||
//Boilertemperatur
|
//Boilertemperatur
|
||||||
@@ -37,7 +37,7 @@ class Belevo_Server_Kommunikation extends IPSModule
|
|||||||
//Aussentemperatur
|
//Aussentemperatur
|
||||||
$this->RegisterPropertyFloat("G_AT_5M_0",0);
|
$this->RegisterPropertyFloat("G_AT_5M_0",0);
|
||||||
$this->RegisterVariableInteger("Aussentemperatur", 0);
|
$this->RegisterVariableInteger("Aussentemperatur", 0);
|
||||||
|
*/
|
||||||
$this->RegisterPropertyString("BaseURL","https://brain.belevo.ch/status?nr=");
|
$this->RegisterPropertyString("BaseURL","https://brain.belevo.ch/status?nr=");
|
||||||
$this->RegisterPropertyString("Anlagenummer",0);
|
$this->RegisterPropertyString("Anlagenummer",0);
|
||||||
$this->RegisterPropertyBoolean("InfluxJaNein", false);
|
$this->RegisterPropertyBoolean("InfluxJaNein", false);
|
||||||
@@ -91,7 +91,7 @@ class Belevo_Server_Kommunikation extends IPSModule
|
|||||||
|
|
||||||
|
|
||||||
public function MakeJson() {
|
public function MakeJson() {
|
||||||
|
/*
|
||||||
$boilertemperatur = $this->GetValue("Boilertemperatur");
|
$boilertemperatur = $this->GetValue("Boilertemperatur");
|
||||||
$this->SetValue("G_BT_5M_0", $boilertemperatur);
|
$this->SetValue("G_BT_5M_0", $boilertemperatur);
|
||||||
|
|
||||||
@@ -100,15 +100,15 @@ $this->SetValue("G_SK_5M_3", $kontaktTeillast);
|
|||||||
|
|
||||||
$kontaktVolllast = $this->GetValue("Kontakt_Volllast");
|
$kontaktVolllast = $this->GetValue("Kontakt_Volllast");
|
||||||
$this->SetValue("G_SK_5M_4", $kontaktVolllast);
|
$this->SetValue("G_SK_5M_4", $kontaktVolllast);
|
||||||
|
*/
|
||||||
$netzbezug = $this->GetValue("Netzbezug");
|
$netzbezug = $this->GetValue("Netzbezug");
|
||||||
$this->SetValue("E_PNB_5M_0", $netzbezug);
|
$this->SetValue("E_PNB_5M_0", $netzbezug);
|
||||||
|
|
||||||
// Werte in ein Array packen
|
// Werte in ein Array packen
|
||||||
$data = [
|
$data = [
|
||||||
"G_BT_5M_0" => $this->GetValue("G_BT_5M_0"),
|
//"G_BT_5M_0" => $this->GetValue("G_BT_5M_0"),
|
||||||
"G_SK_5M_3" => $this->GetValue("G_SK_5M_3"),
|
//"G_SK_5M_3" => $this->GetValue("G_SK_5M_3"),
|
||||||
"G_SK_5M_4" => $this->GetValue("G_SK_5M_4"),
|
//"G_SK_5M_4" => $this->GetValue("G_SK_5M_4"),
|
||||||
"E_PNB_5M_0" => $this->GetValue("E_PNB_5M_0"),
|
"E_PNB_5M_0" => $this->GetValue("E_PNB_5M_0"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.29",
|
"version": "0.30",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user