MIOT
#xiaomi.light.lamp40
xiaomi.light.lamp40
urn:miot-spec-v2:device:light:0000A001:xiaomi-lamp40:1:0000C818
Language
Service tree
Light#2 · light14 properties5 actions
Light
#2 · light
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
- 1RGB2ColorTemperature
Mode
#7 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0None1Sunset2Sky3Peach4Lavender5Blues6Forest7Beach8Snow Mountain9Fireside10Dawn11Meditation12Aurora13Wave14Illusion15Sakura16Firefly17Moon Halo18Autumn Leaves21Night Light
Default Power On State
#9 · default-power-on-state
- Format
- uint8
- Access
- R / W / N
- Value
- 0Default1Off2On
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 · 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 ~ 60, step 1 minutes
Delay Remain Time
#3 · delay-remain-time
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Light#4 · light1 properties
Light
#4 · light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Light#5 · light1 properties
Light
#5 · light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
yeelight#6 · yeelight6 properties
yeelight
#6 · yeelight
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
- 1All2BottomOnly3TopOnly
#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
- 1Sunset2Sky3Peach4Lavender5Blues6Forest7Beach8Snow Mountain9Fireside10Dawn11Meditation12Aurora13Wave14Illusion15Sakura16Firefly17Moon Halo18Autumn Leaves