Logs hinzugefühgt

This commit is contained in:
2024-11-11 11:11:23 +01:00
parent 708a488086
commit 18c5b96617
2 changed files with 8 additions and 2 deletions

View File

@@ -85,6 +85,9 @@ class WP_Steuerung extends IPSModule {
$its_lock_time = true;
}
$timestamp = time();
IPS_LogMessage("sperrzeit", $sperrzeit);
IPS_LogMessage("entsperrzeit", $entsperrzeit);
IPS_LogMessage("aktuellezeit", $aktuellezeit);
$this->CheckIdle($power);
@@ -162,11 +165,14 @@ class WP_Steuerung extends IPSModule {
elseif($LastPeak == false && $power == 0){
$this->SetValue("Zustand_WP", 1);
$this->SetValue("CurrentPower", 0);
IPS_LogMessage("herrre", $aktuellezeit);
if($its_lock_time){
$this->SetValue("Zustand_WP", 2);
$this->SetValue("CurrentPower", 0);
IPS_LogMessage("here", $aktuellezeit);
}
}

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.115",
"version": "0.116",
"build": 0,
"date": 0
}