MIOT HomeMIOT Home
MIOT
#miot.lock.1546

miot.lock.1546

urn:miot-spec-v2:device:lock:0000A038:miot-1546:1
语言
Service tree
门锁
#2 · lock
属性 14动作 1事件 2

Properties

操作位置
#1 · operation-position
格式
uint8
读写
1门内
2门外
3无法区分门内外
操作方式
#2 · operation-method
格式
uint8
读写
1手机
2指纹
3密码
4NFC
5人脸
6机械钥匙
7一次性密码
8周期性密码
9胁迫
10双重验证
11手动
12自动
锁动作
#3 · lock-action
格式
uint8
读写
1上锁
2开锁
3上提加固
4开启反锁
5关闭反锁
6开启童锁
7关闭童锁
8开启离家模式
9关闭离家模式
异常情况
#4 · 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有人撬门
操作ID
#5 · operation-id
格式
uint16
读写
0 ~ 65535,步长 1
当前时间
#6 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
反锁
#7 · anti-lock
格式
bool
读写
童锁
#8 · child-lock
格式
bool
读写
配置物理按键功能
#9 · button-function
格式
uint8
读写
0反锁
1童锁
2反锁和童锁
离家模式
#10 · away-home-mode
格式
bool
读写
双重验证
#11 · two-step-verification
格式
bool
读写
门锁本地设置开关
#12 · door-lock-local-settings
格式
bool
读写
人脸开锁休眠时长
#13 · face-unlock-sleep-time
格式
uint8
读写
00秒
15秒
215秒
330秒
460IAO
人脸开锁灵敏度
#14 · face-unlock-sensitivity
格式
uint8
读写
0
1
2

Actions

蓝牙开锁
#1 · ble-unlock

Events

发生异常
#1007 · exception-occurred
触发参数
#4异常情况uint8#6当前时间uint32
锁事件
#1020 · lock-event
触发参数
#1操作位置uint8#2操作方式uint8#3锁动作uint8#5操作IDuint16#6当前时间uint32
#3 · door
属性 1

Properties

门状态
#1021 · door-state
格式
uint8
读写
N / R
1已上锁
2已开锁
3门未关
4门虚掩
5开启童锁
6开启反锁
7开启童锁+反锁
门锁管理
#4 · lock-manage
属性 10动作 7事件 7

Properties

用户id
#1 · user-ids
格式
uint16
读写
0 ~ 65535,步长 1
用户类型
#2 · user-type
格式
uint8
读写
0拥有者
1管理员
2普通用户
3常访客
操作方式
#3 · operation-method
格式
uint8
读写
1手机
2指纹
3密码
4NFC
5人脸
6机械钥匙
7一次性密码
8周期性密码
9胁迫
10双重验证
11手动
12自动
操作ID
#4 · operation-id
格式
uint16
读写
0 ~ 65535,步长 1
凭据内容
#5 · credential
格式
string
读写
当前时间
#6 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
错误码
#7 · error-code
格式
uint16
读写
0成功
1接收指令成功,执行中
2内部错误
3未找到
4内存已满
5参数错误
6超时
7设备忙
8参数重复
凭据状态
#8 · credential-state
格式
uint8
读写
0成功
1失败
当前要添加的凭据序号
#9 · credential-step-current
格式
uint8
读写
0 ~ 255,步长 1
总凭据数量
#10 · credential-step-all
格式
uint8
读写
0 ~ 255,步长 1

Actions

配置用户
#1 · add-lock-user
入参
#1用户iduint16#2用户类型uint8
出参
#7错误码uint16#1用户iduint16#2用户类型uint8#6当前时间uint32
删除用户
#2 · delete-lock-user
入参
#1用户iduint16#2用户类型uint8
出参
#7错误码uint16
添加开锁方式
#3 · add-unlock-method
入参
#1用户iduint16#3操作方式uint8#4操作IDuint16#5凭据内容string
出参
#7错误码uint16#1用户iduint16#3操作方式uint8#4操作IDuint16#6当前时间uint32
取消添加
#4 · cancel-unlock-method
出参
#7错误码uint16
删除开锁方式
#5 · delete-unlock-method
入参
#1用户iduint16#4操作IDuint16
出参
#7错误码uint16
同步用户信息
#6 · sync-lock-user
出参
#7错误码uint16
同步开锁方式
#7 · sync-unlock-method
出参
#7错误码uint16

Events

