no message
This commit is contained in:
@@ -42,6 +42,8 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
{
|
{
|
||||||
parent::ApplyChanges();
|
parent::ApplyChanges();
|
||||||
|
|
||||||
|
$this->SetReceiveDataFilter('.*');
|
||||||
|
|
||||||
$this->SetStatus(IS_ACTIVE);
|
$this->SetStatus(IS_ACTIVE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -325,6 +327,11 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
return $json;
|
return $json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function ReceiveData($JSONString)
|
||||||
|
{
|
||||||
|
IPS_LogMessage('MQTTBatterySDL', $JSONString);
|
||||||
|
}
|
||||||
|
|
||||||
private function IsValidVariable(int $id)
|
private function IsValidVariable(int $id)
|
||||||
{
|
{
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user