no message

This commit is contained in:
2025-03-19 16:16:33 +01:00
parent 62ec8e8537
commit 787f47c28e
6 changed files with 13 additions and 4 deletions
+4
View File
@@ -16,6 +16,7 @@ class Batterie extends IPSModule
$this->RegisterPropertyInteger("MaxNachladen",0);
$this->RegisterPropertyInteger("Netzbezug", 0); // Initialisierung mit 0
$this->RegisterPropertyInteger("Interval", 2); // Recheninterval
$this->RegisterPropertyInteger("Batterieleistung_Effektiv", 0); // Recheninterval
// Variabeln für Kommunkation mit Manager
$this->RegisterVariableFloat("Entladeleistung","Entladeleistung", "",0);
@@ -180,6 +181,9 @@ public function RequestAction($Ident, $Value)
// IdleCounter verarbeiten
$this->ProcessIdleCounter();
$this->SetValue("Leistung_Delta", GetValue($this->ReadPropertyInteger("Batterieleistung_Effektiv"))-$power);
}