Last Updated on : 2023-12-07 03:33:51
Query the detailed information list of the timer tasks added under a specified device ID.
GET: /v1.0/devices/{devId}/timers
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
dev_id | String | uri | true | The device ID. |
Parameter name | Type | Description |
---|---|---|
result | JSONArray | The list of timer tasks. |
GET: /v1.0/devices/vdevo15445800464****/timers
{
"result": [
{
"groups": [
{
"timers": [
{
"date": "20200210",
"functions": [
{
"code": "bright_value_v2",
"value": 5000
},
{
"code": "switch_led",
"value": true
}
],
"is_app_push": false,
"loops": "0000000",
"alias_name": "",
"timer_id": 4906528,
"timezone_id": "Asia/Shanghai",
"group_order": 0,
"time": "17:30",
"status": 0
}
],
"id": "000000****"
}
],
"category": {
"category": "test",
"status": 1
}
}
],
"t": 1581336613789,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback