MIOT
语言
Service tree
灯#2 · light属性 7动作 1
灯
#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
- 值
- 1日光模式2月光模式
凌动开关
#12 · flex-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
助眠模式
#13 · sleep-aid-mode
- 格式
- bool
- 读写
- R / W / N
- 值
- —
唤醒模式
#14 · wake-up-mode
- 格式
- bool
- 读写
- R / W / N
- 值
- —
Actions
开关状态切换
#1 · toggle
setting#4 · setting属性 21动作 7事件 1
setting
#4 · setting
Properties
ac-status
#1 · ac-status
- 格式
- bool
- 读写
- N / R
- 值
- —
power-on-state
#2 · power-on-state
- 格式
- bool
- 读写
- N / R / W
- 值
- —
turn-on-state
#3 · turn-on-state
- 格式
- bool
- 读写
- N / R / W
- 值
- —
default-brightness
#4 · default-brightness
- 格式
- uint8
- 读写
- N / R
- 值
- 1 ~ 100,步长 1
default-temperature
#5 · default-temperature
- 格式
- uint16
- 读写
- N / R
- 值
- 2700 ~ 5700,步长 1
update
#6 · update
- 格式
- uint8
- 读写
- W
- 值
- 0Update
sleep-aid-time
#7 · sleep-aid-time
- 格式
- uint8
- 读写
- N / R / W
- 值
- 1 ~ 60,步长 1
custom-sleep-aid
#8 · custom-sleep-aid
- 格式
- bool
- 读写
- N / R / W
- 值
- —
initial-brightness
#9 · initial-brightness
- 格式
- uint8
- 读写
- N / R / W
- 值
- 1 ~ 100,步长 1
initial-temperature
#10 · initial-temperature
- 格式
- uint16
- 读写
- N / R / W
- 值
- 2700 ~ 5700,步长 1
wake-up-time
#11 · wake-up-time
- 格式
- uint8
- 读写
- N / R / W
- 值
- 1 ~ 60,步长 1
custom-weak-up
#12 · custom-weak-up
- 格式
- bool
- 读写
- N / R / W
- 值
- —
final-brightness
#13 · final-brightness
- 格式
- uint8
- 读写
- N / R / W
- 值
- 1 ~ 100,步长 1
final-temperature
#14 · final-temperature
- 格式
- uint16
- 读写
- N / R / W
- 值
- 2700 ~ 5700,步长 1
gradient-duration-on
#17 · gradient-duration-on
- 格式
- uint16
- 读写
- N / R / W
- 值
- 100 ~ 30000,步长 100
gradient-duration-of
#18 · gradient-duration-of
- 格式
- uint16
- 读写
- N / R / W
- 值
- 100 ~ 30000,步长 100
gradient-duration-aj
#19 · gradient-duration-aj
- 格式
- uint16
- 读写
- N / R / W
- 值
- 100 ~ 30000,步长 100
fill-light-detection
#20 · fill-light-detection
- 格式
- bool
- 读写
- N / R
- 值
- —
fill-light-switch
#21 · fill-light-switch
- 格式
- bool
- 读写
- N / R / W
- 值
- —
moonlight-bright
#22 · moonlight-bright
- 格式
- uint8
- 读写
- N / R
- 值
- 1 ~ 100,步长 1
sunshine-bright
#23 · sunshine-bright
- 格式
- uint8
- 读写
- N / R
- 值
- 1 ~ 100,步长 1
Actions
brightness-increase
#1 · brightness-increase
brightness-reduction
#2 · brightness-reduction
temperature-increase
#3 · temperature-increase
temperature-decrease
#4 · temperature-decrease
match-code
#5 · match-code
clear-code
#6 · clear-code
restore-factory
#7 · restore-factory
Events
success
#1 · success