d
This commit is contained in:
@@ -594,7 +594,7 @@ class Ladestation_v2 extends IPSModule
|
|||||||
// Nichts zu tun für Dummy station
|
// Nichts zu tun für Dummy station
|
||||||
return;
|
return;
|
||||||
case 5:
|
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, [
|
curl_setopt_array($ch, [
|
||||||
CURLOPT_ENCODING => "",
|
CURLOPT_ENCODING => "",
|
||||||
CURLOPT_MAXREDIRS => 10,
|
CURLOPT_MAXREDIRS => 10,
|
||||||
@@ -636,7 +636,7 @@ class Ladestation_v2 extends IPSModule
|
|||||||
// Nichts zu tun für Dummy station
|
// Nichts zu tun für Dummy station
|
||||||
return;
|
return;
|
||||||
case 5:
|
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, [
|
curl_setopt_array($ch, [
|
||||||
CURLOPT_ENCODING => "",
|
CURLOPT_ENCODING => "",
|
||||||
CURLOPT_MAXREDIRS => 10,
|
CURLOPT_MAXREDIRS => 10,
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ class Verbraucher_extern extends IPSModule
|
|||||||
$values = json_decode($this->GetValue("PowerSteps"));
|
$values = json_decode($this->GetValue("PowerSteps"));
|
||||||
$result = [];
|
$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);
|
//$this->find($this->GetValue("Power"), $values, [], $result);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user