no message

This commit is contained in:
mh
2025-09-30 15:51:42 +02:00
parent e03f2f6d39
commit 969c846699
5 changed files with 4 additions and 411 deletions
+4 -4
View File
@@ -18,7 +18,7 @@ class Pufferspeicher extends IPSModule
$this->RegisterPropertyInteger("MaxVT_Temp", 80);
$this->RegisterPropertyInteger("MaxAT_Temp", 20);
$this->RegisterPropertyInteger("MinAT_Temp", 0);
$this->RegisterPropertyBoolean("Puffertemperatur_glätten", false);
$this->RegisterPropertyBoolean("Puffertemperatur_glätten", 0);
$this->RegisterPropertyInteger("Interval", 5); // Recheninterval
// Puffer spezifische Variablen
@@ -26,7 +26,7 @@ class Pufferspeicher extends IPSModule
$this->RegisterVariableInteger("Maximaltemperatur"," Berechnete Maximaltemperatur VT","",60);
$this->RegisterVariableInteger("Puffertemperatur", "Puffertemperatur", "", 40);
$this->RegisterVariableInteger("Aussentemperatur", "Aussentemperatur", "", 15);
$this->RegisterVariableBoolean("Hysterese", "Hysterese","",false);
$this->RegisterVariableBoolean("Hysterese", "Hysterese","",0);
// Variabeln für Kommunkation mit Manager
$this->RegisterVariableInteger("Sperre_Prio", "Sperre_Prio");
@@ -36,14 +36,14 @@ class Pufferspeicher extends IPSModule
$this->RegisterVariableFloat("Bezogene_Energie", "Bezogene_Energie", "", 0);
$this->RegisterVariableString("PowerSteps", "PowerSteps");
$this->RegisterVariableInteger("Power", "Power", '', 0);
$this->RegisterVariableBoolean("Is_Peak_Shaving", "Is_Peak_Shaving", "", true);
$this->RegisterVariableBoolean("Is_Peak_Shaving", "Is_Peak_Shaving", "", 1);
$this->RegisterVariableInteger("Leistung_Delta", "Leistung_Delta", "", 0);
// Hilfsvariabeln für Idle zustand
$this->RegisterPropertyInteger("IdleCounterMax", 2);
$this->RegisterVariableInteger("IdleCounter", "IdleCounter", "", 0);
$this->SetValue("IdleCounter", 0);
// Initialisiere Idle
$this->SetValue("Idle", true);
$this->SetValue("Idle", 0);
$this->RegisterTimer("Timer_Do_UserCalc_Boiler",$this->ReadPropertyInteger("Interval")*1000,"IPS_RequestAction(" .$this->InstanceID .', "Do_UserCalc", "");');
}