logging
This commit is contained in:
@@ -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"));
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.205",
|
||||
"version": "0.207",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user