This query returns a list of when a Camera detected motion. To use this query, Camera motion detected should be turned on.
- API endpoint slug
- smartlife.history_of_motion_detections_by_camera
- Runtime method
- performQuery("smartlife.history_of_motion_detections_by_camera")
Query fields
- Label
- Which device/group?
- Helper text
- Not all Smart Life devices are supported by this service. Refer to the device manufacturer for further information.
- Slug
- which_device
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- created_at
- Filter code
- Smartlife.historyOfMotionDetectionsByCamera.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- device_name
- Filter code
- Smartlife.historyOfMotionDetectionsByCamera.DeviceName
- Type
- String
- Example
- bedroom light