jetzt aber
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
"caption":"Batteriemanagement",
|
||||
"options":[
|
||||
{
|
||||
"caption":"Vom Wechelrichterhertseller",
|
||||
"caption":"Vom Wechelrichterhersteller",
|
||||
"value":1
|
||||
},
|
||||
{
|
||||
|
||||
@@ -180,7 +180,7 @@ public function RequestAction($Ident, $Value)
|
||||
|
||||
// Hier Modul auf Wechselrichter 1 stellen
|
||||
elseif ($batterieladezustand >= $aufdasnachladen) {
|
||||
$netzbezug = $this->ReadPropertyInteger("Netzbezug");
|
||||
$netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug"));
|
||||
$dummy_array[] = $netzbezug*(-1);
|
||||
IPS_LogMessage("Batterie", "Dummy Array: " . json_encode($dummy_array));
|
||||
$this->SetValue("PowerSteps", json_encode($dummy_array));
|
||||
@@ -196,8 +196,9 @@ public function RequestAction($Ident, $Value)
|
||||
|
||||
|
||||
if ($batterieladezustand <= $aufdasnachladen) {
|
||||
$nachladen = $this->ReadPropertyInteger("NachLaden");
|
||||
$nachladen = GetValue($this->ReadPropertyInteger("NachLaden"));
|
||||
$dummy_array[] = $nachladen;
|
||||
IPS_LogMessage("Batterie", ": Nachladen " .$nachladen);
|
||||
$this->SetValue("PowerSteps", json_encode($dummy_array));
|
||||
|
||||
}elseif ($batterieladezustand = 100) {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "1.079",
|
||||
"version": "1.080",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user