-
This commit is contained in:
+4
-4
@@ -11,11 +11,11 @@ class Batterie extends IPSModule
|
|||||||
$this->RegisterPropertyInteger("Batteriespannung", 50);
|
$this->RegisterPropertyInteger("Batteriespannung", 50);
|
||||||
$this->RegisterPropertyInteger("AufdasNachladen",0);
|
$this->RegisterPropertyInteger("AufdasNachladen",0);
|
||||||
$this->RegisterPropertyInteger("MinimumEntladen",0);
|
$this->RegisterPropertyInteger("MinimumEntladen",0);
|
||||||
$this->RegisterPropertyInteger("Entladestrom",0);
|
|
||||||
$this->RegisterPropertyInteger("Ladestrom",0);
|
|
||||||
$this->RegisterPropertyInteger("Batterieladezustand",0);
|
$this->RegisterPropertyInteger("Batterieladezustand",0);
|
||||||
|
|
||||||
// Variabeln für Kommunkation mit Manager
|
// Variabeln für Kommunkation mit Manager
|
||||||
|
$this->RegisterVariableInteger("Ladestrom", "Ladestrom", "", 0);
|
||||||
|
$this->RegisterVariableInteger("Entladestrom", "Entladestrom", "", 0);
|
||||||
$this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0);
|
$this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0);
|
||||||
$this->RegisterVariableString("PowerSteps", "PowerSteps");
|
$this->RegisterVariableString("PowerSteps", "PowerSteps");
|
||||||
$this->RegisterVariableBoolean("Idle", "Idle", "", 0);
|
$this->RegisterVariableBoolean("Idle", "Idle", "", 0);
|
||||||
@@ -68,8 +68,8 @@ class Batterie extends IPSModule
|
|||||||
{
|
{
|
||||||
// Batterie-spezifische Eigenschaften abrufen
|
// Batterie-spezifische Eigenschaften abrufen
|
||||||
$spannung = $this->ReadPropertyInteger("Batteriespannung");
|
$spannung = $this->ReadPropertyInteger("Batteriespannung");
|
||||||
$entladestrom = $this->ReadPropertyInteger("Entladestrom");
|
$entladestrom = $this->ReadVariableInteger("Entladestrom");
|
||||||
$ladestrom = $this->ReadPropertyInteger("Ladestrom");
|
$ladestrom = $this->ReadVariableInteger("Ladestrom");
|
||||||
$maxleistung = $this->ReadPropertyInteger("MaxBatterieleistung");
|
$maxleistung = $this->ReadPropertyInteger("MaxBatterieleistung");
|
||||||
|
|
||||||
// Batterie entladen oder laden basierend auf der Leistung
|
// Batterie entladen oder laden basierend auf der Leistung
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.188",
|
"version": "0.189",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user