Creating Triggers

Creating a Trigger

You can create a trigger in the web interface by navigating to the Smart Capture Triggers page.

1670

Begin by creating a name for your trigger and creating a SCQL query to be evaluated upon your state conditions. Then choose a sample rate which sets the minimum time that must pass before the trigger can be activated again. Next, pick the devices you would like to deploy the trigger to from your registered devices. Lastly, if you would like to log captured images to Nucleus, choose a dataset to log the images to.

REST API

POST /v1/smart-capture/trigger
Description: Creates a new trigger in Smart Capture.

Body Parameters

Parameter NameRequiredDescription
nameRequiredDescriptive name of the trigger
queryRequiredSmart Capture Query Language (SCQL) query
device_idsOptionalComma separated list of device ids to deploy this trigger to.
sample_rateOptionalNumber of seconds since last trigger activation to wait before enabling again.
dataset_idOptionalID of a Nucleus dataset to upload captured data to

Did this page help you?