This commit is contained in:
2024-12-19 11:24:26 +01:00
parent 4708181f96
commit fd69427ea5
2 changed files with 8 additions and 2 deletions

View File

@@ -237,7 +237,11 @@ class Ladestation_Universal extends IPSModule
} elseif ($data["car"] != 1) {
SetValue($this->GetIDForIdent("Lademodus"), 0);
}
}}
}else{
SetValue($this->GetIDForIdent("Lademodus"), 1);
}
}
}
}
@@ -403,6 +407,8 @@ class Ladestation_Universal extends IPSModule
}
elseif($this->ReadPropertyInteger("Ladestation")==3){
$url2 = $baseUrl . $value*1000;
IPS_LogMessage("Ladestation", "Aufgerufene ip" . $url2);
curl_setopt($ch, CURLOPT_URL, $url2);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.205",
"version": "0.207",
"build": 0,
"date": 0
}