This commit is contained in:
2025-05-02 15:37:26 +02:00
parent 89e291c488
commit 5992ede103
2 changed files with 3 additions and 3 deletions

View File

@@ -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,

View File

@@ -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);