diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index f912697..6f94b0e 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -37,7 +37,7 @@ class Belevo_Server_Kommunikation extends IPSModule if ($InfluxJaNein) { // Timer auf 5 Minuten setzen - $this->SetTimerInterval("Timer_Influx", 300000); // Alle 5 Minuten -> 5*60*1000=300000 + $this->SetTimerInterval("Timer_Influx", 5000); // Alle 5 Minuten -> 5*60*1000=300000 IPS_LogMessage("Belevo_Server_Kommunikation", "Influx Ja"); diff --git a/WP_Steuerung/module.php b/WP_Steuerung/module.php index 50ff9d3..995a07e 100644 --- a/WP_Steuerung/module.php +++ b/WP_Steuerung/module.php @@ -66,7 +66,7 @@ class WP_Steuerung extends IPSModule { // Methode zum Setzen des aktuellen Stromverbrauchs public function SetCurrentPower(float $power) { - $sperrzei_abs = 60*60*(GetValue($this->ReadPropertyInteger("Aussentemperatur"))+10)/25*60; + $sperrzei_abs = 60*60*(GetValue($this->ReadPropertyInteger("Aussentemperatur"))+10)/25*6; if($sperrzei_abs>6*60*60){ $sperrzei_abs = 6*60*60; @@ -132,10 +132,14 @@ class WP_Steuerung extends IPSModule { elseif($LastPeak == false && $power == 0){ $this->SetValue("Zustand_WP", 1); $this->SetValue("CurrentPower", 0); + IPS_LogMessage("here", $aktuellezeit); + if($its_lock_time){ $this->SetValue("Zustand_WP", 2); $this->SetValue("CurrentPower", 0); + IPS_LogMessage("herrre", $aktuellezeit); + } diff --git a/library.json b/library.json index 5bc1c8f..11ea9dc 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.118", + "version": "0.119", "build": 0, "date": 0 } \ No newline at end of file