語言
Service tree
灯#2 · light屬性 7動作 6
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1 percentage
色温
#3 · color-temperature
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 2700 ~ 6000,步長 1 kelvin
模式
#6 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0恢复记忆1初始2日光3月光4温馨5阅读6影院7娱乐8自定义19自定义210自定义311自定义412自定义513自定义614自定义715自定义816助眠17唤醒
默认上电状态
#7 · default-power-on-state
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0关灯1开灯
灯缓亮
#11 · light-on-gradient-time
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 0 ~ 30,步長 1 seconds
灯缓灭
#12 · light-off-gradient-time
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 0 ~ 30,步長 1 seconds
Actions
开关状态切换
#1 · toggle
亮度+
#2 · brightness-up
亮度-
#3 · brightness-down
色温+
#4 · color-temperature-up
色温-
#5 · color-temperature-down
切换灯光模式
#6 · toggle-light-mode
灯高阶#3 · light-ext屬性 14動作 2
灯高阶
#3 · light-ext
Properties
开灯后的灯光模式
#5 · light-default-string
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0Memory1Initial2Day3Night4Warmth5Reading6Movie7Entertainment8Custom19Custom210Custom311Custom412Custom513Custom614Custom715Custom816Sleep Aid17Wake Up
调光变化时间
#10 · dimming-duration
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 0 ~ 30,步長 1 seconds
新建/编辑自定义模式
#16 · update-mode
- 格式
- int32
- 讀寫
- W
- 值
- 8Custom19Custom210Custom311Custom412Custom513Custom614Custom715Custom8
助眠持续时长
#17 · sleep-aid-duration
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 30,步長 1 minutes
助眠模式起始亮度类型
#18 · sleep-init-type
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Current1Custom
助眠模式自定义起始亮度
#19 · init-brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1 percentage
助眠功能指定初始色温类型
#20 · sleep-color-type
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Current1Custom
助眠功能指定初始色温值
#21 · init-color-temp
- 格式
- uint16
- 讀寫
- R / W / N
- 值
- 2700 ~ 6000,步長 1 kelvin
唤醒持续时长
#22 · wake-up-duration
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 30,步長 1 minutes
唤醒模式最终亮度类型
#23 · wake-up-finally-type
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0LastValue1Custom
唤醒模式最终亮度
#24 · final-brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1 percentage
唤醒功能指定初始色温类型
#25 · wake-up-color-temp
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Current1Custom
唤醒功能指定初始色温值
#26 · final-color-temp
- 格式
- uint16
- 讀寫
- R / W / N
- 值
- 2700 ~ 6000,步長 1 kelvin
重置通知
#28 · reset-device
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 255,步長 1
Actions
查找灯
#3 · search-lights
停止查找灯
#4 · stop-search-lights
