lade / entladeleistung musste auch noch gedreht werden...
This commit is contained in:
@@ -340,15 +340,12 @@ class Ladestation_Universal extends IPSModule
|
||||
|
||||
if($this->ReadPropertyInteger("Ladestation")==2){
|
||||
$baseUrl ="http://" . $this->ReadPropertyString("IP_Adresse") . "/api/set?";
|
||||
IPS_LogMessage("Ladestation", "Aufgerufene ip" . $baseUrl);
|
||||
|
||||
}elseif($this->ReadPropertyInteger("Ladestation")==1){
|
||||
$baseUrl ="http://" . $this->ReadPropertyString("IP_Adresse") . "/mqtt?payload=";
|
||||
IPS_LogMessage("Ladestation", "Aufgerufene ip" . $baseUrl);
|
||||
|
||||
}elseif($this->ReadPropertyInteger("Ladestation")==3){
|
||||
$baseUrl ="https://api.smart-me.com/pico/loadmanagementgroup/current/" . $this->ReadPropertyString("Seriennummer") . "?current=";
|
||||
IPS_LogMessage("Ladestation", "Aufgerufene ip " . $baseUrl);
|
||||
|
||||
}
|
||||
// Base URL
|
||||
|
||||
Reference in New Issue
Block a user