no message
This commit is contained in:
@@ -66,6 +66,11 @@
|
||||
"type": "SelectVariable",
|
||||
"name": "Netzbezug",
|
||||
"caption": "Variable mit dem zu regelnden Netzbezug"
|
||||
},
|
||||
{
|
||||
"type": "SelectVariable",
|
||||
"name": "Batterieleistung_Effektiv",
|
||||
"caption": "Effektive, aktuelle Batterieleistung"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ class Batterie extends IPSModule
|
||||
$this->RegisterPropertyInteger("MaxNachladen",0);
|
||||
$this->RegisterPropertyInteger("Netzbezug", 0); // Initialisierung mit 0
|
||||
$this->RegisterPropertyInteger("Interval", 2); // Recheninterval
|
||||
$this->RegisterPropertyInteger("Batterieleistung_Effektiv", 0); // Recheninterval
|
||||
|
||||
// Variabeln für Kommunkation mit Manager
|
||||
$this->RegisterVariableFloat("Entladeleistung","Entladeleistung", "",0);
|
||||
@@ -180,6 +181,9 @@ public function RequestAction($Ident, $Value)
|
||||
|
||||
// IdleCounter verarbeiten
|
||||
$this->ProcessIdleCounter();
|
||||
|
||||
$this->SetValue("Leistung_Delta", GetValue($this->ReadPropertyInteger("Batterieleistung_Effektiv"))-$power);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -247,6 +247,7 @@ class HauptManager extends IPSModule
|
||||
"user" => $user["InstanceID"],
|
||||
"Writeback" => $user["Writeback"],
|
||||
"step" => $step,
|
||||
"Leistung_Delta" => $user["Leistung_Delta"]
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -309,10 +309,10 @@ class Ladestation_Universal extends IPSModule
|
||||
if($this->ReadPropertyInteger("Ladestation")==4){
|
||||
// Überprüfe, ob das JSON-Dekodieren erfolgreich war und der Schlüssel "car" existiert
|
||||
|
||||
SetValue(
|
||||
/* SetValue(
|
||||
$this->GetIDForIdent("Ladeleistung_Effektiv"),
|
||||
$this->GetValue("Ladeleistung")
|
||||
);
|
||||
); */
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -182,7 +182,6 @@ class Manager extends IPSModule
|
||||
|
||||
// Primärschlüssel für die Priorität basierend auf dem Parameter auswählen (für sortierung in gruppen anschliessend)
|
||||
$priorityKey = $Is_Peak_Shaving ? "Sperre_Prio" : "PV_Prio";
|
||||
IPS_LogMessage("Filtered_Verbraucher", print_r($filteredVerbraucher));
|
||||
// Schleife durch alle Prioritäten
|
||||
$priorities = array_unique(
|
||||
array_column($filteredVerbraucher, $priorityKey)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "1.204",
|
||||
"version": "1.206",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user