löogging für fehler smart me

This commit is contained in:
2025-01-06 13:36:04 +01:00
parent 11461f4398
commit ac9f64b0af
2 changed files with 8 additions and 3 deletions

View File

@@ -405,8 +405,13 @@ class Ladestation_Universal extends IPSModule
return; return;
} }
elseif($this->ReadPropertyInteger("Ladestation")==3){ elseif($this->ReadPropertyInteger("Ladestation")==3){
$url2 = $baseUrl . $value*1000; IPS_LogMessage("value", "value ist " . $value);
$value2 = $value * 1000;
IPS_LogMessage("value", "value2 ist " . $value2);
$url2 = $baseUrl . $value2;
IPS_LogMessage("Ladestation", "Aufgerufene ip" . $url2); IPS_LogMessage("Ladestation", "Aufgerufene ip" . $url2);
curl_setopt($ch, CURLOPT_URL, $url2); curl_setopt($ch, CURLOPT_URL, $url2);

View File

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