Umschaltung auf 3-Phasiges Laden bei Go-E funktioniert funktioniert nocht nicht
This commit is contained in:
@@ -180,10 +180,10 @@ public function GetCurrentData(bool $Peak) {
|
|||||||
SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data['car']);
|
SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data['car']);
|
||||||
|
|
||||||
|
|
||||||
if($data['nrg'][6]!=0 && $data['car']===2){
|
if($data['nrg'][6]!=0 && $data['car']==2){
|
||||||
SetValue($this->GetIDForIdent("Lademodus"), 1);
|
SetValue($this->GetIDForIdent("Lademodus"), 1);
|
||||||
|
|
||||||
}elseif($data['nrg'][6]===0 && $data['car']===2){
|
}elseif($data['nrg'][6]===0 && $data['car']==2){
|
||||||
SetValue($this->GetIDForIdent("Lademodus"), 0);
|
SetValue($this->GetIDForIdent("Lademodus"), 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user