语言
Service tree
灯#2 · light属性 11动作 4
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0自动
亮度
#3 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1 percentage
颜色
#4 · color
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 16777215,步长 1 rgb
色温
#5 · color-temperature
- 格式
- uint32
- 读写
- R / W / N
- 值
- 2700 ~ 6500,步长 1 celsius
流光功能
#6 · flow
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0自动
凌动开关
#8 · flex-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
默认上电状态
#9 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0开1关
渐变持续时长
#12 · gradual-duration
- 格式
- uint8
- 读写
- 值
- 1 ~ 30,步长 1 minutes
渐变终点亮度
#13 · gradual-end-point-brightness
- 格式
- uint8
- 读写
- 值
- 0 ~ 100,步长 1 percentage
渐变起点亮度
#14 · gradual-start-point-brightness
- 格式
- uint8
- 读写
- 值
- 0 ~ 100,步长 1 percentage
Actions
查询唤醒模式配置
#2 · get-awake-config
出参
#12渐变持续时长uint8#13渐变终点亮度uint8#14渐变起点亮度uint8
设置唤醒模式配置
#3 · set-awake-config
入参
#12渐变持续时长uint8#13渐变终点亮度uint8#14渐变起点亮度uint8
查询助眠模式配置
#4 · get-asleep-config
出参
#12渐变持续时长uint8#13渐变终点亮度uint8#14渐变起点亮度uint8
设置助眠模式配置
#5 · set-asleep-config
入参
#12渐变持续时长uint8#13渐变终点亮度uint8#14渐变起点亮度uint8
