MIOT HomeMIOT Home
MIOT
#miot.lock.131

miot.lock.131

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

Properties

异常情况
#1 · abnormal-condition
格式
uint8
读写
0
操作方式
#2 · operation-method
格式
uint8
读写
1BLE
操作ID
#3 · operation-id
格式
uint16
读写
0 ~ 65535,步长 1
当前时间(unix timestamp)
#4 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
操作位置
#5 · operation-position
格式
uint8
读写
1Indoor
2Outdoor
锁动作
#6 · lock-action
格式
uint8
读写
1Lock
反锁
#7 · anti-lock
格式
bool
读写
R / N / W
配置物理按键功能
#8 · button-function
格式
uint8
读写
R / W / N
0Anti Lock
1Child Lock
2Anti Lock And Child Lock
双重验证
#9 · two-step-verification
格式
bool
读写
R / W / N
离家模式
#10 · away-home-mode
格式
bool
读写
R / W / N
童锁
#11 · child-lock
格式
bool
读写
R / W / N
人脸开锁灵敏度
#12 · face-unlock-sensitivity
格式
uint8
读写
R / W / N
0Low
1Middle
2High
人脸开锁休眠时长
#13 · face-unlock-sleep-time
格式
uint8
读写
R / W / N
00 Seconds
15 Seconds
215 Seconds
330 Seconds
460 Seconds
门锁本地设置开关
#14 · door-lock-local-settings
格式
bool
读写
R / W / N
管理员开反锁开关
#15 · turn-on-the-anti-lock-setting
格式
bool
读写
R / W / N
重置验证开关
#16 · reset-with-verification-required-setting
格式
bool
读写
R / W / N
人脸识别开锁开关
#17 · face-recognition-unlocking-switch
格式
bool
读写
R / W / N
掌静脉识别开锁开关
#18 · palm-vein-recognition-unlocking-switch
格式
bool
读写
R / W / N
触发方式
#19 · triggering-method
格式
uint8
读写
R / W / N
0Manual
1Auto
门锁本地设置状态
#20 · door-lock-local-setting-status
格式
bool
读写
R / W / N
低功耗设备Wi-Fi状态
#21 · low-power-device-wifi-status
格式
uint8
读写
R / N
0Unknown
1Online
2Sleep
3Offline

Actions

蓝牙开锁
#1 · ble-unlock
蓝牙唤醒设备
#2 · ble-awake-dev
远程开锁
#3 · remote-unlocking

Events

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

Properties

门状态
#1 · door-state
格式
uint8
读写
R / N
1Open
2Closed
当前时间(unix timestamp)
#2 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
电源供电方式
#3 · power-supply-mode
格式
uint8
读写
R / N
1Battery Powered
2Mains Powered
障碍物状态
#4 · barrier-state
格式
uint8
读写
R / N
0None
1Hit Barrier
2Detect Barrier

Actions

远程关门
#1 · remote-close-door

Events

门事件
#1 · door-event
触发参数
#1门状态uint8
适配器电源事件
#2 · power-supply-event
触发参数
#3电源供电方式uint8#2当前时间(unix timestamp)uint32
电池
#4 · battery
属性 8动作 1事件 4

Properties

电池电量
#1 · battery-level
格式
uint8
读写
R / N
0 ~ 100,步长 1
电池充电状态
#2 · charging-state
格式
uint8
读写
R / N
1Charging
2Not Charging
3Not Chargeable
电压
#3 · voltage
格式
uint16
读写
R / N
0 ~ 65535,步长 1
工作状态
#4 · status
格式
uint8
读写
R / N
1Idle
2Busy
3Delay
充至指定电量
#5 · charge-progress
格式
uint8
读写
R / N
1 ~ 100,步长 1
降至指定电量
#6 · usage-progress
格式
uint8
读写
R / N
1 ~ 100,步长 1
ECO节能模式
#7 · eco
格式
bool
读写
R / W / N
当前时间(unix timestamp)
#8 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1

Actions

开始充电
#1 · start-charge

Events

