Group Location
Explore Plans
Mobile menu Close menu
SengledSengled

History of door sensor opened

This query returns a list of when your Sengled Door Sensor was opened.

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
API endpoint slug
sengled.history_of_door_sensor_opened
Runtime method
performQuery("sengled.history_of_door_sensor_opened")

Query fields

Device ID Dropdown list

Label
Which door sensor?
Helper text
Slug
deviceId
Required
true
Can have default value
false

Ingredients

Created at

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

Open close state

Slug
open_close_state
Filter code
Sengled.historyOfDoorSensorOpened.OpenCloseState
Type
String
Example
open