server_com zeit geändert, mehr logging
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user