kleine syntaxfehler gefunden
This commit is contained in:
@@ -68,21 +68,20 @@
|
|||||||
{
|
{
|
||||||
"type": "ValidationTextBox",
|
"type": "ValidationTextBox",
|
||||||
"name": "Seriennummer",
|
"name": "Seriennummer",
|
||||||
"caption": "Seriennummer",
|
"caption": "Seriennummer"
|
||||||
"suffix": "",
|
|
||||||
"visible": true
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"type": "ValidationTextBox",
|
"type": "ValidationTextBox",
|
||||||
"name": "Username",
|
"name": "Username",
|
||||||
"caption": "Username",
|
"caption": "Username"
|
||||||
"suffix": "",
|
|
||||||
"visible": true
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{ "type": "PasswordTextBox", "name": "Password", "caption": "Passwort" }
|
{ "type": "PasswordTextBox",
|
||||||
|
"name": "Password",
|
||||||
|
"caption": "Passwort"
|
||||||
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -182,7 +182,7 @@ class Ladestation_Universal extends IPSModule
|
|||||||
"https://api.smart-me.com/pico/charging/". $this->ReadPropertyInteger("ID");
|
"https://api.smart-me.com/pico/charging/". $this->ReadPropertyInteger("ID");
|
||||||
);
|
);
|
||||||
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
||||||
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $$this->ReadPropertyInteger("Password"));
|
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $this->ReadPropertyInteger("Password"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -322,7 +322,7 @@ class Ladestation_Universal extends IPSModule
|
|||||||
curl_setopt($ch, CURLOPT_URL, $url);
|
curl_setopt($ch, CURLOPT_URL, $url);
|
||||||
|
|
||||||
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
||||||
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $$this->ReadPropertyInteger("Password"));
|
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $this->ReadPropertyInteger("Password"));
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
$response = curl_exec($ch);
|
$response = curl_exec($ch);
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
@@ -394,7 +394,7 @@ class Ladestation_Universal extends IPSModule
|
|||||||
$url2 = $baseUrl . $value*1000;
|
$url2 = $baseUrl . $value*1000;
|
||||||
curl_setopt($ch, CURLOPT_URL, $url2);
|
curl_setopt($ch, CURLOPT_URL, $url2);
|
||||||
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
||||||
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $$this->ReadPropertyInteger("Password"));
|
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $this->ReadPropertyInteger("Password"));
|
||||||
$response2 = curl_exec($ch);
|
$response2 = curl_exec($ch);
|
||||||
|
|
||||||
// Check for errors
|
// Check for errors
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.199",
|
"version": "0.200",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user