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

米家立式学习灯2

urn:miot-spec-v2:device:light:0000A001:xiaomi-lishi2:1:0000C801
語言
Service tree
灯
#2 · light
屬性 12動作 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
启用时间段(格式为:00:00:00-00:00:00)
#16 · enable-time-period
格式
string
讀寫
R / W / N
值
—
夜间亮度
#17 · night-brightness
格式
uint8
讀寫
R / W / N
值
1 ~ 10,步長 1 percentage
夜灯开关
#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 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
下光源
#8 · light
屬性 1

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
上光源
#9 · light
屬性 1

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
yeelight
#5 · yeelight
屬性 11

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
格式
float
讀寫
R / N / W
值
0.5 ~ 30,步長 0.5 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
值
0Normal
1TopBrighter
2BottomBrighter
自动息屏开关
#9 · screen-auto-off
格式
bool
讀寫
R / N / W
值
—
设置遥控器双击触发的功能
#10 · double-click
格式
uint8
讀寫
R / N / W
值
1Light Source Switching
2Focus Mode
3Night Light
双击功能开关
#11 · double-click-en
格式
bool
讀寫
R / N / W
值
—
设备模式:亮度/观屏/氛围
#12 · device-mode
格式
uint8
讀寫
R / N / W
值
0Normal
1Screen
2Ambient