no message
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"id": "{92E18FE8-489C-87A7-766B-2F06B7BD95E5}",
|
"id": "{1604D0D8-B142-132A-C6AC-9054C48BA497}",
|
||||||
"name": "Pufferspeicher",
|
"name": "Pufferspeicher",
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"vendor": "Belevo AG",
|
"vendor": "Belevo AG",
|
||||||
|
|||||||
@@ -99,8 +99,16 @@ class Pufferspeicher extends IPSModule
|
|||||||
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer"), false);
|
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer"), false);
|
||||||
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer_Teillast"), false);
|
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer_Teillast"), false);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
// Prüfe auf Änderung der Power im Vergleich zur letzten Einstellung
|
||||||
|
$lastPower = GetValue($this->GetIDForIdent("Aktuelle_Leistung"));
|
||||||
|
if ($power != $lastPower) {
|
||||||
|
$this->SetValue("Idle", false);
|
||||||
|
$this->SetValue(
|
||||||
|
"IdleCounter",
|
||||||
|
$this->ReadPropertyInteger("IdleCounterMax")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// Setze die neue Aktuelle_Leistung
|
// Setze die neue Aktuelle_Leistung
|
||||||
$this->SetValue("Aktuelle_Leistung", $power);
|
$this->SetValue("Aktuelle_Leistung", $power);
|
||||||
|
|||||||
Reference in New Issue
Block a user