电量低
#1 · low-battery
电池状态改变
#2 · battery-status-change
触发参数
#4工作状态uint8
电池耗尽
#3 · battery-run-out
充电通知
#4 · charging-notification
门铃
#5 · doorbell
属性 7事件 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
工作状态
#2 · status
格式
uint8
读写
R / N
1Idle
2Busy
3Delay
故障
#3 · fault
格式
uint8
读写
R / N
0No Faults
铃声类型
#4 · ringtone
格式
uint8
读写
R / W / N
1 ~ 5,步长 1
音量
#5 · volume
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
当前时间(unix timestamp)
#6 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
门铃灯开关
#7 · doorbell-light-on
格式
bool
读写
R / W / N

Events

门铃响了
#1 · doorbell-ring
触发参数
#6当前时间(unix timestamp)uint32
BLE专用自定义服务(ble专用,事件参数总长度不能超过9字节)
#6 · customized-service-for-ble
属性 12事件 6

Properties

自定义属性2
#1 · customized-property-2
格式
uint8
读写
R / N
1Default
自定义属性1
#2 · customized-property-1
格式
uint8
读写
R / N
0 ~ 255,步长 1
自定义参数1
#3 · customized-argument-1
格式
uint8
读写
0 ~ 255,步长 1
自定义参数2
#4 · customized-argument-2
格式
uint8
读写
1Default
自定义参数6(ble专用,事件参数总长度不能超过9字节)
#5 · customized-argument-6
格式
uint8
读写
0 ~ 1,步长 1
自定义参数5(ble专用,事件参数总长度不能超过9字节)
#6 · customized-argument-5
格式
uint8
读写
0 ~ 1,步长 1
自定义参数4(ble专用,事件参数总长度不能超过9字节)
#7 · customized-argument-4
格式
uint8
读写
0 ~ 1,步长 1
自定义参数3(ble专用,事件参数总长度不能超过9字节)
#8 · customized-argument-3
格式
uint8
读写
0 ~ 1,步长 1
自定义属性3
#9 · customized-property-3
格式
int32
读写
R / N
-2147483647 ~ 2147483647,步长 1
自定义属性4
#10 · customized-property-4
格式
int32
读写
R / N
1 ~ 10,步长 1
自定义属性5
#11 · customized-property-5
格式
int32
读写
R / N
1 ~ 10,步长 1
自定义属性6
#12 · customized-property-6
格式
int32
读写
R / N
1 ~ 10,步长 1

Events

自定义事件1(ble专用,参数长度不能超过9字节)
#1 · customized-event-1
自定义事件2(ble专用,参数长度不能超过9字节)
#2 · customized-event-2
自定义事件3(ble专用,参数长度不能超过9字节)
#3 · customized-event-3
自定义事件4(ble专用,参数长度不能超过9字节)
#4 · customized-event-4
自定义事件5(ble专用,参数长度不能超过9字节)
#5 · customized-event-5
自定义事件6(ble专用,参数长度不能超过9字节)
#6 · customized-event-6
门锁历史记录
#7 · lock-history
属性 18动作 1事件 1

Properties

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

Actions

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

Events

历史记录上报完成
#1 · history-notify-complete
触发参数
#6历史数据最新时间戳uint32
门锁管理
#8 · lock-manage
属性 10动作 8事件 9

Properties

用户id
#1 · user-ids
格式
uint16
读写
0 ~ 65535,步长 1
用户类型
#2 · user-type
格式
uint8
读写
0Owner
1Manager
2Normal User
3Frequent Visitors
4All Users
5All Normal Users
错误码
#3 · error-code
格式
uint16
读写
0Success
1Received Command Successfully Executing
2Internal Error
3Not Found
4Memory Full
5Parameter Error
6Timeout
7Device Busy
8Duplicate Parameter
9Duplicate Credentials
当前时间(unix timestamp)
#4 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
凭据内容
#5 · credential
格式
string
读写
操作方式
#6 · operation-method
格式
uint8
读写
1BLE
操作ID
#7 · operation-id
格式
uint16
读写
0 ~ 65535,步长 1
凭据状态
#8 · credential-state
格式
uint8
读写
0Success
1Fail
当前要添加的凭据序号
#9 · credential-step-current
格式
uint8
读写
0 ~ 255,步长 1
总凭据数量
#10 · credential-step-all
格式
uint8
读写
0 ~ 255,步长 1

