MIOT HomeMIOT Home
Xiaomi Smart Ceiling Light D40
#xiaomi.light.d40

Xiaomi Smart Ceiling Light D40

urn:miot-spec-v2:device:light:0000A001:xiaomi-d40:1:0000C802
Language
Service tree
Light
#2 · light
12 properties7 actions

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
0None
1Bright
2Leisure
3TV
4Warmth
5Night Light
Default Power On State
#9 · default-power-on-state
Format
uint8
Access
R / W / N
Value
0Default
1On
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
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 · delay
3 properties

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
#4 · remote-control-management
custom
#5 · custom
7 properties4 actions

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
—
firmware-version
#7 · 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