
#xiaomi.light.d20
Xiaomi Smart Ceiling Light D20
urn:miot-spec-v2:device:light:0000A001:xiaomi-d20:1:0000C802
Language
Service tree
Light#2 · light12 properties7 actions
Light
#2 · light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Brightness
#2 · brightness
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 100, step 1 percentage
Color temperature
#3 · color-temperature
- Format
- uint16
- Access
- R / W / N
- Value
- 2700 ~ 5700, step 1 kelvin
Mode
#7 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0None1Bright2Leisure3TV4Warmth5Night Light
Default Power On State
#9 · default-power-on-state
- Format
- uint8
- Access
- R / W / N
- Value
- 0Default1On
Light On Gradient Time
#10 · light-on-gradient-time
- Format
- float
- Access
- R / W / N
- Value
- 0.5 ~ 2, step 0.5 seconds
Light Off Gradient Time
#11 · light-off-gradient-time
- Format
- float
- Access
- R / W / N
- Value
- 0.5 ~ 2, step 0.5 seconds
Night Light Switch
#13 · night-light-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Enable Time Period
#14 · enable-time-period
- Format
- string
- Access
- R / W / N
- Value
- —
Color Temperature Delta
#15 · color-temperature-delta
- Format
- uint16
- Access
- Value
- 100 ~ 500, step 100 kelvin
Brightness Delta
#16 · brightness-delta
- Format
- uint8
- Access
- Value
- 1 ~ 20, step 1 percentage
Gradual Duration
#17 · gradual-duration
- Format
- uint8
- Access
- Value
- 1 ~ 30, step 1 minutes
Actions
Toggle
#1 · toggle
Brightness +
#2 · brightness-up
Input
#16Brightness Deltauint8
Brightness -
#3 · brightness-down
Input
#16Brightness Deltauint8
Color temperature +
#4 · color-temperature-up
Input
#15Color Temperature Deltauint16
Color temperature -
#5 · color-temperature-down
Input
#15Color Temperature Deltauint16
Set Brightness
#6 · set-brightness
Input
#2Brightnessuint8#17Gradual Durationuint8
Set Color Temperature
#7 · set-color-temperature
Input
#3Color temperatureuint16#17Gradual Durationuint8
Delay#3 · delay3 properties
Delay
#3 · delay
Properties
Delay
#1 · delay
- Format
- bool
- Access
- R / W / N
- Value
- —
Delay Time
#2 · delay-time
- Format
- uint32
- Access
- R / W / N
- Value
- 1 ~ 120, step 1 minutes
Delay Remain Time
#3 · delay-remain-time
- Format
- uint32
- Access
- R / N
- Value
- 1 ~ 120, step 1 minutes
Remote Control Management#4 · remote-control-management
Remote Control Management
#4 · remote-control-management
Occupancy Sensor#6 · occupancy-sensor4 properties
Occupancy Sensor
#6 · occupancy-sensor
Properties
Occupancy Status
#1 · occupancy-status
- Format
- int8
- Access
- R / N
- Value
- 0No one is present1Someone is present-1Disable
Enable Switch
#2 · enable-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Time for determining no one presence
#3 · no-one-determine-time
- Format
- uint16
- Access
- R / W / N
- Value
- 10 ~ 1800, step 1 seconds
Has Someone Detection Sensitivity
#4 · has-someone-detection-sensitivity
- Format
- uint8
- Access
- R / W / N
- Value
- 1Low2Standard3High
custom#5 · custom10 properties4 actions
custom
#5 · custom
Properties
#1 · wall-switch-en
- Format
- bool
- Access
- R / N / W
- Value
- —
#2 · wall-switch-first
- Format
- string
- Access
- R / N / W
- Value
- —
#3 · wall-switch-sec
- Format
- string
- Access
- R / N / W
- Value
- —
#4 · wall-switch-th
- Format
- string
- Access
- R / N / W
- Value
- —
#5 · remote-control-add
- Format
- bool
- Access
- R / N / W
- Value
- —
#6 · remote-control-list
- Format
- string
- Access
- R / N
- Value
- —
#7 · radar-auto
- Format
- bool
- Access
- R / N / W
- Value
- —
#10 · effect-time
- Format
- string
- Access
- R / N / W
- Value
- —
#11 · lux
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 255, step 1
#12 · firmware-version
- Format
- string
- Access
- R / N
- Value
- —
Actions
toggle-light-scene
#1 · toggle-light-scene
Brightness adjustment
#2 · switch-light
Color temperature adjustment
#3 · switch-tem
delete-remote-contro
#4 · delete-remote-contro
Input
#6string