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