kleine fehler behoben
This commit is contained in:
@@ -284,7 +284,7 @@ class Ladestation_Universal extends IPSModule
|
|||||||
|
|
||||||
SetValue(
|
SetValue(
|
||||||
$this->GetIDForIdent("Ladeleistung_Effektiv"),
|
$this->GetIDForIdent("Ladeleistung_Effektiv"),
|
||||||
GetValue("Ladeleistung")
|
$this->GetValue("Ladeleistung")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@@ -340,14 +340,19 @@ class Ladestation_Universal extends IPSModule
|
|||||||
|
|
||||||
if($this->ReadPropertyInteger("Ladestation")==2){
|
if($this->ReadPropertyInteger("Ladestation")==2){
|
||||||
$baseUrl ="http://" . $this->ReadPropertyString("IP_Adresse") . "/api/set?";
|
$baseUrl ="http://" . $this->ReadPropertyString("IP_Adresse") . "/api/set?";
|
||||||
|
IPS_LogMessage("Ladestation", "Aufgerufene ip" . $baseUrl);
|
||||||
|
|
||||||
}elseif($this->ReadPropertyInteger("Ladestation")==1){
|
}elseif($this->ReadPropertyInteger("Ladestation")==1){
|
||||||
$baseUrl ="http://" . $this->ReadPropertyString("IP_Adresse") . "/mqtt?payload=";
|
$baseUrl ="http://" . $this->ReadPropertyString("IP_Adresse") . "/mqtt?payload=";
|
||||||
|
IPS_LogMessage("Ladestation", "Aufgerufene ip" . $baseUrl);
|
||||||
|
|
||||||
}elseif($this->ReadPropertyInteger("Ladestation")==3){
|
}elseif($this->ReadPropertyInteger("Ladestation")==3){
|
||||||
$baseUrl ="https://api.smart-me.com/pico/loadmanagementgroup/current/" . $this->ReadPropertyString("Seriennummer") . "?current=";
|
$baseUrl ="https://api.smart-me.com/pico/loadmanagementgroup/current/" . $this->ReadPropertyString("Seriennummer") . "?current=";
|
||||||
|
IPS_LogMessage("Ladestation", "Aufgerufene ip " . $baseUrl);
|
||||||
|
|
||||||
}
|
}
|
||||||
// Base URL
|
// Base URL
|
||||||
|
|
||||||
IPS_LogMessage("Ladestation", "Aufgerufene ip" . $baseUrl);
|
|
||||||
$value = $this->convertPowerToCurrent(
|
$value = $this->convertPowerToCurrent(
|
||||||
$value,
|
$value,
|
||||||
GetValue($this->GetIDForIdent("Lademodus"))
|
GetValue($this->GetIDForIdent("Lademodus"))
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "1.043",
|
"version": "1.044",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user