语言
Service tree
灯#2 · light属性 5动作 1
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1 percentage
色温
#3 · color-temperature
- 格式
- uint16
- 读写
- R / W / N
- 值
- 1800 ~ 12000,步长 1 kelvin
模式
#7 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0空场景(灯不在任何情况模式时,上报该属性值)1飘云2大海3沙漠4星际5春天6盛夏7金秋8暖冬9晴空万里10晚霞11晨光12蓝天白云13春暖花开14圆光续梦15姹紫嫣红16雨天17暖光盈室18火星19霞云20黄昏21烈日炎炎22白光23自然光24黄光25小夜灯
默认上电状态
#9 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0断电记忆1上电关闭2上电打开
Actions
开关状态切换
#1 · toggle
智能场景#4 · scene属性 8
智能场景
#4 · scene
Properties
亮度切换
#1 · brightness-switch
- 格式
- uint8
- 读写
- W
- 值
- 0Brightness-switch
色温增加
#2 · colortemperature-add
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 50,步长 1
色温减少
#3 · colortemperature-dec
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 50,步长 1
色温切换
#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
亮度减少
#8 · brightness-dec
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 50,步长 1
遥控器#6 · remote属性 13
遥控器
#6 · remote
Properties
遥控功能开关
#1 · remote-switch
- 格式
- uint8
- 读写
- R / N / W
- 值
- 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
