语言
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
亮度
#2 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1
颜色
#4 · color
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 16777215,步长 1
当前颜色模式
#6 · current-color-mode
- 格式
- uint8
- 读写
- R / N
- 值
- 1颜色2色温
模式
#7 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1日光2月光5温馨6休闲7电影8夜灯9烛光10阅读0RGB
默认上电状态
#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
延时#3 · delay属性 2
延时
#3 · delay
Properties
延时时间
#2 · delay-time
- 格式
- uint32
- 读写
- R / W / N
- 值
- 1 ~ 60,步长 1
延时
#4 · delay
- 格式
- bool
- 读写
- R / W / N
- 值
- —
氛围灯#6 · ambient-light属性 3
氛围灯
#6 · ambient-light
Properties
氛围灯开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
亮度
#3 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1
模式
#4 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1颜色2流光0WY
自定义功能点#4 · custom-function属性 5动作 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幻境
主灯跟随开关
#2 · follow-theswitch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
灯光类型
#3 · typeoflight
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1Standard Lighting2Follow The Switch Lights
渐变时间设置,字节[0]开灯渐变时间,字节[1]关灯渐变时间,字节[2]模式渐变时间
#4 · fade-time
- 格式
- uint32
- 读写
- R / N / W
- 值
- 0 ~ 16777215,步长 1
延时关灯智能场景
#15 · delay
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 60,步长 1
Actions
亮度切换
#1 · brightness-sw
色温切换
#2 · colortemperature-sw
开或切换亮度
#3 · on-or-brightness
开或切换色温
#4 · on-or-colortemp
遥控器#5 · remote属性 11
遥控器
#5 · remote
Properties
遥控功能开关
#1 · remote-switch
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Off1On
添加遥控
#2 · remote-add
- 格式
- uint8
- 读写
- W
- 值
- 1Remote-add
删除遥控
#3 · remote-del
- 格式
- string
- 读写
- W
- 值
- —
遥控1
#6 · remote-a
- 格式
- string
- 读写
- R / N
- 值
- —
遥控2
#7 · remote-b
- 格式
- string
- 读写
- R / N
- 值
- —
遥控3
#8 · remote-c
- 格式
- string
- 读写
- R / N
- 值
- —
遥控4
#9 · remote-d
- 格式
- string
- 读写
- R / N
- 值
- —
遥控5
#10 · remote-e
- 格式
- string
- 读写
- R / N
- 值
- —
遥控6
#11 · remote-f
- 格式
- string
- 读写
- R / N
- 值
- —
遥控7
#12 · remote-g
- 格式
- string
- 读写
- R / N
- 值
- —
遥控8
#13 · remote-h
- 格式
- string
- 读写
- R / N
- 值
- —
