MIOT HomeMIOT Home
MIOT
#xiaomi.light.lamp39

xiaomi.light.lamp39

urn:miot-spec-v2:device:light:0000A001:xiaomi-lamp39:1:0000C801
语言
Service tree
灯
#2 · light
属性 11动作 3

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
亮度
#2 · brightness
格式
uint8
读写
R / W / N
值
1 ~ 100,步长 1
默认上电状态
#9 · default-power-on-state
格式
uint8
读写
R / W / N
值
0断电记忆
1上电打开
2上电关闭
开灯渐亮时长
#10 · light-on-gradient-time
格式
float
读写
R / W / N
值
0 ~ 10,步长 0.5
关灯渐灭时长
#11 · light-off-gradient-time
格式
float
读写
R / W / N
值
0 ~ 10,步长 0.5
已工作时间
#12 · working-time
格式
uint32
读写
R / N
值
0 ~ 1440,步长 1
开灯次数
#13 · light-on-times
格式
uint16
读写
R / N
值
0 ~ 1000,步长 1
亮度调节值
#15 · brightness-delta
格式
uint8
读写
值
1 ~ 30,步长 1
启用时间段(格式为:00:00:00-00:00:00)
#16 · enable-time-period
格式
string
读写
R / W / N
值
—
夜间亮度
#17 · night-brightness
格式
uint8
读写
R / W / N
值
1 ~ 10,步长 1
夜灯开关
#18 · night-light-switch
格式
bool
读写
R / W / N
值
—

Actions

开关状态切换
#1 · toggle
亮度+
#2 · brightness-up
入参
#15亮度调节值uint8
亮度-
#3 · brightness-down
入参
#15亮度调节值uint8
延时
#3 · delay
属性 3

Properties

延时
#1 · delay
格式
bool
读写
R / W / N
值
—
延时时间
#2 · delay-time
格式
uint32
读写
R / W / N
值
1 ~ 60,步长 1
延时剩余时间
#3 · delay-remain-time
格式
uint32
读写
R / N
值
0 ~ 60,步长 1
物理控制锁(童锁)
#4 · physical-controls-locked
属性 1

Properties

物理控制锁
#1 · physical-controls-locked
格式
bool
读写
R / W / N
值
—
专注模式
#7 · focus-mode
属性 4

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
专注时长
#2 · focus-time
格式
uint8
读写
R / W / N
值
1 ~ 90,步长 1
休息时长
#3 · rest-time
格式
uint8
读写
R / W / N
值
1 ~ 90,步长 1
循环次数
#4 · recycle-number
格式
uint8
读写
R / W / N
值
1 ~ 60,步长 1
下光源
#8 · light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
上光源
#9 · light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
存在传感器
#10 · occupancy-sensor
属性 4

Properties

有人无人状态(0为无人,非0为有人)
#1 · occupancy-status
格式
uint8
读写
R / N
值
0No One
1Moveless
2In Movement
无人判定时长
#2 · no-one-determine-time
格式
float
读写
R / W / N
值
0.5 ~ 30,步长 0.5
触发有人有效距离
#3 · detection-distance
格式
uint8
读写
R / W / N
值
0近档
1中档
2远档
使能开关
#4 · enable-switch
格式
bool
读写
R / W / N
值
—
yeelight
#5 · yeelight
属性 4

Properties

开灯并延时关灯
#1 · on-then-delayoff
格式
uint8
读写
W
值
1 ~ 60,步长 1
亮度配比
#2 · brightness-ratio
格式
uint8
读写
R / N / W
值
0Normal
1TopBrighter
2BottomBrighter
切换光源
#3 · light-source
格式
uint8
读写
R / N / W
值
1All
2BottomOnly
3TopOnly
雷达关灯后指示灯熄灭
#4 · radar-led-off
格式
bool
读写
R / N / W
值
—