語言
Service tree
Light#2 · light屬性 5動作 1
Light
#2 · light
Properties
Switch Status
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
Brightness
#2 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1 percentage
Color Temperature
#3 · color-temperature
- 格式
- uint16
- 讀寫
- R / W / N
- 值
- 2700 ~ 5000,步長 100 kelvin
Color
#4 · color
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 0 ~ 16777215,步長 1 rgb
情景模式
#5 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1Light2Breathe3Candlelight4FlowColor5Leisure
Actions
Toggle
#1 · toggle
Battery#3 · battery屬性 3
Battery
#3 · battery
Properties
Battery Level
#1 · battery-level
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 100,步長 1
Charging State
#2 · charging-state
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0Unplugged1Charging
Charging State
#3 · charging-state
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0No Equipment1Charging2Full3Inserted But Not Charged
custom#4 · custom屬性 2動作 10
custom
#4 · custom
Properties
#1 · delay-switch
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
#2 · delay-time
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 60,步長 1 minutes
Actions
brightnessup
#2 · brightnessup
brightnessdown
#3 · brightnessdown
brightnessswitch
#4 · brightnessswitch
colorup
#5 · colorup
colordown
#6 · colordown
temperatureswitch
#7 · temperatureswitch
colorswitch
#8 · colorswitch
brightnesscut
#9 · brightnesscut
colortemperaturecut
#10 · colortemperaturecut
opencolorcut
#11 · opencolorcut
