语言
Service tree
灯#2 · light属性 12动作 5
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1
色温
#3 · color-temperature
- 格式
- uint16
- 读写
- R / W / N
- 值
- 3000 ~ 5000,步长 1
模式
#7 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0色温模式4日光5月光(夜间)模式7温馨8电视模式(影院模式)9阅读模式10电脑模式11会客模式12娱乐模式13唤醒模式14黄昏模式15助眠模式16我的模式117我的模式218我的模式319我的模式420护眼模式21呼吸22节拍23节律模式24明亮25休闲模式26夜灯
默认上电状态
#9 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0断电记忆1上电打开2上电关闭
凌动开关
#12 · flex-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
助眠模式
#13 · sleep-aid-mode
- 格式
- bool
- 读写
- R / W / N
- 值
- —
唤醒模式
#14 · wake-up-mode
- 格式
- bool
- 读写
- R / W / N
- 值
- —
awake-渐变持续时长
#15 · gradual-duration
- 格式
- uint8
- 读写
- 值
- 1 ~ 60,步长 1
asleep-渐变持续时长
#16 · gradual-duration
- 格式
- uint8
- 读写
- 值
- 1 ~ 60,步长 1
渐变终点亮度
#17 · gradual-end-point-brightness
- 格式
- uint8
- 读写
- 值
- 0 ~ 255,步长 1
渐变起点亮度
#18 · gradual-start-point-brightness
- 格式
- uint8
- 读写
- 值
- 0 ~ 255,步长 1
Actions
开关状态切换
#1 · toggle
查询唤醒模式配置
#2 · get-awake-config
出参
#15awake-渐变持续时长uint8#17渐变终点亮度uint8#18渐变起点亮度uint8
查询助眠模式配置
#3 · get-asleep-config
出参
#16asleep-渐变持续时长uint8#17渐变终点亮度uint8#18渐变起点亮度uint8
设置唤醒模式配置
#4 · set-awake-config
入参
#15awake-渐变持续时长uint8#17渐变终点亮度uint8#18渐变起点亮度uint8
设置助眠模式配置
#5 · set-asleep-config
入参
#16asleep-渐变持续时长uint8#17渐变终点亮度uint8#18渐变起点亮度uint8
智能场景#4 · scene属性 8
智能场景
#4 · scene
Properties
亮度增加
#1 · brightness-add
- 格式
- bool
- 读写
- W
- 值
- —
亮度减少
#2 · brightness-dec
- 格式
- bool
- 读写
- W
- 值
- —
亮度切换
#3 · brightness-switch
- 格式
- bool
- 读写
- W
- 值
- —
开或切换亮度
#4 · on-or-brightness
- 格式
- bool
- 读写
- W
- 值
- —
色温增加
#5 · colortemperature-add
- 格式
- bool
- 读写
- W
- 值
- —
色温减少
#6 · colortemperature-dec
- 格式
- bool
- 读写
- W
- 值
- —
色温切换
#7 · colortemperature-sw
- 格式
- bool
- 读写
- W
- 值
- —
开或切换色温
#8 · on-or-colortemp
- 格式
- bool
- 读写
- W
- 值
- —
功能设置#5 · function属性 12
功能设置
#5 · function
Properties
默认灯光
#1 · user-save
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Off1On
灯光变化
#2 · dimming
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Gradient1Immediately
起夜灯模式
#3 · night-switch
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0OFF1On
延时关灯
#4 · delay
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 60,步长 1
渐变时间设置,字节[0]开灯渐变时间,字节[1]关灯渐变时间,字节[2]模式渐变时间
#5 · fade-time
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
最低亮度千分比
#6 · lowest-brightness
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 500,步长 1
字节[0]BIT0-锁定重置操作 BIT1-锁定设置参数 BIT2-锁定遥控器配对和情景保存 BIT3-AC开关 BIT4-自定义情景;字节[1]预留0;字节[2]旋钮亮度档位;字节[3]旋钮色温档位
#7 · lock-state
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
模式1配置,字节[0]开关,字节[1]亮度,字节[2]色温,字节[3]渐变时间
#8 · light-mode-one
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
模式2配置,字节[0]开关,字节[1]亮度,字节[2]色温,字节[3]渐变时间
#9 · light-mode-two
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
模式3配置,字节[0]开关,字节[1]亮度,字节[2]色温,字节[3]渐变时间
#10 · light-mode-three
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
模式4配置,字节[0]开关,字节[1]亮度,字节[2]色温,字节[3]渐变时间
#11 · light-mode-four
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 4294967295,步长 1
参数重置
#12 · factory-reset
- 格式
- uint32
- 读写
- W
- 值
- 0Reset All Params
遥控器#6 · remote属性 14
遥控器
#6 · 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
遥控指令
#14 · remote-cmd
- 格式
- int32
- 读写
- N
- 值
- -2147483648 ~ 2147483647,步长 1
节律功能#7 · rhythmic-function属性 8
节律功能
#7 · rhythmic-function
Properties
节律开关
#1 · thythm-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式开关(bit0~8) 可选择多日周期触发
#2 · schema-definition
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 255,步长 1
周期上报 BIT[0]: 0:单次触发 1:周期触发 BIT[1-7]:周一 ~ 周日
#3 · rhythm-cycle
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 255,步长 1
日出模式(模式时间、模式亮度、色温-渐变时间-时分秒
#4 · light-mode-a
- 格式
- string
- 读写
- R / W / N
- 值
- —
正午阳光(模式时间、模式亮度、色温-渐变时间-时分秒
#5 · light-mode-b
- 格式
- string
- 读写
- R / W / N
- 值
- —
下午休闲(模式时间-模式亮度、色温-渐变时间-时分秒)
#6 · light-mode-c
- 格式
- string
- 读写
- R / W / N
- 值
- —
日落黄昏(模式时间-模式亮度、色温-渐变时间-时分秒)
#7 · light-mode-d
- 格式
- string
- 读写
- R / W / N
- 值
- —
夜晚助眠(模式时间-模式亮度、色温-渐变时间-时分秒)
#8 · light-mode-e
- 格式
- string
- 读写
- R / W / N
- 值
- —
