mehr Logging
This commit is contained in:
@@ -14,8 +14,8 @@ class Batterie extends IPSModule
|
||||
$this->RegisterPropertyInteger("Batterieladezustand",0);
|
||||
$this->RegisterPropertyInteger("Ladestrom", 0);
|
||||
$this->RegisterPropertyInteger("Entladestrom", 0);
|
||||
// Variabeln für Kommunkation mit Manager
|
||||
|
||||
// Variabeln für Kommunkation mit Manager
|
||||
$this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0);
|
||||
$this->RegisterVariableString("PowerSteps", "PowerSteps");
|
||||
$this->RegisterVariableBoolean("Idle", "Idle", "", 0);
|
||||
@@ -80,6 +80,7 @@ class Batterie extends IPSModule
|
||||
$ladestrom = $this->ReadPropertyInteger("Ladestrom");
|
||||
$entladestrom = $this->ReadPropertyInteger("Entladestrom");
|
||||
|
||||
IPS_LogMessage("Batterie", "power: " . $power);
|
||||
|
||||
if ($spannung <= 0) {
|
||||
IPS_LogMessage("Batterie", "Fehler: Batteriespannung ist 0 oder ungültig.");
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.221",
|
||||
"version": "0.222",
|
||||
|
||||
"build": 0,
|
||||
"date": 0
|
||||
|
||||
Reference in New Issue
Block a user