MIOT HomeMIOT Home
小米智能门锁 M20
#loock.lock.t2v1

小米智能门锁 M20

urn:miot-spec-v2:device:lock:0000A038:loock-t2v1:1
Service tree
Lock
#2 · lock
5 properties3 events

Properties

Status
#1 · status
Format
uint8
Access
R / N
Value
0Open
255Others
Abnormal Condition
#2 · abnormal-condition
Format
uint8
Access
Value
0Frequent Wrong Password
1Frequent Wrong Fingerprint
3Lockpicking
4Reset Button Pressed
9Hijacking Alarm
10Arming State Unlocked Indoor
11Frequent Wrong Unlock
12Frequent Wrong NFC
16Abnormal Fingerprint Sensor
Operation Method
#3 · operation-method
Format
uint32
Access
Value
1Password Outdoor
2Fingerprint Outdoor
6NFC
7One-time Password Outdoor
8Double Verification
10Manual Indoor
11Automatic
Operation ID
#4 · operation-id
Format
uint32
Access
Value
0 ~ 4294967295, step 1
Current Time
#5 · current-time
Format
string
Access
Value
—

Events

Lock Opened
#1 · lock-opened
Arguments
#3Operation Methoduint32#4Operation IDuint32#5Current Timestring
Back Locking
#2 · back-locking
Arguments
#5Current Timestring
Exception Occurred
#3 · exception-occurred
Arguments
#2Abnormal Conditionuint8#5Current Timestring
Door
#3 · door
3 properties1 events

Properties

Status
#1 · status
Format
uint8
Access
R / N
Value
1Open
2Close
3Error
255Others
Abnormal Condition
#2 · abnormal-condition
Format
uint8
Access
Value
1Close Door
2Open Over Time
5Door Stuck
255Others
Current Time
#3 · current-time
Format
string
Access
Value
—

Events

Exception Occurred
#1 · exception-occurred
Arguments
#2Abnormal Conditionuint8#3Current Timestring
Battery
#4 · battery
1 properties1 events

Properties

Battery Level
#1 · battery-level
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage

Events

Low Battery
#1 · low-battery
Arguments
#1Battery Leveluint8