MIOT HomeMIOT Home
米家立式学习灯 Pro
#xiaomi.light.lamp34

米家立式学习灯 Pro

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

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
亮度
#2 · brightness
格式
uint8
读写
R / W / N
值
1 ~ 100,步长 1 percentage
默认上电状态
#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 seconds
关灯渐灭时长
#11 · light-off-gradient-time
格式
float
读写
R / W / N
值
0 ~ 10,步长 0.5 seconds
已工作时间
#12 · working-time
格式
uint32
读写
R / N
值
0 ~ 1440,步长 1 minutes
开灯次数
#13 · light-on-times
格式
uint16
读写
R / N
值
0 ~ 1000,步长 1
光源选择
#14 · light-source
格式
uint8
读写
R / W / N
值
1双光源
2仅下光源
3仅上光源
亮度调节值
#15 · brightness-delta
格式
uint8
读写
值
1 ~ 30,步长 1 percentage

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 minutes
延时剩余时间
#3 · delay-remain-time
格式
uint32
读写
R / N
值
0 ~ 60,步长 1 minutes
物理控制锁(童锁)
#4 · physical-controls-locked
属性 1

Properties

儿童锁
#1 · physical-controls-locked
格式
bool
读写
R / W / N
值
—
遥控器
#6 · remote-control-management
属性 1动作 1

Properties

遥控器列表
#3 · remote-control-list
格式
string
读写
R / N
值
—

Actions

删除遥控器
#1 · delete-remote-control
入参
#3遥控器列表string
专注模式
#7 · 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
属性 9

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
1Medium
2Far
光感自动调光
#6 · auto-adjust-bright
格式
bool
读写
R / N / W
值
—
亮度配比
#7 · brightness-ratio
格式
uint8
读写
R / N / W
值
0Average
1Ambient Light Brighter
2Main Light Brighter
灯杆屏幕亮度
#8 · screen-brightness
格式
uint8
读写
R / N / W
值
1 ~ 100,步长 1 percentage
自动息屏开关
#9 · screen-auto-off
格式
bool
读写
W / R / N
值
—