no message
This commit is contained in:
@@ -93,18 +93,22 @@ $this->RegisterVariableString("Token_Intern", "Internes Token Easee");
|
|||||||
|
|
||||||
$stationType = $this->ReadPropertyInteger("Ladestation");
|
$stationType = $this->ReadPropertyInteger("Ladestation");
|
||||||
if (!$this->UsesEaseeGateway($stationType)) {
|
if (!$this->UsesEaseeGateway($stationType)) {
|
||||||
|
$this->SetStatus(102);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->SetTimerInterval("Timer_Refresh_Token", 0);
|
$this->SetTimerInterval("Timer_Refresh_Token", 0);
|
||||||
if ($this->GetConfiguredEaseeGatewayID() <= 0) {
|
if ($this->GetConfiguredEaseeGatewayID() <= 0) {
|
||||||
|
$this->SetStatus(102);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->SubscribeToEaseeGateway();
|
$this->SubscribeToEaseeGateway();
|
||||||
$this->GetEaseeStateFromGateway();
|
$this->GetEaseeStateFromGateway();
|
||||||
|
$this->SetStatus(102);
|
||||||
} catch (Throwable $exception) {
|
} catch (Throwable $exception) {
|
||||||
|
$this->SetStatus(102);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -122,6 +122,7 @@ $this->RegisterVariableString("Token_Intern", "Internes Token Easee");
|
|||||||
|
|
||||||
$stationType = $this->ReadPropertyInteger("Ladestation");
|
$stationType = $this->ReadPropertyInteger("Ladestation");
|
||||||
if (!$this->UsesEaseeGateway($stationType)) {
|
if (!$this->UsesEaseeGateway($stationType)) {
|
||||||
|
$this->SetStatus(102);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,11 +137,14 @@ $this->RegisterVariableString("Token_Intern", "Internes Token Easee");
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->IsEaseeGatewayInstance($parentID)) {
|
if (!$this->IsEaseeGatewayInstance($parentID)) {
|
||||||
|
$this->SetStatus(102);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$this->SubscribeToEaseeGateway();
|
$this->SubscribeToEaseeGateway();
|
||||||
$this->GetEaseeStateFromGateway();
|
$this->GetEaseeStateFromGateway();
|
||||||
|
$this->SetStatus(102);
|
||||||
} catch (Throwable $exception) {
|
} catch (Throwable $exception) {
|
||||||
|
$this->SetStatus(102);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user