MIOT HomeMIOT Home
Xiaomi Smart Ceiling Light D20
#xiaomi.light.d20

Xiaomi Smart Ceiling Light D20

urn:miot-spec-v2:device:light:0000A001:xiaomi-d20:1:0000C802
語言
Service tree
Light
#2 · light
屬性 12動作 7

Properties

Switch Status
#1 · on
格式
bool
讀寫
R / W / N
值
—
亮度
#2 · brightness
格式
uint8
讀寫
R / W / N
值
1 ~ 100,步長 1 percentage
色溫
#3 · color-temperature
格式
uint16
讀寫
R / W / N
值
2700 ~ 5700,步長 1 kelvin
Mode
#7 · mode
格式
uint8
讀寫
R / W / N
值
0None
1明亮模式
2休閒模式
3電視
4溫馨模式
5夜燈模式
Default Power On State
#9 · default-power-on-state
格式
uint8
讀寫
R / W / N
值
0Default
1On
開關漸亮時長
#10 · light-on-gradient-time
格式
float
讀寫
R / W / N
值
0.5 ~ 2,步長 0.5 seconds
開關漸滅時長
#11 · light-off-gradient-time
格式
float
讀寫
R / W / N
值
0.5 ~ 2,步長 0.5 seconds
Night Light Switch
#13 · night-light-switch
格式
bool
讀寫
R / W / N
值
—
Enable Time Period
#14 · enable-time-period
格式
string
讀寫
R / W / N
值
—
Color Temperature Delta
#15 · color-temperature-delta
格式
uint16
讀寫
值
100 ~ 500,步長 100 kelvin
Brightness Delta
#16 · brightness-delta
格式
uint8
讀寫
值
1 ~ 20,步長 1 percentage
Gradual Duration
#17 · gradual-duration
格式
uint8
讀寫
值
1 ~ 30,步長 1 minutes

Actions

Toggle
#1 · toggle
亮度 +
#2 · brightness-up
入參
#16Brightness Deltauint8
亮度 -
#3 · brightness-down
入參
#16Brightness Deltauint8
色溫 +
#4 · color-temperature-up
入參
#15Color Temperature Deltauint16
色溫 -
#5 · color-temperature-down
入參
#15Color Temperature Deltauint16
Set Brightness
#6 · set-brightness
入參
#2亮度uint8#17Gradual Durationuint8
Set Color Temperature
#7 · set-color-temperature
入參
#3色溫uint16#17Gradual Durationuint8
Delay
#3 · delay
屬性 3

Properties

Delay
#1 · delay
格式
bool
讀寫
R / W / N
值
—
Delay Time
#2 · delay-time
格式
uint32
讀寫
R / W / N
值
1 ~ 120,步長 1 minutes
Delay Remain Time
#3 · delay-remain-time
格式
uint32
讀寫
R / N
值
1 ~ 120,步長 1 minutes
Remote Control Management
#4 · remote-control-management
Occupancy Sensor
#6 · occupancy-sensor
屬性 4

Properties

Occupancy Status
#1 · occupancy-status
格式
int8
讀寫
R / N
值
0無人
1有人
-1Disable
Enable Switch
#2 · enable-switch
格式
bool
讀寫
R / W / N
值
—
無人判定時長
#3 · no-one-determine-time
格式
uint16
讀寫
R / W / N
值
10 ~ 1800,步長 1 seconds
Has Someone Detection Sensitivity
#4 · has-someone-detection-sensitivity
格式
uint8
讀寫
R / W / N
值
1Low
2Standard
3高
custom
#5 · custom
屬性 10動作 4

Properties

#1 · wall-switch-en
格式
bool
讀寫
R / N / W
值
—
#2 · wall-switch-first
格式
string
讀寫
R / N / W
值
—
#3 · wall-switch-sec
格式
string
讀寫
R / N / W
值
—
#4 · wall-switch-th
格式
string
讀寫
R / N / W
值
—
#5 · remote-control-add
格式
bool
讀寫
R / N / W
值
—
#6 · remote-control-list
格式
string
讀寫
R / N
值
—
#7 · radar-auto
格式
bool
讀寫
R / N / W
值
—
#10 · effect-time
格式
string
讀寫
R / N / W
值
—
#11 · lux
格式
uint8
讀寫
R / N
值
0 ~ 255,步長 1
#12 · firmware-version
格式
string
讀寫
R / N
值
—

Actions

toggle-light-scene
#1 · toggle-light-scene
亮度切換
#2 · switch-light
色溫切換
#3 · switch-tem
delete-remote-contro
#4 · delete-remote-contro
入參
#6string