Group Location
Explore Plans
Mobile menu Close menu
YoLinkYoLink

History of motion sensor event

This query returns a list of when motion sensor state changed

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 motion sensor state changed
API endpoint slug
yolink.history_of_motion_sensor_event
Runtime method
performQuery("yolink.history_of_motion_sensor_event")

Query fields

Device ID Dropdown list

Label
Device
Helper text
Choose a yolink motion sensor
Slug
deviceId
Required
true
Can have default value
false

Ingredients

Created atDate and time event was created.

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