MIOT HomeMIOT Home
米家桌面学习灯 Pro
#xiaomi.light.lamp33

米家桌面学习灯 Pro

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

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
亮度
#2 · brightness
格式
uint8
读写
R / W / N
值
1 ~ 100,步长 1 percentage
默认上电状态
#12 · default-power-on-state
格式
uint8
读写
R / W / N
值
0断电记忆
1上电打开
2上电关闭
已工作时间
#13 · working-time
格式
uint32
读写
R / N
值
0 ~ 1440,步长 1 minutes
亮度调节值
#14 · brightness-delta
格式
uint8
读写
值
1 ~ 30,步长 1 percentage
开灯次数
#15 · light-on-times
格式
uint16
读写
R / N
值
0 ~ 1000,步长 1

Actions

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

Properties

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

Properties

儿童锁
#1 · physical-controls-locked
格式
bool
读写
R / W / N
值
—
学习时间管理
#6 · focus-mode
属性 4

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
学习时长
#2 · focus-time
格式
uint8
读写
R / W / N
值
1 ~ 90,步长 1 minutes
休息时长
#3 · rest-time
格式
uint8
读写
R / W / N
值
1 ~ 90,步长 1 minutes
循环次数
#4 · recycle-number
格式
uint8
读写
R / W / N
值
1 ~ 60,步长 1
自定义服务
#5 · yeelight
属性 7

Properties

以指定亮度开灯
#1 · on-with-bright
格式
uint8
读写
W
值
1 ~ 100,步长 1 percentage
开灯并延时关灯
#2 · on-then-delayoff
格式
uint8
读写
W
值
1 ~ 60,步长 1 minutes
入座感应功能开关
#3 · radar-sensor
格式
bool
读写
R / N / W
值
—
雷达无人事件延时时间
#4 · detection-time
格式
uint8
读写
R / N / W
值
1 ~ 30,步长 1 minutes
雷达检测距离设置
#5 · detection-distance
格式
uint8
读写
R / N / W
值
0Near
1Far
自动调光开关
#6 · als-en
格式
bool
读写
R / N / W
值
—
雷达指示灯在无人关灯后是否熄灭
#7 · led-indicator-off
格式
bool
读写
R / N / W
值
—