语言
Service tree
灯#2 · light属性 5动作 4
灯
#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
- 值
- 2700 ~ 5700,步长 1
模式
#7 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0空场景(灯不在任何情况模式时,上报该属性值)4明亮模式5夜灯模式7温馨模式8影院模式9阅读模式10电脑模式11会客模式12娱乐模式13清晨唤醒14黄昏明亮15夜晚助眠
默认上电状态
#9 · default-power-on-state
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0断电记忆1上电打开2上电关闭
Actions
开关状态切换
#1 · toggle
亮度+
#2 · brightness-up
亮度-
#3 · brightness-down
切换灯光模式
#4 · toggle-light-mode
智能场景#4 · scene属性 6
智能场景
#4 · scene
Properties
亮度切换
#1 · brightness-switch
- 格式
- uint8
- 读写
- W
- 值
- 0Brightness-switch
色温增加
#2 · colortemperature-add
- 格式
- uint8
- 读写
- W
- 值
- 0Colortemperature-add
色温减少
#3 · colortemperatre-dec
- 格式
- uint8
- 读写
- W
- 值
- 0Colortemperatre-dec
色温切换
#4 · colortemperature-sw
- 格式
- uint8
- 读写
- W
- 值
- 0Colortemperature-sw
开或切换亮度
#5 · on-or-brightness
- 格式
- uint8
- 读写
- W
- 值
- 0On-or-brightness
开或切换色温
#6 · on-or-colortemp
- 格式
- uint8
- 读写
- W
- 值
- 0On-or-colortemp
