語言
Service tree
Light#2 · light屬性 9動作 5
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 ~ 5100,步長 1 kelvin
Default Power On State
#12 · default-power-on-state
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Default1On2Off
開燈漸變時長
#13 · light-on-gradient-time
- 格式
- float
- 讀寫
- R / W / N
- 值
- 0 ~ 5,步長 0.5 seconds
關燈漸變時長
#14 · light-off-gradient-time
- 格式
- float
- 讀寫
- R / W / N
- 值
- 0 ~ 5,步長 0.5 seconds
Mode
#15 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Auto1閱讀模式2電腦模式3溫馨模式4休閒模式5辦公模式6娛樂模式
Brightness Delta
#16 · brightness-delta
- 格式
- uint8
- 讀寫
- 值
- 1 ~ 30,步長 1 percentage
Color Temperature Delta
#17 · color-temperature-delta
- 格式
- uint16
- 讀寫
- 值
- 200 ~ 2400,步長 100 kelvin
Actions
Toggle
#1 · toggle
Brightness Up
#2 · brightness-up
入參
#16Brightness Deltauint8
Brightness Down
#3 · brightness-down
入參
#16Brightness Deltauint8
Color Temperature Up
#4 · color-temperature-up
入參
#17Color Temperature Deltauint16
Color Temperature Down
#5 · color-temperature-down
入參
#17Color Temperature Deltauint16
Delay#4 · delay屬性 3
Delay
#4 · delay
Properties
Delay
#1 · delay
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
Delay Time
#2 · delay-time
- 格式
- uint32
- 讀寫
- R / W / N
- 值
- 1 ~ 60,步長 1 minutes
Delay Remain Time
#3 · delay-remain-time
- 格式
- uint32
- 讀寫
- R / N
- 值
- 1 ~ 60,步長 1 minutes
專注模式#5 · focus-mode屬性 4
專注模式
#5 · focus-mode
Properties
Switch Status
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
專注時長
#2 · focus-time
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 90,步長 1 minutes
休息時長
#3 · rest-time
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 90,步長 1 minutes
循環次數
#4 · recycle-number
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 60,步長 1
yeelight#6 · yeelight屬性 1動作 2
yeelight
#6 · yeelight
Properties
Turn on & turn-off delay enabled
#1 · on-then-delayoff
- 格式
- uint8
- 讀寫
- W
- 值
- 1 ~ 60,步長 1 minutes
Actions
Switch brightness
#1 · bright-circle
Switch color temperature
#5 · ct-circle
