logging
This commit is contained in:
@@ -182,6 +182,7 @@ public function RequestAction($Ident, $Value)
|
||||
$hyst = $this->GetValue("Hysterese");
|
||||
|
||||
if($Peak){
|
||||
IPS_LogMessage("Manager", "Im if teil");
|
||||
|
||||
if($batterieladezustand>=$aufdasnachladen && $hyst==false){
|
||||
|
||||
@@ -200,9 +201,7 @@ public function RequestAction($Ident, $Value)
|
||||
$this->SetValue("PowerSteps", json_encode(array_values($filtered_powersteps)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
else{
|
||||
}else{
|
||||
IPS_LogMessage("Manager", "Im else teil");
|
||||
|
||||
|
||||
|
||||
@@ -220,12 +220,9 @@ class Manager extends IPSModule
|
||||
|
||||
// Nun die verteilen, die 0 erhalten können.
|
||||
$samePriorityUsers = $withZero;
|
||||
// Array für die verteilte Energie pro User erstellen
|
||||
IPS_LogMessage("Manager", print_r($samePriorityUsers));
|
||||
|
||||
$userEnergyProv = [];
|
||||
$userEnergyProv = array_fill_keys(array_column($samePriorityUsers, "InstanceID"), 0); // Initialisierung für jeden Benutzer auf 0 setzen
|
||||
IPS_LogMessage("Manager", print_r($userEnergyProv));
|
||||
|
||||
// Alle Schritte der Benutzer in einem Array sammeln
|
||||
$allSteps = [];
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "1.249",
|
||||
"version": "1.250",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user