-
This commit is contained in:
@@ -202,9 +202,9 @@ public function RequestAction($Ident, $Value)
|
|||||||
} elseif ($batterieladezustand >= $aufdasnachladen) {
|
} elseif ($batterieladezustand >= $aufdasnachladen) {
|
||||||
$netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug"));
|
$netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug"));
|
||||||
if (abs($netzbezug)>$maxleistung){
|
if (abs($netzbezug)>$maxleistung){
|
||||||
$dummy_array[] = $maxleistung;
|
$dummy_array[] = $maxleistung*(-1);
|
||||||
} else{
|
} else{
|
||||||
$dummy_array[] = $netzbezug*(-1);
|
$dummy_array[] = $netzbezug;
|
||||||
}
|
}
|
||||||
$this->SetValue("PowerSteps", json_encode($dummy_array));
|
$this->SetValue("PowerSteps", json_encode($dummy_array));
|
||||||
$this->SetValue("In_Hystere", 0);
|
$this->SetValue("In_Hystere", 0);
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "1.091",
|
"version": "1.092",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user