MIOT HomeMIOT Home
MIOT
#xiaomi.light.lamp40

xiaomi.light.lamp40

urn:miot-spec-v2:device:light:0000A001:xiaomi-lamp40:1:0000C818
Language
Service tree
Light
#2 · light
14 properties5 actions

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Color Temperature
#3 · color-temperature
Format
uint16
Access
R / W / N
Value
1800 ~ 6500, step 1 kelvin
Brightness
#2 · brightness
Format
uint8
Access
R / W / N
Value
1 ~ 100, step 1 percentage
Color
#4 · color
Format
uint32
Access
R / W / N
Value
0 ~ 16777215, step 1 rgb
Current Color Mode
#6 · current-color-mode
Format
uint8
Access
R / N
Value
1RGB
2ColorTemperature
Mode
#7 · mode
Format
uint8
Access
R / W / N
Value
0None
1Sunset
2Sky
3Peach
4Lavender
5Blues
6Forest
7Beach
8Snow Mountain
9Fireside
10Dawn
11Meditation
12Aurora
13Wave
14Illusion
15Sakura
16Firefly
17Moon Halo
18Autumn Leaves
21Night Light
Default Power On State
#9 · default-power-on-state
Format
uint8
Access
R / W / N
Value
0Default
1Off
2On
Light On Gradient Time
#10 · light-on-gradient-time
Format
float
Access
R / W / N
Value
0 ~ 10, step 0.5 seconds
Light Off Gradient Time
#11 · light-off-gradient-time
Format
float
Access
R / W / N
Value
0 ~ 10, step 0.5 seconds
Night Brightness
#17 · night-brightness
Format
uint8
Access
R / W / N
Value
1 ~ 100, step 1 percentage
Night Light Switch
#18 · night-light-switch
Format
bool
Access
R / W / N
Value
—
Brightness Delta
#19 · brightness-delta
Format
uint8
Access
Value
1 ~ 30, step 1 percentage
Color Temperature Delta
#20 · color-temperature-delta
Format
uint16
Access
Value
200 ~ 2400, step 100 kelvin
Enable Time Period
#21 · enable-time-period
Format
uint32
Access
R / W / N
Value
0 ~ 593044313, step 1

Actions

Toggle
#1 · toggle
Brightness Up
#2 · brightness-up
Input
#19Brightness Deltauint8
Brightness Down
#3 · brightness-down
Input
#19Brightness Deltauint8
Color Temperature Up
#4 · color-temperature-up
Input
#20Color Temperature Deltauint16
Color Temperature Down
#5 · color-temperature-down
Input
#20Color Temperature Deltauint16
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 ~ 60, step 1 minutes
Delay Remain Time
#3 · delay-remain-time
Format
uint32
Access
R / N
Value
0 ~ 60, step 1 minutes
Light
#4 · light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Light
#5 · light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
yeelight
#6 · yeelight
6 properties

Properties

#3 · on-then-delayoff
Format
uint8
Access
W
Value
1 ~ 60, step 1 minutes
#4 · light-sourc
Format
uint8
Access
R / N / W
Value
1All
2BottomOnly
3TopOnly
#6 · mode-list
Format
string
Access
R / N / W
Value
—
#7 · night-light-ct
Format
uint16
Access
R / N / W
Value
1800 ~ 3000, step 100
on-then-lightness
#8 · on-then-lightness
Format
uint8
Access
R / N / W
Value
1 ~ 100, step 1 percentage
#9 · on-then-switch
Format
uint8
Access
R / N / W
Value
1Sunset
2Sky
3Peach
4Lavender
5Blues
6Forest
7Beach
8Snow Mountain
9Fireside
10Dawn
11Meditation
12Aurora
13Wave
14Illusion
15Sakura
16Firefly
17Moon Halo
18Autumn Leaves