Script generator Applet
Explore Plans
Mobile menu Close menu
Brilliant SmartBrilliant Smart

History of person is detected

This query returns a list of when PIR detects person.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This query returns a list of when PIR detects person.
API endpoint slug
brilliant_smart.history_of_person_is_detected
Runtime method
performQuery("brilliant_smart.history_of_person_is_detected")

Query fields

Which device Dropdown list

Label
Which device/group?
Slug
which_device
Required
true
Can have default value
false

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
BrilliantSmart.historyOfPersonIsDetected.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Device nameThis ingredient describes the device name which is triggered.

Slug
device_name
Filter code
BrilliantSmart.historyOfPersonIsDetected.DeviceName
Type
String
Example
infrared detector