Explore Plans
Mobile menu Close menu
MCONNECTMCONNECT

History of device

This query returns the device history

Developer info

API endpoint slug
motorline_mconnect.device_history
Runtime method
performQuery("motorline_mconnect.device_history")

Query fields

Device Dropdown list

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

Ingredients

Device nameName of device

Slug
device_name
Filter code
MotorlineMconnect.deviceHistory.DeviceName
Type
String
Example
Kitchen Light

StateCurrent state of device

Slug
state
Filter code
MotorlineMconnect.deviceHistory.State
Type
String
Example
ON

Updated atDate when the device was changed

Slug
updated_at
Filter code
MotorlineMconnect.deviceHistory.UpdatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00