MIOT HomeMIOT Home
云米蓝调系列智能门锁(大屏猫眼版)
#viomi.lock.lbt13a

云米蓝调系列智能门锁(大屏猫眼版)

urn:miot-spec-v2:device:lock:0000A038:viomi-lbt13a:1
語言
Service tree
门
#2 · door
屬性 2事件 1

Properties

门状态
#1 · door-state
格式
uint8
讀寫
值
1已上锁
2已开锁
3门未关(门超时未关)
4门虚掩
5已开启通风模式
6已关闭通风模式
7已远程关门
8正在开门
9正在关门
100已关门
101已反锁
0无变化
当前时间(unix timestamp)
#2 · current-time
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1 seconds

Events

门事件
#1021 · door-event
觸發參數
#1门状态uint8#2当前时间(unix timestamp)uint32
电池
#3 · battery
屬性 1

Properties

电池电量
#1003 · battery-level
格式
uint8
讀寫
N / R
值
0 ~ 100,步長 1 percentage
门铃
#4 · doorbell
屬性 1事件 1

Properties

当前时间(unix timestamp)
#1 · current-time
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1 seconds

Events

门铃响了
#1006 · doorbell-ring
觸發參數
#1当前时间(unix timestamp)uint32
门锁
#5 · lock
屬性 6動作 1事件 2

Properties

异常情况
#1 · abnormal-condition
格式
uint8
讀寫
值
1多种方式频繁开锁失败
2密码频繁开锁失败
3指纹频繁开锁失败
4NFC频繁开锁失败
5人脸频繁开锁失败
6掌纹频繁开锁失败
7指静脉频繁开锁失败
8钥匙频繁开锁失败
9门锁被撬
10超时未按要求上锁
11离家后门内开锁
12门锁被重置
13钥匙孔异物
14钥匙未取出
15指纹传感器异常
16机械故障
17锁体传感器故障
18锂电池温度过高
19门锁电量低(一般指低于百分之十)
20门锁电量即将耗尽(一般指低于百分之五)
21门锁摄像头电量低(一般指低于百分之十)
22门锁摄像头电量即将耗尽(一般指低于百分之五)
23门未关(门超时未关)
24门虚掩
25有人撬门
100胁迫
101逗留报警(超时窥视报警)
102非法操作
103掌静脉频繁开锁失败
104干电池电量低(一般指低于百分之二十)
105全部电池电量低
操作方式
#2 · operation-method
格式
uint8
讀寫
值
1手机
2指纹
3密码
4NFC
5人脸
6指静脉
7掌纹
8机械钥匙
9一次性密码
10周期性密码
11HomeKit
12胁迫
13双重验证
14转盘
15手动
16自动
17门内按钮开锁
100远程开锁
101限时
102限次
103组合
107掌静脉
操作ID
#3 · operation-id
格式
uint16
讀寫
值
0 ~ 65535,步長 1
当前时间(unix timestamp)
#4 · current-time
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1 seconds
操作位置
#5 · operation-position
格式
uint8
讀寫
值
1门内
2门外
3无法区分门内外
锁动作
#6 · lock-action
格式
uint8
讀寫
值
1上锁
2开锁
3上提加固
4开启反锁
5关闭反锁
6开启童锁
7关闭童锁
8开启离家模式
9关闭离家模式
100关门

Actions

蓝牙开锁
#1 · ble-unlock
入參
#4当前时间(unix timestamp)uint32

Events

发生异常
#1007 · exception-occurred
觸發參數
#1异常情况uint8#4当前时间(unix timestamp)uint32
锁事件
#1020 · lock-event
觸發參數
#2操作方式uint8#3操作IDuint16#4当前时间(unix timestamp)uint32#5操作位置uint8#6锁动作uint8
门补充
#16 · door-support
屬性 13動作 1

Properties

故障位
#1 · fault-bit
格式
uint8
讀寫
值
0 ~ 255,步長 1
倒计时上锁(0关闭,5s,10s,15s,20s,25s,30s)
#2 · auto-lock
格式
uint8
讀寫
值
0 ~ 30,步長 5
防撬
#3 · anti-theft
格式
bool
讀寫
值
—
出门防误开
#7 · pre-acci-opentime
格式
uint8
讀寫
值
0 ~ 20,步長 5
门未关报警开关
#11 · alarm-close-timeout
格式
bool
讀寫
值
—
门虚掩报警开关
#12 · alarm-not-closed
格式
bool
讀寫
值
—
防撬报警开关
#13 · alarm-anti-theft
格式
bool
讀寫
值
—
布防报警开关
#14 · alarm-od-after-leave
格式
bool
讀寫
值
—
试错报警开关
#15 · alarm-try-but-error
格式
bool
讀寫
值
—
离家状态
#16 · leave-home
格式
bool
讀寫
值
—
电子反锁开关
#17 · back-lock
格式
bool
讀寫
值
—
逗留报警设置
#19 · sojourn-alarm-set
格式
uint8
讀寫
值
0 ~ 30,步長 5
逗留报警报警开关
#20 · sojourn-alarm-on-off
格式
bool
讀寫
值
—

Actions

解除报警
#1 · fix-alarm
报警音
#17 · alarm
屬性 1

Properties

音量
#2 · volume
格式
uint8
讀寫
值
0 ~ 100,步長 1 percentage
导航音
#18 · navigation
屬性 1

Properties

音量
#2 · volume-navigation
格式
uint8
讀寫
值
0 ~ 100,步長 1 percentage
用户管理
#19 · usermanager
屬性 5動作 2事件 2

Properties

