語言
Service tree
Light#2 · light屬性 14動作 6
Light
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
亮度
#2 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1 percentage
色温
#3 · color-temperature
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 2700 ~ 6000,步長 1 kelvin
颜色
#4 · color
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 0 ~ 16777215,步長 1 rgb
饱和度
#5 · saturability
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0 ~ 100,步長 1 percentage
默认上电状态
#7 · default-power-on-state
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
亮度调节值
#9 · brightness-delta
- 格式
- int32
- 讀寫
- 值
- 1 ~ 100,步長 1
色温调节值
#10 · color-temperature-delta
- 格式
- int32
- 讀寫
- 值
- 2700 ~ 6000,步長 1 kelvin
凌动开关
#8 · flex-switch
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
灯缓亮
#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
灯的模式
#6 · mode
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 0恢复记忆模式1初始模式2日光3月光4温馨5阅读6影院7娱乐8自定义19自定义210自定义311自定义412自定义513自定义614自定义715自定义816自定义917自定义10
流光功能(前)
#14 · flow
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 4294967295,步長 1
流光速度
#15 · flow-speed-level
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 200 ~ 5000,步長 200
Actions
亮度+
#1 · brightness-up
亮度-
#2 · brightness-down
色温+
#3 · color-temperature-up
色温-
#4 · color-temperature-down
开关状态切换
#5 · toggle
切换灯光模式
#6 · toggle-light-mode
灯高阶#3 · light-ext屬性 9動作 5
灯高阶
#3 · light-ext
Properties
开灯后的灯光模式
#5 · light-default-string
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0Memory1Initial2Day3Night4Warmth5Reading6Movie7Entertainment8Custom19Custom210Custom311Custom412Custom513Custom614Custom715Custom816Custom917Custom10
场景信息(格式为第一个字节:id 第二个字节:亮度 第三个第四个字节:色温)
#9 · setting-mode
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 176947456 ~ 393241617,步長 1
调光变化时间
#10 · dimming-duration
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 0 ~ 30,步長 1
最低亮度设置(占空比,0.01%-1%)
#11 · minimum-brightness
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 10 ~ 100,步長 10
当前灯类型
#12 · current-light-type
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 1CW2RGB3RGBW4RGBCW0DEFAULT
当前灯光颜色类型
#13 · current-color-mode
- 格式
- int32
- 讀寫
- R / W / N
- 值
- 1ColorTemperature2RGB3Flow
颜色调节步长
#14 · color-step
- 格式
- int32
- 讀寫
- 值
- 0 ~ 360,步長 1
流光功能(后)
#15 · flow
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 4294967295,步長 1
新建/编辑自定义模式
#16 · update-mode
- 格式
- int32
- 讀寫
- W
- 值
- 8Custom19Custom210Custom311Custom412Custom513Custom614Custom715Custom816Custom917Custom10
Actions
切换场景信息
#2 · toggle-setting-mode
查找灯
#3 · search-lights
停止查找灯
#4 · stop-search-lights
颜色+
#5 · color-up
颜色-
#6 · color-down
