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

米家立式学习灯

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

Properties

开关
#1 · on
格式
bool
读写
R / W / N
亮度
#2 · brightness
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
默认上电状态
#3 · default-power-on-state
格式
uint8
读写
R / W / N
0断电记忆
1上电打开
2上电关闭
开灯渐变时长
#4 · light-on-gradient-time
格式
float
读写
R / W / N
0 ~ 10,步长 0.5
关灯渐变时长
#5 · light-off-gradient-time
格式
float
读写
R / W / N
0 ~ 10,步长 0.5

Actions

开关状态切换
#1 · toggle
亮度+
#2 · brightness-up
亮度-
#3 · brightness-down
专注模式
#3 · focus-mode
属性 4

Properties

开关
#1 · on
格式
bool
读写
R / W / N
专注时长
#2 · focus-time
格式
uint8
读写
R / W / N
1 ~ 60,步长 1
休息时长
#3 · rest-time
格式
uint8
读写
R / W / N
1 ~ 60,步长 1
循环次数
#4 · recycle-number
格式
uint8
读写
R / W / N
1 ~ 60,步长 1
遥控器
#4 · remote-control-management
属性 1动作 1

Properties

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

Actions

删除遥控器
#1 · delete-remote-control
入参
#1遥控器列表string
延时
#5 · 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
1 ~ 60,步长 1
补充服务
#6 · yeelight
属性 2动作 2

Properties

以指定亮度开灯
#1 · on-with-bright
格式
uint8
读写
W
1 ~ 100,步长 1
开灯并延时关灯
#2 · on-then-delayoff
格式
uint8
读写
W
1 ~ 60,步长 1

Actions

亮度切换
#1 · bright-circle
开灯或切换亮度
#2 · on-bright-circle