语言
Service tree
灯光#2 · light属性 11动作 4
灯光
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1
色温
#3 · color-temperature
- 格式
- uint32
- 读写
- R / W / N
- 值
- 3000 ~ 6400,步长 1
模式
#5 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0色温模式4日光5月光7温馨8电视模式(影院模式)9阅读模式10电脑模式11会客模式12娱乐模式13清晨唤醒14黄昏明亮15夜晚助眠16冬暖17夏凉18节律模式
凌动开关
#6 · flex-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
助眠模式
#13 · sleep-aid-mode
- 格式
- bool
- 读写
- R / W / N
- 值
- —
唤醒模式
#14 · wake-up-mode
- 格式
- bool
- 读写
- R / W / N
- 值
- —
awake-渐变持续时长
#15 · gradual-duration
- 格式
- uint8
- 读写
- 值
- 1 ~ 60,步长 1
asleep-渐变持续时长
#16 · gradual-duration
- 格式
- uint8
- 读写
- 值
- 1 ~ 60,步长 1
渐变终点亮度
#17 · gradual-end-point-brightness
- 格式
- uint8
- 读写
- 值
- 0 ~ 255,步长 1
渐变起点亮度
#18 · gradual-start-point-brightness
- 格式
- uint8
- 读写
- 值
- 0 ~ 255,步长 1
Actions
查询唤醒模式配置
#2 · get-awake-config
出参
#15awake-渐变持续时长uint8#17渐变终点亮度uint8#18渐变起点亮度uint8
查询助眠模式配置
#3 · get-asleep-config
出参
#16asleep-渐变持续时长uint8#17渐变终点亮度uint8#18渐变起点亮度uint8
设置唤醒模式配置
#4 · set-awake-config
入参
#15awake-渐变持续时长uint8#17渐变终点亮度uint8#18渐变起点亮度uint8
设置助眠模式配置
#5 · set-asleep-config
入参
#16asleep-渐变持续时长uint8#17渐变终点亮度uint8#18渐变起点亮度uint8
智能场景#3 · scene属性 9
智能场景
#3 · scene
Properties
开关状态切换
#1 · toggle
- 格式
- bool
- 读写
- W
- 值
- —
亮度增加
#2 · brightness-add
- 格式
- bool
- 读写
- W
- 值
- —
亮度减少
#3 · brightness-dec
- 格式
- bool
- 读写
- W
- 值
- —
亮度切换
#4 · brightness-sw
- 格式
- bool
- 读写
- W
- 值
- —
开或切换亮度
#5 · on-or-brightness
- 格式
- bool
- 读写
- W
- 值
- —
色温增加
#6 · colortemperature-add
- 格式
- bool
- 读写
- W
- 值
- —
色温减少
#7 · colortemperature-dec
- 格式
- bool
- 读写
- W
- 值
- —
色温切换
#8 · colortemperature-sw
- 格式
- bool
- 读写
- W
- 值
- —
开或切换色温
#9 · on-or-colortemp
- 格式
- bool
- 读写
- W
- 值
- —
专业设置#4 · professional-setting属性 5
专业设置
#4 · professional-setting
Properties
默认状态
#1 · default
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Memory1Light-on
默认灯光
#2 · user-save
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Off1On
灯光变化
#3 · dimming
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Gradient1Immediately
起夜灯模式
#5 · night-switch
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Off1On
延时关灯
#6 · delay
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 60,步长 1
遥控器#8 · remote属性 14
遥控器
#8 · remote
Properties
遥控功能开关
#1 · remote-switch
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Off1On
添加遥控
#2 · remote-add
- 格式
- uint8
- 读写
- W
- 值
- 1Remote-add
删除遥控
#3 · remote-del
- 格式
- int32
- 读写
- W
- 值
- -2147483648 ~ 2147483647,步长 1
遥控1-4类型
#4 · remote-ltype
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控5-8类型
#5 · remote-htype
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控1
#6 · remote-a
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控2
#7 · remote-b
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控3
#8 · remote-c
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控4
#9 · remote-d
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控5
#10 · remote-e
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控6
#11 · remote-f
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控7
#12 · remote-g
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控8
#13 · remote-h
- 格式
- int32
- 读写
- R / N
- 值
- -2147483648 ~ 2147483647,步长 1
遥控cmd
#14 · remote-cmd
- 格式
- int32
- 读写
- N
- 值
- -2147483648 ~ 2147483647,步长 1
节律模式#9 · rhythmic-function属性 8
节律模式
#9 · rhythmic-function
Properties
节律开关
#1 · rhythm-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式开关(bit0~8) 可选择多日周期触发
#2 · schema-definition
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 255,步长 1
周期上报 BIT[0]: 0:单次触发 1:周期触发 BIT[1-7]:周一 ~ 周日
#3 · rhythm-cycle
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 255,步长 1
日出模式(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#4 · light-mode-a
- 格式
- string
- 读写
- R / W / N
- 值
- —
正午阳光(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#5 · light-mode-b
- 格式
- string
- 读写
- R / W / N
- 值
- —
下午休闲(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#6 · light-mode-c
- 格式
- string
- 读写
- R / W / N
- 值
- —
日落黄昏(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#7 · light-mode-d
- 格式
- string
- 读写
- R / W / N
- 值
- —
夜晚助眠(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#8 · light-mode-e
- 格式
- string
- 读写
- R / W / N
- 值
- —
