语言
Service tree
灯#2 · light属性 7动作 1
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
色温
#3 · color-temperature
- 格式
- uint16
- 读写
- R / W / N
- 值
- 1800 ~ 12000,步长 1 kelvin
亮度
#2 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1 percentage
颜色
#4 · color
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 16777215,步长 1 rgb
当前颜色模式
#6 · current-color-mode
- 格式
- uint8
- 读写
- R / N
- 值
- 1色温2颜色
模式
#7 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0空场景(灯不在任何情况模式时,上报该属性值)1云野鎏金2碧海晴沙3浮金溯影4雪原月夜5云海初阳6白塔晴空7暮沙浮光8夜沙浮银9明亮办公10蓝天白云
默认上电状态
#9 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0断电记忆1上电关闭2上电打开
Actions
开关状态切换
#1 · toggle
智能场景#4 · scene属性 9
智能场景
#4 · scene
Properties
亮度切换
#1 · brightness-switch
- 格式
- uint8
- 读写
- W
- 值
- 0Brightness-switch
色温增加
#2 · colortemperature-add
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 50,步长 1 percentage
色温减少
#3 · colortemperature-dec
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 50,步长 1 percentage
色温切换
#4 · colortemperature-sw
- 格式
- uint8
- 读写
- W
- 值
- 0Colortemperature-sw
开或切换亮度
#5 · on-or-brightness
- 格式
- uint8
- 读写
- W
- 值
- 0On-or-brightness
开或切换色温
#6 · on-or-colortemp
- 格式
- uint8
- 读写
- W
- 值
- 0On-or-colortemp
亮度增加
#7 · brightness-add
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 50,步长 1 percentage
亮度减少
#8 · brightness-dec
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 50,步长 1 percentage
颜色切换
#9 · rgb-sw
- 格式
- uint8
- 读写
- W
- 值
- 0Rgb-sw
默认状态#5 · default
默认状态
#5 · default
遥控器#6 · remote属性 10
遥控器
#6 · remote
Properties
遥控功能开关
#1 · remote-switch
- 格式
- uint8
- 读写
- W / R / 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
节律功能#7 · rhythmic-function属性 8
节律功能
#7 · rhythmic-function
Properties
节律开关
#1 · rhythm-switch
- 格式
- bool
- 读写
- R / N / W
- 值
- —
模式开关(bit0-8)可选择多日周期触发
#2 · schema-definition
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0 ~ 255,步长 1
周期上报BIT[0]: 0:单次触发 1:周期触发BIT[1-7]:周一周日
#3 · rhythm-cycle
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0 ~ 255,步长 1
日出模式(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#4 · light-mode-a
- 格式
- string
- 读写
- R / N / W
- 值
- —
正午阳光(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#5 · light-mode-b
- 格式
- string
- 读写
- R / N / W
- 值
- —
下午休闲(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#6 · light-mode-c
- 格式
- string
- 读写
- R / N / W
- 值
- —
日落黄昏(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#7 · light-mode-d
- 格式
- string
- 读写
- R / N / W
- 值
- —
夜晚助眠(模式时间、模式亮度、色温)、渐变时间:时-分-秒
#8 · light-mode-e
- 格式
- string
- 读写
- R / N / W
- 值
- —
