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