This query checks for door/window opening events within a configurable time window (default: last 24 hours) and returns their timestamps.
- API endpoint slug
- heimanhome.door_opened
- Runtime method
- performQuery("heimanhome.door_opened"}
Query fields
- Label
- Which device?
- Helper text
- Select the device
- Slug
- device_id
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- posted_at
- Filter code
- Heimanhome.doorOpened.PostedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
- Slug
- device_name
- Filter code
- Heimanhome.doorOpened.DeviceName
- Type
- String
- Example
- smoke detector
- Slug
- device_id
- Filter code
- Heimanhome.doorOpened.DeviceId
- Type
- String
- Example
- 32434