kleinere anpassungen an batt, manager, Fehelrbehebung auf manager haupt übernommen

This commit is contained in:
dh
2025-03-07 14:37:12 +01:00
parent 27e6a8c7b9
commit ca9e8c76ae
4 changed files with 12 additions and 7 deletions
+2 -2
View File
@@ -41,11 +41,11 @@
"caption":"Batteriemanagement",
"options":[
{
"caption":"Vom Wechelrichterhersteller",
"caption":"Durch Wechselrichter",
"value":1
},
{
"caption":"Von der Firma Belevo",
"caption":"Durch EMS Symcon",
"value":4
}
]
+2 -2
View File
@@ -188,7 +188,7 @@ public function RequestAction($Ident, $Value)
$dummy_array[] = $netzbezug;
$this->SetValue("PowerSteps", json_encode($dummy_array));
}else if($batterieladezustand>$minimumentladen){
}elseif($batterieladezustand>$minimumentladen){
$this->SetValue("PowerSteps", json_encode($array_powersteps));
}
@@ -211,7 +211,7 @@ public function RequestAction($Ident, $Value)
});
$this->SetValue("PowerSteps", json_encode($filtered_powersteps_entladen));
}else if($batterieladezustand>=$aufdasnachladen && $hyst==false){
}elseif($batterieladezustand>=$aufdasnachladen && $hyst==false){
$this->SetValue("PowerSteps", json_encode($array_powersteps));