no message
This commit is contained in:
@@ -128,6 +128,7 @@ class Verbraucher_extern extends IPSModule
|
|||||||
|
|
||||||
|
|
||||||
public function SetAktuelle_Leistung(float $power) {
|
public function SetAktuelle_Leistung(float $power) {
|
||||||
|
$this->SetValue("Aktuelle_Leistung", $power);
|
||||||
$this->SetValue("Bezogene_Energie", ($this->GetValue("Bezogene_Energie") + ($this->GetValue("Aktuelle_Leistung")*($this->ReadPropertyInteger("Interval")/3600))));
|
$this->SetValue("Bezogene_Energie", ($this->GetValue("Bezogene_Energie") + ($this->GetValue("Aktuelle_Leistung")*($this->ReadPropertyInteger("Interval")/3600))));
|
||||||
$this->CheckIdle($power);
|
$this->CheckIdle($power);
|
||||||
$verbraucherListe = json_decode($this->ReadPropertyString("Verbraucher_Liste"), true);
|
$verbraucherListe = json_decode($this->ReadPropertyString("Verbraucher_Liste"), true);
|
||||||
|
|||||||
Reference in New Issue
Block a user