用户ID(包含了二级ID,例如用户ID为9,9%4=1,9/4=2,即用户2,二级ID1)
#1 · user-id
格式
uint16
讀寫
值
1 ~ 65535,步長 1
用户类型
#2 · user-type
格式
uint8
讀寫
值
0Admin
1General
2Tmp
3Coercion
用户开锁类型
#3 · user-unlock-type
格式
uint8
讀寫
值
0Face
1Fingerprint
2NFC
3Password
4Once
5TimeLimit
6LimitTimes
7Cycle
8All
9PalmVein
密码
#5 · password
格式
string
讀寫
值
—
操作结果码
#6 · operate-rst
格式
uint8
讀寫
值
0Success
1Fail
2Idle
3Adding

Actions

添加用户
#1 · add-user
入參
#1用户ID(包含了二级ID,例如用户ID为9,9%4=1,9/4=2,即用户2,二级ID1)uint16#2用户类型uint8#3用户开锁类型uint8#5密码string
删除用户
#2 · del-user
入參
#1用户ID(包含了二级ID,例如用户ID为9,9%4=1,9/4=2,即用户2,二级ID1)uint16#2用户类型uint8#3用户开锁类型uint8

Events

添加用户事件
#1 · add-user-event
觸發參數
#1用户ID(包含了二级ID,例如用户ID为9,9%4=1,9/4=2,即用户2,二级ID1)uint16#6操作结果码uint8
删除用户事件
#2 · del-user-event
觸發參數
#1用户ID(包含了二级ID,例如用户ID为9,9%4=1,9/4=2,即用户2,二级ID1)uint16#6操作结果码uint8
周期密码
#20 · cycle-password
屬性 7動作 2

Properties

周期密码ID
#1 · cycle-id
格式
int32
讀寫
值
1 ~ 65535,步長 1
周期密码
#2 · cycle-password
格式
string
讀寫
值
—
周期类型
#3 · cycle-type
格式
uint8
讀寫
值
0Once
1Everyday
2Week
3Month
开始时间
#4 · cycle-validity
格式
uint16
讀寫
值
0 ~ 1439,步長 1
结束时间
#5 · cycle-execute
格式
uint16
讀寫
值
0 ~ 1439,步長 1
Active启用日期(仅自定义用到,数组格式,0123456代表周一到周日)
#8 · cycle-week
格式
string
讀寫
值
—
结果码
#10 · result-code
格式
uint8
讀寫
值
0Success
1Fail

Actions

添加周期密码
#1 · add-cycle
入參
#1周期密码IDint32#2周期密码string#3周期类型uint8#4开始时间uint16#5结束时间uint16#8Active启用日期(仅自定义用到,数组格式,0123456代表周一到周日)string
删除周期密码
#2 · del-cycle
入參
#1周期密码IDint32
物理控制锁(童锁)
#21 · physical-controls
屬性 2

Properties

物理控制锁
#1 · physical-controls
格式
bool
讀寫
值
—
物理控制锁状态
#2 · current-physical
格式
bool
讀寫
值
—
定时服务
#22 · scheduled-service
屬性 6動作 1

Properties

定时服务开关
#1 · on-off
格式
bool
讀寫
值
—
重复类型
#2 · repeat-type
格式
uint8
讀寫
值
0Once
1EveryDay
2Active Days
active启用日期(仅自定义用到,数组格式,0123456代表周日到周六)
#3 · days-active
格式
string
讀寫
值
—
定时类型
#4 · time-setting-type
格式
uint8
讀寫
值
0Fixed Time
1Period Of Time
开始时间
#5 · start-time
格式
uint16
讀寫
值
0 ~ 1439,步長 1
结束时间
#6 · end-time
格式
uint16
讀寫
值
0 ~ 1439,步長 1

Actions

周期设置
#1 · setting-cycle
入參
#1定时服务开关bool#2重复类型uint8#3active启用日期(仅自定义用到,数组格式,0123456代表周日到周六)string#4定时类型uint8#5开始时间uint16#6结束时间uint16
人体感应
#23 · body-induction
屬性 1

Properties

人体感应距离
#2 · sens-distance
格式
uint8
讀寫
值
0Off
1Near
2Middle
3Far
回锁设置
#24 · back-lock-setting
屬性 4

Properties

电机扭力
#1 · motor-torque
格式
int8
讀寫
值
1Low
2Middle
3High
锁舌回弹时间(单位秒)
#2 · tongue-rebound-time
格式
uint8
讀寫
值
1 ~ 9,步長 1
回锁时间(单位100毫秒)
#3 · lockback-time
格式
uint8
讀寫
值
1 ~ 9,步長 1
开门方向
#4 · door-open-direction
格式
int8
讀寫
值
0Left
1Right
门铃音
#25 · doorbell-volume
屬性 1

Properties

音量
#2 · volume
格式
uint8
讀寫
值
0 ~ 100,步長 1
门锁历史记录
#26 · lock-history
屬性 5動作 1事件 2

Properties

用户添加
#1 · user-add
格式
int64
讀寫
值
0 ~ 922337203685470,步長 1
历史数据时间戳
#2 · history-time
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1
锁事件历史数据上报(操作方式&用户ID&操作位置&锁动作)
#3 · lock-history-data
格式
string
讀寫
值
—
异常事件历史数据上报
#4 · abnormal-data
格式
uint8
讀寫
值
0 ~ 255,步長 1
门铃事件历史数据上报
#5 · doorbell-data
格式
uint8
讀寫
值
0 ~ 255,步長 1

Actions

触发历史记录上报操作
#1 · history-notify

Events

本地用户同步上报
#1 · local-user-notify
觸發參數
#1用户添加int64
本地记录上报
#2 · local-history-notify
觸發參數
#2历史数据时间戳uint32#3锁事件历史数据上报(操作方式&用户ID&操作位置&锁动作)string#4异常事件历史数据上报uint8#5门铃事件历史数据上报uint8