語言
Service tree
灯#2 · light屬性 4動作 1
灯
#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 ~ 6500,步長 1 kelvin
模式
#4 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0日光1阅读模式2月光(夜间)模式
Actions
开关状态切换
#1 · toggle
设备配置#3 · light-cfg屬性 4
设备配置
#3 · light-cfg
Properties
设备防误删功能
#1 · avoid-incodeletion
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
断电记忆功能
#2 · poweroff-memory
- 格式
- bool
- 讀寫
- W / R / N
- 值
- —
开灯渐变时间
#3 · on-transition-time
- 格式
- uint16
- 讀寫
- W / N / R
- 值
- 0 ~ 65530,步長 1
关灯渐变时间
#4 · off-transition-time
- 格式
- uint16
- 讀寫
- R / N / W
- 值
- 0 ~ 65530,步長 1
灯光控制#4 · light-control屬性 1動作 1
灯光控制
#4 · light-control
Properties
灯控动作属性
#1 · light-control
- 格式
- uint32
- 讀寫
- 值
- 1Level-up3Level-down5Temp-up7Temp-down
Actions
灯控执行动作
#1 · light-control
入參
#1灯控动作属性uint32
