no message
This commit is contained in:
@@ -208,6 +208,7 @@ class Shelly_Parser_MQTT extends IPSModule
|
|||||||
|
|
||||||
$sid = @IPS_GetObjectIDByIdent($ident, $this->InstanceID);
|
$sid = @IPS_GetObjectIDByIdent($ident, $this->InstanceID);
|
||||||
if ($sid === false) {
|
if ($sid === false) {
|
||||||
|
|
||||||
$sid = IPS_CreateScript(0);
|
$sid = IPS_CreateScript(0);
|
||||||
IPS_SetParent($sid, $this->InstanceID);
|
IPS_SetParent($sid, $this->InstanceID);
|
||||||
IPS_SetIdent($sid, $ident);
|
IPS_SetIdent($sid, $ident);
|
||||||
@@ -222,7 +223,7 @@ $value = $_IPS['VALUE'];
|
|||||||
|
|
||||||
$ident = IPS_GetObject($varID)['ObjectIdent'];
|
$ident = IPS_GetObject($varID)['ObjectIdent'];
|
||||||
|
|
||||||
RequestAction($moduleID, $ident, $value);
|
IPS_RequestAction($moduleID, $ident, $value);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
EOF;
|
EOF;
|
||||||
@@ -233,6 +234,7 @@ EOF;
|
|||||||
return $sid;
|
return $sid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------
|
/* ---------------------------------------------------------
|
||||||
* VARIABLEN
|
* VARIABLEN
|
||||||
* ---------------------------------------------------------*/
|
* ---------------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user