更新用户组
#1 · update-lock-user
触发参数
#7错误码uint16#1用户iduint16#2用户类型uint8#6当前时间uint32
更新开锁方式
#2 · update-unlock-method
触发参数
#7错误码uint16#1用户iduint16#3操作方式uint8#4操作IDuint16#6当前时间uint32
添加凭据事件
#3 · add-credential-event
触发参数
#8凭据状态uint8#9当前要添加的凭据序号uint8#10总凭据数量uint8
添加用户完成
#4 · add-user-complete
触发参数
#1用户iduint16#2用户类型uint8#6当前时间uint32
删除用户完成
#5 · delete-user-complete
触发参数
#1用户iduint16#2用户类型uint8#6当前时间uint32
添加开锁方式完成
#6 · add-user-key-complete
触发参数
#1用户iduint16#4操作IDuint16#3操作方式uint8#6当前时间uint32
删除开锁方式完成
#7 · delete-user-key-complete
触发参数
#1用户iduint16#4操作IDuint16#3操作方式uint8#6当前时间uint32
门锁历史记录
#5 · lock-history
属性 10动作 1事件 1

Properties

锁事件历史数据上报
#1 · lock-history-data
格式
int64
读写
0 ~ 4294967295,步长 1
异常事件历史数据上报
#2 · abnormal-data
格式
int64
读写
0 ~ 4294967295,步长 1
门状态历史数据上报
#3 · door-data
格式
int64
读写
0 ~ 4294967295,步长 1
门铃事件历史数据上报
#4 · doorbell-data
格式
int64
读写
0 ~ 4294967295,步长 1
历史数据时间戳
#5 · history-time
格式
uint32
读写
0 ~ 4294967295,步长 1
历史数据最新时间戳
#6 · last-history-time
格式
uint32
读写
0 ~ 4294967295,步长 1
用户添加
#7 · user-add
格式
int64
读写
0 ~ 92233,步长 1
用户删除
#8 · user-delete
格式
int64
读写
0 ~ 92233,步长 1
钥匙添加
#9 · user-key-add
格式
int64
读写
0 ~ 92233,步长 1
钥匙删除
#10 · user-key-delete
格式
int64
读写
0 ~ 92233,步长 1

Actions

触发历史记录上报操作
#1 · history-notify-action
入参
#5历史数据时间戳uint32

Events

历史记录上报完成
#1 · history-notify-complete
触发参数
#6历史数据最新时间戳uint32
电池
#6 · battery
属性 3

Properties

电池电量
#1003 · battery-level
格式
uint8
读写
N / R
0 ~ 100,步长 1
电池充电状态
#1034 · charging-state
格式
uint8
读写
N / R
0Charging
1Not Charging
2Abnormal
工作状态
#1004 · status
格式
uint8
读写
N / R
1Open
2Closed
门铃
#7 · doorbell
属性 3事件 1

Properties

当前时间
#1 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
铃声类型
#3 · ringtone
格式
uint8
读写
1铃声1
2铃声2
3铃声3
4铃声4
5铃声5
音量
#4 · volume
格式
uint8
读写
3
2
1
0静音

Events

门铃响了
#1006 · doorbell-ring
触发参数
#1当前时间uint32
勿扰
#8 · no-disturb
属性 2

Properties

勿扰
#1 · no-disturb
格式
bool
读写
启用时间段
#2 · enable-time-period
格式
string
读写
时间管理
#9 · time-management
属性 2动作 1

Properties

时区偏移量
#1 · time-zone-offset
格式
float
读写
-20 ~ 20,步长 0.25
当前时间
#2 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1

Actions

时间校准
#1 · time-correction
入参
#1时区偏移量float#2当前时间uint32
门锁音量管理
#10 · lock-volume-management
属性 8

Properties

门锁操作提示音
#1 · door-operation-volume
格式
uint8
读写
0
1
2
门未关告警音量
#2 · door-open-reminder-volume
格式
uint8
读写
0
1
2
门未关提示时间
#3 · door-open-reminder-time
格式
uint8
读写
0无提示
15秒
210秒
320秒
430秒
5120秒
6180秒
门虚掩告警音量
#4 · door-ajar-reminder-volume
格式
uint8
读写
0
1
2
门虚掩提示时间
#5 · door-ajar-reminder-time
格式
uint8
读写
0无提示
15秒
210秒
320秒
430秒
5120秒
6180秒
门锁被破坏告警音量
#6 · door-lock-broken-reminder-volume
格式
uint8
读写
0
1
2
门锁被破坏提示时间
#7 · door-lock-broken-reminder-time
格式
uint8
读写
0立即
15秒
210秒
320秒
语言
#8 · language
格式
uint8
读写
0中文
1英文
门锁详细版本
#11 · lock-version
属性 5

Properties

前面板版本
#1 · front-panel-version
格式
string
读写
后面板版本
#2 · rear-panel-version
格式
string
读写
指纹板版本
#3 · fingerprint-board-version
格式
string
读写
硬件版本
#4 · hardware-version
格式
string
读写
语音版本
#5 · voice-version
格式
string
读写