Skip to end of metadata
Go to start of metadata

A new trigger for a "thing" can be created by clicking "New" in the "Triggers" section of the thing. A dialog box opens with the following settings

Field Required Description Dialog
Name x

Trigger name.

  • Must be unique within a thing.
  • Can contain: The page Constraint - thing trigger name does not exist.

  

 

 

Thing x

Name of thing which contains event to be handled by the trigger

Event x Name of event in the thing which activates the trigger
Description   Trigger description.

 

 

 

 




Icon

After a trigger has been created, it can be edited anytime by:

  1. Selecting the trigger in the "Triggers" section of the "thing"
  2. Clicking "Edit" in the details panel. A similar dialog box will open with the retained settings          

 

 

Icon

All triggers must have a script function provided for it, as explained in Trigger Script

Since triggers are activated from an event (or events), the script function is of the form:

or

 

 

 

  • No labels