语言
Service tree
灯#2 · light属性 5动作 4
灯
#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
- 值
- 2700 ~ 6000,步长 1 kelvin
模式(日光/夜灯)
#7 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0日光1夜灯
默认上电状态
#9 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0断电记忆1上电打开2上电关闭
Actions
开关状态切换
#1 · toggle
亮度-
#2 · brightness-down
亮度+
#3 · brightness-up
切换灯光模式
#4 · toggle-light-mode
延时#3 · delay属性 3
延时
#3 · delay
Properties
延时
#1 · delay
- 格式
- bool
- 读写
- R / W / N
- 值
- —
延时时间
#2 · delay-time
- 格式
- uint32
- 读写
- R / W / N
- 值
- 1 ~ 60,步长 1 minutes
延时剩余时间
#3 · delay-remain-time
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 60,步长 1 minutes
氛围灯#4 · ambient-light属性 3动作 1
氛围灯
#4 · ambient-light
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
亮度
#3 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1 percentage
色温
#4 · color-temperature
- 格式
- uint32
- 读写
- R / W / N
- 值
- 2700 ~ 6000,步长 1 kelvin
Actions
开关状态切换
#2 · toggle
专注模式#6 · focus-mode属性 4
专注模式
#6 · focus-mode
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
专注时长
#2 · focus-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 90,步长 1 minutes
休息时长
#3 · rest-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 90,步长 1 minutes
循环次数
#4 · recycle-number
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 60,步长 1
yeelight#5 · yeelight属性 11动作 6事件 2
yeelight
#5 · yeelight
Properties
以指定亮度开灯
#1 · on-with-bright
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 100,步长 1 percentage
开灯并延时关灯
#2 · on-then-delayoff
- 格式
- uint8
- 读写
- W
- 值
- 1 ~ 60,步长 1 minutes
雷达开关
#3 · radar-en
- 格式
- bool
- 读写
- W / R / N
- 值
- —
雷达时间配置2200|0600
#4 · radar-time-conf
- 格式
- string
- 读写
- R / N / W
- 值
- —
雷达无人判断延时
#5 · radar-nobody-delay
- 格式
- uint16
- 读写
- W / R / N
- 值
- 1 ~ 15,步长 1 minutes
雷达有人时动作
#6 · radar-move-action
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0无动作1开灯
雷达无人动作
#7 · radar-nobody-action
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0无动作1关灯
补光灯是否跟随主灯
#8 · follow-main-light
- 格式
- bool
- 读写
- R / N / W
- 值
- —
小夜灯 'enable/disable|220000|060000|00' = '开关|起始时间|结束时间|延时关灯'
#9 · night-time
- 格式
- string
- 读写
- W / R / N
- 值
- —
补光灯状态
#10 · fill-light-state
- 格式
- uint8
- 读写
- R / N
- 值
- 0折叠1展开
雷达检测距离设置
#11 · radar-gear
- 格式
- uint8
- 读写
- W / R / N
- 值
- 0近1远
Actions
色温+
#1 · ct-up
色温-
#2 · ct-down
补光灯亮度-
#3 · fill-brightness-down
补光灯亮度+
#4 · fill-brightness-up
补光灯色温-
#5 · fill-ct-down
补光灯色温+
#6 · fill-ct-up
Events
有人
#1 · moving-true
无人
#2 · moving-false
情景列表#7 · scene-list属性 2
情景列表
#7 · scene-list
Properties
'数量|id,主灯色温,主灯亮度,补光灯色温,补光灯亮度|...' = '6|1,4800,100,4800,100|2,4800,100,4800,100|3,4800,100,4800,100|4,4800,100,4800,100|7,4800,100,4800,100|9,4800,100,4800,100'
#1 · list
- 格式
- string
- 读写
- R / N / W
- 值
- —
情景id
#2 · scene
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0自由调节1会议模式2专注模式3阅读模式4休闲模式5Custom16Custom27Custom38Custom49Custom510Custom611Custom712Custom8
