
#yeelink.light.lamp21
米家智能充电台灯
urn:miot-spec-v2:device:light:0000A001:yeelink-lamp21:1:0000C802
Language
Service tree
Light#2 · light4 properties1 actions
Light
#2 · light
Properties
Power
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Brightness
#2 · brightness
- Format
- uint16
- Access
- R / W / N
- Value
- 1 ~ 100, step 1 percentage
Color Temperature
#3 · color-temperature
- Format
- uint16
- Access
- R / W / N
- Value
- 2700 ~ 6500, step 1 kelvin
Mode
#4 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 5Reading7Entertainment8Warmth9Night Light6Office
Actions
Toggle
#1 · toggle
Battery#4 · battery3 properties1 events
Battery
#4 · battery
Properties
Battery Level
#1 · battery-level
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 100, step 1 percentage
Charging State
#2 · charging-state
- Format
- uint8
- Access
- R / N
- Value
- 1Charging2Not Charging3Not Chargeable
Voltage
#3 · voltage
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 65535, step 1
Events
Low Battery
#1 · low-battery
scene#3 · scene30 properties14 actions1 events
scene
#3 · scene
Properties
delay-time
#1 · delay-time
- Format
- uint16
- Access
- W / R / N
- Value
- 1 ~ 60, step 1 minutes
delay-off-countdown
#2 · delay-off-countdown
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
delay-off-enable
#3 · delay-off-enable
- Format
- bool
- Access
- R / N / W
- Value
- —
kid-mode
#4 · kid-mode
- Format
- bool
- Access
- R / N / W
- Value
- —
double-click-enable
#5 · double-click-enable
- Format
- bool
- Access
- R / N / W
- Value
- —
double-click
#6 · double-click
- Format
- uint8
- Access
- R / N / W
- Value
- 1Start Pomodoro Mode2Start Delay Off
night-enable
#7 · night-enable
- Format
- bool
- Access
- R / N / W
- Value
- —
night-bright
#8 · night-bright
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 100, step 1 percentage
night-begin-hour
#9 · night-begin-hour
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 23, step 1 hours
night-begin-minute
#10 · night-begin-minute
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 59, step 1 minutes
night-end-hour
#11 · night-end-hour
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 23, step 1 hours
night-end-minute
#12 · night-end-minute
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 59, step 1 minutes
long-press-enable
#13 · long-press-enable
- Format
- bool
- Access
- R / N / W
- Value
- —
scene-mode
#16 · scene-mode
- Format
- uint8
- Access
- R / N / W
- Value
- 0Free Mode1My Mode 12My Mode 23My Mode 34My Mode 45Reading Mode6Working Mode7Entertainment Mode8Warm Mode9Night Mode10Flow Mode
scene-bright
#18 · scene-bright
- Format
- uint16
- Access
- R / N
- Value
- 1 ~ 100, step 1 percentage
scene-ct
#19 · scene-ct
- Format
- uint16
- Access
- R / N
- Value
- 2700 ~ 6500, step 1
work-minutes
#20 · work-minutes
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 120, step 1 minutes
break-minutes
#21 · break-minutes
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 120, step 1 minutes
pomodoro-enable
#22 · pomodoro-enable
- Format
- bool
- Access
- R / N / W
- Value
- —
long-press-one
#23 · long-press-one
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 10, step 1
long-press-two
#24 · long-press-two
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 10, step 1
long-press-three
#25 · long-press-three
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 10, step 1
mode-one-bright
#26 · mode-one-bright
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 100, step 1 percentage
mode-one-ct
#27 · mode-one-ct
- Format
- uint16
- Access
- R / N / W
- Value
- 2700 ~ 6500, step 1
mode-two-bright
#28 · mode-two-bright
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 100, step 1 percentage
mode-two-ct
#29 · mode-two-ct
- Format
- uint16
- Access
- R / N / W
- Value
- 2700 ~ 6500, step 1
mode-three-bright
#30 · mode-three-bright
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 100, step 1 percentage
mode-three-ct
#31 · mode-three-ct
- Format
- uint16
- Access
- R / N / W
- Value
- 2700 ~ 6500, step 1
mode-four-bright
#32 · mode-four-bright
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 100, step 1 percentage
mode-four-ct
#33 · mode-four-ct
- Format
- uint16
- Access
- R / N / W
- Value
- 2700 ~ 6500, step 1
Actions
delay-off
#1 · delay-off
Input
#1delay-timeuint16
apply-scene
#3 · apply-scene
Input
#16scene-modeuint8
set-night-begin-time
#4 · set-night-begin-time
Input
#9night-begin-houruint16#12night-end-minuteuint16
set-night-end-time
#5 · set-night-end-time
Input
#11night-end-houruint16#12night-end-minuteuint16
bright-increase
#6 · bright-increase
bright-decrease
#7 · bright-decrease
bright-circle
#8 · bright-circle
bright-on-circle
#9 · bright-on-circle
ct-increase
#10 · ct-increase
ct-decrease
#11 · ct-decrease
ct-circle
#12 · ct-circle
ct-on-circle
#13 · ct-on-circle
blink
#14 · blink
long-press-ids-set
#15 · long-press-ids-set
Input
#23long-press-oneuint8#24long-press-twouint8#25long-press-threeuint8
Events
dev-sleep
#1 · dev-sleep