no message
This commit is contained in:
@@ -377,15 +377,17 @@ class Ladestation_v2 extends IPSModule
|
||||
IPS_LogMessage("Ladestation", "Fehler beim Dekodieren der JSON-Antwort");
|
||||
return;
|
||||
}
|
||||
|
||||
IPS_LogMessage("Easee", print_r($easee_data));
|
||||
if (isset($data['driverIdentifier']) && ($data['driverIdentifier']==$this->ReadPropertyString("Username"))) {
|
||||
if(isset($easee_data['totalPower'])){
|
||||
|
||||
$this->SetValue("Ladeleistung_Effektiv", $easee_data['totalPower']);
|
||||
IPS_LogMessage("Ladestation 1", "1");
|
||||
|
||||
}else{
|
||||
|
||||
$this->SetValue("Ladeleistung_Effektiv", 0);
|
||||
IPS_LogMessage("Ladestation 0", "0");
|
||||
|
||||
}
|
||||
$this->SetValue("Ladeleistung_Effektiv", $this->GetValue("Power"));
|
||||
|
||||
Reference in New Issue
Block a user