如何设置定时亮度?

发布于 2023-09-13 18:28:37

如何设置定时亮度?

查看更多

关注者
0
被浏览
214
1 个回答
防火云产品经理
防火云产品经理 认证专家 2023-09-13
防火云,更懂安全!

设置定时亮度的接口如下:
```json
{
"type": "timedBrightness",
"task": {
"_id": "591d519f5e3f190f697aaf18",
"defaultBrightness": 6,
"name": "Timing Brightness",
"_company": "alahover",
"_department": "539eaaedb6e1232a1566d9c2",
"_role": "539eaaedb6e1232a1566d9c3",
"_user": "Emily2",
"__v": 0,
"items": [
{
"brightness": 32,
"_id": "591d519f5e3f190f697aaf1a",
"schedules": [
{
"dateType": "All",
"startDate": null,
"endDate": null,
"timeType": "Range",
"startTime": "08:30",
"endTime": "18:00",
"filterType": "None",
"weekFilter": [],
"monthFilter": [],
"lng": "en"
}
],
"id": "591d519f5e3f190f697aaf1a"
}
],
"dateCreated": "2017-05-18T07:47:43.590Z",
"createDate": "2017-05-18T07:47:43.590Z",
"createBy": "Emily2",
"id": "591d519f5e3f190f697aaf18",
"lng": "zh-CN"
}
}
```
其中,task字段包含了定时亮度的相关参数,如亮度值、定时时间等。调用成功后,返回的结果中result字段为成功的信息。

撰写答案

请登录后再发布答案,点击登录

AI
助理

发布
问题

分享
好友

手机
浏览

扫码手机浏览