Actions

配置用户 (支持覆盖)
#1 · add-lock-user
删除用户
#2 · delete-lock-user
同步用户信息
#3 · sync-lock-user
添加开锁方式
#4 · add-unlock-method
入参
#1用户iduint16#6操作方式uint8#7操作IDuint16#5凭据内容string
取消添加
#5 · cancel-unlock-method
删除开锁方式
#6 · delete-unlock-method
入参
#1用户iduint16#7操作IDuint16
同步开锁方式
#7 · sync-unlock-method
分配用户信息
#8 · alloc-lock-user

Events

更新用户组
#1 · update-lock-user
更新开锁方式
#2 · update-unlock-method
触发参数
#3错误码uint16#1用户iduint16#6操作方式uint8#7操作IDuint16#4当前时间(unix timestamp)uint32
添加凭据事件
#3 · add-credential-event
触发参数
#8凭据状态uint8#9当前要添加的凭据序号uint8#10总凭据数量uint8
添加用户完成
#4 · add-user-complete
触发参数
#1用户iduint16#4当前时间(unix timestamp)uint32
删除用户完成
#5 · delete-user-complete
触发参数
#1用户iduint16#4当前时间(unix timestamp)uint32
添加开锁方式完成
#6 · add-user-key-complete
触发参数
#1用户iduint16#7操作IDuint16#4当前时间(unix timestamp)uint32
删除开锁方式完成
#7 · delete-user-key-complete
触发参数
#1用户iduint16#7操作IDuint16#4当前时间(unix timestamp)uint32
同步开锁方式完成
#8 · sync-user-key-complete
同步用户完成
#9 · sync-user-complete
勿扰
#9 · no-disturb
属性 3

Properties

勿扰
#1 · no-disturb
格式
bool
读写
R / W / N
启用时间段(格式为:00:00:00-00:00:00)
#2 · enable-time-period
格式
string
读写
R / W / N
当前勿扰状态
#3 · current-no-disturb
格式
bool
读写
R / N
提示音
#10 · alarm
属性 3

Properties

提示音
#1 · alarm
格式
bool
读写
R / W / N
音量
#2 · volume
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
自动关闭提示音
#3 · auto-alarm-off
格式
bool
读写
R / W / N
时间管理
#11 · time-management
属性 3动作 1

Properties

时区偏移量
#1 · time-zone-offset
格式
float
读写
-20 ~ 20,步长 0.25
小时制(12/24)
#2 · hour-system
格式
uint8
读写
R / W / N
112
224
当前时间(unix timestamp)
#3 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1

Actions

时间校准(校时)
#1 · time-correction
入参
#1时区偏移量float#3当前时间(unix timestamp)uint32
门锁详细版本
#12 · lock-version
属性 8

Properties

前面板版本
#1 · front-panel-version
格式
string
读写
R / N
后面板版本
#2 · rear-panel-version
格式
string
读写
R / N
指纹板版本
#3 · fingerprint-board-version
格式
string
读写
R / N
摄像头版本
#4 · camera-version
格式
string
读写
R / N
Wi-Fi版本
#5 · wifi-version
格式
string
读写
R / N
语音版本
#6 · voice-version
格式
string
读写
R / N
硬件版本
#7 · hardware-version
格式
string
读写
R / N
人脸掌静脉版本
#8 · face-palm-vein-version
格式
string
读写
R / N
门锁音量管理
#13 · lock-volume-management
属性 10

Properties

