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
語言
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
值
—
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
遙控器
#4 · remote-control-management
custom
#5 · custom
屬性 7動作 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
值
—
firmware-version
#7 · 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