語言
Service tree
灯#2 · light屬性 9動作 5
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
色温
#3 · color-temperature
- 格式
- uint16
- 讀寫
- R / W / N
- 值
- 2700 ~ 6500,步長 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
- 值
- 0RGB1日光2月光(夜间)模式5温馨6休闲模式7电视模式(影院模式)8夜灯9烛光模式10阅读模式
默认上电状态
#9 · default-power-on-state
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0断电记忆1上电关闭2上电打开
凌动开关
#12 · flex-switch
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
夜灯开关
#13 · night-light-switch
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
Actions
开关状态切换
#1 · toggle
亮度+
#2 · brightness-up
色温-
#3 · color-temperature-down
色温+
#4 · color-temperature-up
亮度-
#5 · brightness-down
自定义功能点#4 · custom-function屬性 4動作 4
自定义功能点
#4 · custom-function
Properties
流光效果
#1 · flowing-lighteffect
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0默认1灵动2舞者3海浪4花海5春意6梦境7光影8葱郁9热烈10舞会11斑斓12岁寒13青春14落叶15余晖16魔力
渐变时间设置,字节[0]开灯渐变时间,字节[1]关灯渐变时间,字节[2]模式渐变时间
#4 · fade-time
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 4294967295,步長 1
延时关灯智能场景
#15 · delay
- 格式
- uint8
- 讀寫
- W
- 值
- 1 ~ 60,步長 1 minutes
流光模式渐变档位
#16 · flow-fade-time
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1Level12Level23Level34Level45Level56Level67Level78Level89Level910Level10
Actions
亮度切换
#1 · brightness-sw
色温切换
#2 · colortemperature-sw
开或切换亮度
#3 · on-or-brightness
开或切换色温
#4 · on-or-colortemp
遥控器#5 · remote屬性 13
遥控器
#5 · 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
氛围灯#6 · light-ambient屬性 1
氛围灯
#6 · light-ambient
Properties
模式
#4 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0WY1Color2Flow
延时#3 · delay屬性 2
延时
#3 · delay
Properties
延时时间
#2 · delay-time
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 60,步長 1 minutes
延时
#4 · delay
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