门未关提示时间
#1 · door-open-reminder-time
格式
uint8
读写
R / W / N
0No Reminder
15 Seconds
210 Seconds
320 Seconds
430 Seconds
5120 Seconds
6180 Seconds
门未关告警音量
#2 · door-open-reminder-volume
格式
uint8
读写
R / W / N
0Low
1Middle
2High
3Silent
门虚掩提示时间
#3 · door-ajar-reminder-time
格式
uint8
读写
R / W / N
0No Reminder
15 Seconds
210 Seconds
320 Seconds
430 Seconds
5120 Seconds
6180 Seconds
门虚掩告警音量
#4 · door-ajar-reminder-volume
格式
uint8
读写
R / W / N
0Low
1Middle
2High
3Silent
门锁被破坏提示时间
#5 · door-lock-broken-reminder-time
格式
uint8
读写
R / W / N
0Immediately
15 Seconds
210 Seconds
320 Seconds
门锁被破坏告警音量
#6 · door-lock-broken-reminder-volume
格式
uint8
读写
R / W / N
0Low
1Middle
2High
3Silent
语言
#7 · language
格式
uint8
读写
R / W / N
0Chinese
1English
门锁操作提示音
#8 · door-operation-volume
格式
uint8
读写
R / W / N
0Low
1Middle
2High
3Silent
告警音量
#9 · reminder-volume
格式
uint8
读写
R / W / N
0Low
1Middle
2High
3Silent
关门提示音
#10 · door-closing-reminder-volume
格式
uint8
读写
R / W / N
0Silent
门锁猫眼
#14 · door-lock-camera
属性 25动作 4事件 3

Properties

开关
#1 · on
格式
bool
读写
R / W / N
夜视功能
#2 · night-shot
格式
uint8
读写
R / W / N
0Off
1On
2Auto
3Auto Full Color
4On Full Color
5Auto Smart Full Color
时间水印
#3 · time-watermark
格式
bool
读写
R / W / N
宽动态范围模式
#4 · wdr-mode
格式
bool
读写
R / W / N
ECO节能模式
#5 · eco
格式
bool
读写
R / W / N
铃声类型
#6 · ringtone
格式
uint8
读写
R / W / N
1 ~ 5,步长 1
图像畸变矫正
#7 · image-distortion-correction
格式
bool
读写
R / W / N
当前时间(unix timestamp)
#8 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
自动亮屏
#9 · auto-screen-on
格式
bool
读写
R / W / N
实时视频流
#10 · live-video-streaming
格式
bool
读写
R / N / W
实时视频有效时间
#11 · live-video-valid-time
格式
uint8
读写
R / W / N
11
22
33
44
55
实时视频开启时间段
#12 · live-video-enable-time-period
格式
string
读写
R / W / N
侦测灵敏度
#13 · detection-sensitivity
格式
uint8
读写
R / W / N
1Low
自动亮屏时间
#14 · auto-screen-on-time
格式
uint8
读写
R / W / N
010 Seconds
115 Seconds
220 Seconds
微光全彩
#15 · glimmer-full-color
格式
bool
读写
R / W / N
模式
#16 · mode
格式
uint8
读写
R / W / N
0Auto
有人经过开关
#17 · pass-by-activated-switch
格式
bool
读写
R / W / N
有人停留开关
#18 · someone-staying-activated-switch
格式
bool
读写
R / W / N
停留时长
#19 · staying-time
格式
uint8
读写
R / W / N
06 Seconds
110 Seconds
215 Seconds
320 Seconds
430 Seconds
人脸标记开关
#20 · face-marking-switch
格式
bool
读写
R / W / N
屏幕展示区域
#21 · screen-display-area
格式
uint8
读写
R / W / N
0Left
1Middle
2Right
录像开始时间
#22 · video-recording-start-time
格式
string
读写
R / W / N
录像结束时间
#23 · video-recording-end-time
格式
string
读写
R / W / N
录像时间段
#24 · video-recording-time-period
格式
string
读写
R / W / N
微信音视频信息
#25 · wechat-info
格式
string
读写
R / W / N

Actions

远程呼叫
#1 · remote-call
点亮屏幕
#2 · light-up-screen
唤醒
#3 · wake-up
视频录制
#4 · video-recording

Events

有人经过
#1 · someone-passed-by
有人停留
#2 · someone-at-the-door
微信未授权通知
#3 · wechat-unauth-notify
触发参数
#8当前时间(unix timestamp)uint32