no message
This commit is contained in:
@@ -236,7 +236,7 @@ class Ladestation_v2 extends IPSModule
|
|||||||
public function Get_Car_Status(int $carType)
|
public function Get_Car_Status(int $carType)
|
||||||
{
|
{
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
$car_on_station = false;
|
$car_on_station = $this->GetValue("Car_detected");
|
||||||
switch ($carType) {
|
switch ($carType) {
|
||||||
case 1:
|
case 1:
|
||||||
curl_setopt($ch, CURLOPT_URL, "http://" . $this->ReadPropertyString("IP_Adresse") . "/mqtt?payload=");
|
curl_setopt($ch, CURLOPT_URL, "http://" . $this->ReadPropertyString("IP_Adresse") . "/mqtt?payload=");
|
||||||
|
|||||||
Reference in New Issue
Block a user