no message
This commit is contained in:
@@ -62,6 +62,22 @@ class Batterie_test extends IPSModule
|
||||
$this->SetValue("Batteriemanagement_Variabel", $batterieManagement);
|
||||
$this->SetTimerInterval("Timer_Do_UserCalc_Battery",$this->ReadPropertyInteger("Interval")*1000);
|
||||
|
||||
switch ($batterietyp) {
|
||||
case 1: // z.B. LiFePo4
|
||||
$this->RegisterVariableFloat("Goodwe_EntLadeleistung","Goodwe_EntLadeleistung", "",0);
|
||||
break;
|
||||
|
||||
case 2: // z.B. Blei-Gel
|
||||
|
||||
$this->RegisterVariableFloat("2","2", "",0);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
|
||||
$this->RegisterVariableFloat("3","3", "",0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user