MIOT
#xiaomi.light.dinin2
xiaomi.light.dinin2
urn:miot-spec-v2:device:light:0000A001:xiaomi-dinin2:1:0000C802
Language
Service tree
Light#2 · light13 properties8 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
- 0None1Reading2Lighting3Dining4Leisure5Night Light
Default Power On State
#9 · default-power-on-state
- Format
- uint8
- Access
- R / W / N
- Value
- 0Default1On2Off
Light On Gradient Time
#10 · light-on-gradient-time
- Format
- float
- Access
- R / W / N
- Value
- 0.5 ~ 5, step 0.5 seconds
Light Off Gradient Time
#11 · light-off-gradient-time
- Format
- float
- Access
- R / W / N
- Value
- 0.5 ~ 5, step 0.5 seconds
Flex Switch
#12 · flex-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Brightness Delta
#13 · brightness-delta
- Format
- uint8
- Access
- Value
- 1 ~ 20, step 1 percentage
Color Temperature Delta
#14 · color-temperature-delta
- Format
- uint16
- Access
- Value
- 100 ~ 500, step 100 kelvin
Night Light Switch
#15 · night-light-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Enable Time Period
#16 · enable-time-period
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 24002400, step 1 minutes
Night Brightness
#17 · night-brightness
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 10, step 1 percentage
Actions
Toggle
#1 · toggle
Brightness Up
#2 · brightness-up
Input
#13Brightness Deltauint8
Brightness Down
#3 · brightness-down
Input
#13Brightness Deltauint8
Color Temperature Up
#4 · color-temperature-up
Input
#14Color Temperature Deltauint16
Color Temperature Down
#5 · color-temperature-down
Input
#14Color Temperature Deltauint16
Toggle Light Mode
#6 · toggle-light-mode
Set Brightness
#7 · set-brightness
Input
#2Brightnessuint8
Set Color Temperature
#8 · set-color-temperature
Input
#3Color Temperatureuint16
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
Light#4 · light3 properties2 actions
Light
#4 · light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Brightness
#3 · brightness
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 100, step 1 percentage
Brightness Delta
#4 · brightness-delta
- Format
- uint8
- Access
- Value
- 1 ~ 20, step 1 percentage
Actions
Brightness Up
#1 · brightness-up
Input
#4Brightness Deltauint8
Brightness Down
#2 · brightness-down
Input
#4Brightness Deltauint8
Light#5 · light3 properties2 actions
Light
#5 · light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Brightness
#3 · brightness
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 100, step 1 percentage
Brightness Delta
#4 · brightness-delta
- Format
- uint8
- Access
- Value
- 1 ~ 20, step 1 percentage
Actions
Brightness Up
#1 · brightness-up
Input
#4Brightness Deltauint8
Brightness Down
#2 · brightness-down
Input
#4Brightness Deltauint8
wall-scene-switch#6 · wall-scene-switch4 properties
wall-scene-switch
#6 · wall-scene-switch
Properties
#1 · enable
- Format
- bool
- Access
- R / N / W
- Value
- —
wall-switch-first
#2 · wall-switch-first
- Format
- string
- Access
- R / N / W
- Value
- —
wall-switch-sec
#3 · wall-switch-sec
- Format
- string
- Access
- R / N / W
- Value
- —
wall-scene-th
#4 · wall-scene-th
- Format
- string
- Access
- R / N / W
- Value
- —
supplement#7 · supplement3 properties2 actions
supplement
#7 · supplement
Properties
#1 · custom-scene
- Format
- string
- Access
- W
- Value
- —
#2 · delay-time
- Format
- uint8
- Access
- Value
- 1 ~ 120, step 1 minutes
#3 · switch-status
- Format
- uint8
- Access
- R / N
- Value
- 0AllOn1UpOn2DownOn
Actions
delay-on
#1 · delay-on
Input
#2uint8
toggle-light-source
#2 · toggle-light-source