no message

This commit is contained in:
mh
2025-10-15 14:30:39 +02:00
parent dbe3997ba9
commit e98cbffb4f
+5 -9
View File
@@ -11,8 +11,8 @@ class Batterie_Deye extends IPSModule
// Batterie spezifische Eigenschaften // Batterie spezifische Eigenschaften
$this->RegisterPropertyInteger("MaxBatterieleistung", 0); $this->RegisterPropertyInteger("MaxBatterieleistung", 0);
$this->RegisterPropertyInteger("Batteriespannung", 50); $this->RegisterPropertyInteger("Batteriespannung", 50);
$this->RegisterPropertyInteger("AufdasNachladen",0); $this->RegisterPropertyFloat("AufdasNachladen",0);
$this->RegisterPropertyInteger("MinimumEntladen",0); $this->RegisterPropertyFloat("MinimumEntladen",0);
$this->RegisterPropertyInteger("Batterieladezustand",0); $this->RegisterPropertyInteger("Batterieladezustand",0);
$this->RegisterPropertyInteger("Batteriemanagement", 1); $this->RegisterPropertyInteger("Batteriemanagement", 1);
$this->RegisterPropertyInteger("Kotnrolle_TOU_Spannung", 0); $this->RegisterPropertyInteger("Kotnrolle_TOU_Spannung", 0);
@@ -22,10 +22,6 @@ class Batterie_Deye extends IPSModule
$this->RegisterPropertyInteger("Interval", 2); // Recheninterval $this->RegisterPropertyInteger("Interval", 2); // Recheninterval
// Variabeln für Kommunkation mit Manager // Variabeln für Kommunkation mit Manager
$this->RegisterVariableFloat("Entladeleistung","Entladeleistung", "",0);
$this->RegisterVariableInteger("Laden3_Entladen4","Laden3_Entladen4", "",3);
$this->RegisterVariableFloat("Ladeleistung","Ladeleistung", "",0);
$this->RegisterVariableInteger("Batteriemanagement_Variabel","Batteriemanagement_Variabel", "",0); $this->RegisterVariableInteger("Batteriemanagement_Variabel","Batteriemanagement_Variabel", "",0);
$this->RegisterVariableFloat("Ladestrom","Ladestrom", "",0); $this->RegisterVariableFloat("Ladestrom","Ladestrom", "",0);
$this->RegisterVariableFloat("Entladestrom","Entladestrom", "",0); $this->RegisterVariableFloat("Entladestrom","Entladestrom", "",0);
@@ -170,7 +166,7 @@ public function RequestAction($Ident, $Value)
// Wechselrichter steuert das Laden/Entladen der Batterie // Wechselrichter steuert das Laden/Entladen der Batterie
if ($batterieManagement == 2) { if ($batterieManagement == 2) {
$this->SetValue("Ladestrom", 0); $this->SetValue("Ladestrom", 0);
$this->SetValue("Entladedestrom", 0); $this->SetValue("Entladestrom", 0);
return; return;
} }
@@ -229,8 +225,8 @@ public function RequestAction($Ident, $Value)
IPS_LogMessage("Batterie", "Currentdata"); IPS_LogMessage("Batterie", "Currentdata");
$array_powersteps = $this->GeneratePowerSteps($this->GetValue("Aktuelle_Leistung")); $array_powersteps = $this->GeneratePowerSteps($this->GetValue("Aktuelle_Leistung"));
$aufdasnachladen = $this->ReadPropertyInteger("AufdasNachladen"); $aufdasnachladen = $this->ReadPropertyFloat("AufdasNachladen");
$minimumentladen = $this->ReadPropertyInteger("MinimumEntladen"); $minimumentladen = $this->ReadPropertyFloat("MinimumEntladen");
$maxleistung = $this->ReadPropertyInteger("MaxBatterieleistung"); $maxleistung = $this->ReadPropertyInteger("MaxBatterieleistung");
$dummy_array = []; $dummy_array = [];