diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 12d64f0..69c2d8a 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -594,7 +594,7 @@ class Ladestation_v2 extends IPSModule // Nichts zu tun für Dummy station return; case 5: - $url = "https://api.easee.com/api/chargers/".$this->GetValue("Seriennummer")."/commands/set_dynamic_charger_current"; + $url = "https://api.easee.com/api/chargers/".$this->ReadPropertyString("Seriennummer")."/commands/set_dynamic_charger_current"; curl_setopt_array($ch, [ CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, @@ -636,7 +636,7 @@ class Ladestation_v2 extends IPSModule // Nichts zu tun für Dummy station return; case 5: - $url2 = "https://api.easee.com/api/chargers/".$this->GetValue("Seriennummer")."/commands/set_dynamic_charger_current"; + $url2 = "https://api.easee.com/api/chargers/".$this->ReadPropertyString("Seriennummer")."/commands/set_dynamic_charger_current"; curl_setopt_array($ch, [ CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, diff --git a/Verbraucher_extern/module.php b/Verbraucher_extern/module.php index e45c17c..78f4ac5 100644 --- a/Verbraucher_extern/module.php +++ b/Verbraucher_extern/module.php @@ -132,7 +132,7 @@ class Verbraucher_extern extends IPSModule $values = json_decode($this->GetValue("PowerSteps")); $result = []; - $firstCombination = $this->findCombination($this->GetValue("Power"), $this->GetValue("PowerSteps")); + $firstCombination = $this->findCombination($this->GetValue("Power"), json_decode($this->GetValue("PowerSteps"))); //$this->find($this->GetValue("Power"), $values, [], $result);