MIOT HomeMIOT Home
小米智能门锁2 Pro
#loock.lock.t3pul

小米智能门锁2 Pro

urn:miot-spec-v2:device:lock:0000A038:loock-t3pul:1
Version v2 v1
Language
Service tree
Lock
#2 · lock
6 properties2 events

Properties

Operation Position
#1 · operation-position
Format
uint8
Access
Value
1Lock
2Lock
3Lock
Operation Method
#2 · operation-method
Format
uint8
Access
Value
1Lock
2Lock
3Lock
4Lock
5Lock
6Lock
7Lock
8Lock
9Lock
10Lock
11Lock
12Lock
13Lock
14Lock
15Lock
16Lock
Lock Action
#3 · lock-action
Format
uint8
Access
Value
1Lock
2Lock
3Lock
4Lock
5Lock
6Lock
7Lock
8Lock
9Lock
Operation ID
#4 · operation-id
Format
uint16
Access
Value
0 ~ 65535, step 1
Current Time
#5 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1 seconds
Abnormal Condition
#6 · abnormal-condition
Format
uint8
Access
Value
1Frequent Unlocking Failed By Multiple Methods
2Frequent Unlocking Failed By Password
3Frequent Unlocking Failed By Fingerprint
4Frequent Unlocking Failed By NFC
5Frequent Unlocking Failed By Face
6Frequent Unlocking Failed By Palmprint
7Frequent Unlocking Failed By Finger Vein
8Frequent Unlocking Failed By Key
9Door Lock Was Damaged
10Locked Unsuccessfully
11Unlock From Inside After Leaving Home
12Door Lock Was Reset
13Foreign Object Detected In The Keyhole
14Key Was Not Removed
15Door Lock Fingerprint Sensor Error
16Door Lock Mechanical Failure
17Door Lock Main Part Failure
18The Lithium Battery Temperature Is Too High
19Door Lock Batteries Are Low
20Door Lock Batteries Are Nearly Depleted
21Door Lock Camera Batteries Are Low
22Door Lock Camera Batteries Are Nearly Depleted
23Leaving The Door Open Timed Out
24Door Was Ajar
25Door Was Opened Forcefully
26Pir Trigger Thirty

Events

Lock Event
#1020 · lock-event
Arguments
#1Operation Positionuint8#2Operation Methoduint8#3Lock Actionuint8#4Operation IDuint16#5Current Timeuint32
Exception Occurred
#1007 · exception-occurred
Arguments
#5Current Timeuint32#6Abnormal Conditionuint8
Door
#3 · door
1 properties

Properties

Door State
#1021 · door-state
Format
uint8
Access
Value
16Locked
20Locked
24Locked
28Locked
32Unlocked
36Unlocked
40Unlocked
44Unlocked
48Leaving The Door Open Timed Out
52Leaving The Door Open Timed Out
56Leaving The Door Open Timed Out
60Leaving The Door Open Timed Out
64Door Was Ajar
68Door Was Ajar
72Door Was Ajar
76Door Was Ajar
Battery
#4 · battery
1 properties

Properties

Battery Level
#1003 · battery-level
Format
uint8
Access
N / R
Value
0 ~ 100, step 1 percentage
Doorbell
#5 · doorbell
1 properties1 events

Properties

Current Time
#1 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1 seconds

Events

Doorbell Ring
#1006 · doorbell-ring
Arguments
#1Current Timeuint32
Video Doorbell
#7 · video-doorbell
7 properties3 events

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Status
#2 · status
Format
uint8
Access
R / N
Value
0Lock
1Idle
Night Shot
#3 · night-shot
Format
uint8
Access
R / W / N
Value
0Off
1On
2Auto
ECO
#6 · eco
Format
bool
Access
R / W / N
Value
—
Image Distortion Correction
#8 · image-distortion-correction
Format
bool
Access
R / W / N
Value
—
Cloud Video ID
#9 · cloud-video-id
Format
string
Access
Value
—
Current Time
#10 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1

Events

Doorbell Ring
#1 · doorbell-ring
Arguments
#10Current Timeuint32#9Cloud Video IDstring
Someone Passed By
#3 · someone-passed-by
Arguments
#10Current Timeuint32#9Cloud Video IDstring
Someone At The Door
#4 · someone-at-the-door
Arguments
#10Current Timeuint32#9Cloud Video IDstring
Motion Detection
#8 · motion-detection
3 properties

Properties

Detection Sensitivity
#3 · detection-sensitivity
Format
uint8
Access
R / W / N
Value
0Low
1Middle
2High
Motion Detection Start Time
#4 · motion-detection-start-time
Format
string
Access
R / W / N
Value
—
Motion Detection End Time
#5 · motion-detection-end-time
Format
string
Access
R / W / N
Value
—
PP Stream
#9 · p2p-stream
Battery
#10 · 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
Customized Service For Ble
#12 · customized-service-for-ble
5 properties1 events

Properties

Customized Argument-2
#2 · customized-argument-2
Format
uint32
Access
Value
0 ~ 4294967295, step 1
Customized Argument 4
#3 · customized-argument-4
Format
uint16
Access
Value
0 ~ 65535, step 1
Customized Argument 5
#5 · customized-argument-5
Format
uint8
Access
Value
0Lock
1Lock
Customized Argument 6
#6 · customized-argument-6
Format
uint16
Access
Value
0 ~ 65535, step 1
Customized Argument-1
#7 · customized-argument-1
Format
uint8
Access
Value
0 ~ 255, step 1

Events

Customized Event-1
#1022 · customized-event-1
Arguments
#7Customized Argument-1uint8#6Customized Argument 6uint16#2Customized Argument-2uint32
Lock
#11 · customized-for-wifi
15 properties2 actions

Properties

Lock
#3 · record-someone-pass
Format
bool
Access
R / N / W
Value
—
Lock
#4 · record-someone-stay
Format
bool
Access
R / N / W
Value
—
Lock
#5 · stay-duration
Format
uint8
Access
R / N / W
Value
6Lock
10Lock
15Lock
20Lock
30Lock
Lock
#6 · glimmer-full-color
Format
bool
Access
R / N / W
Value
—
Lock
#7 · eco-wakeup-duration
Format
uint8
Access
R / N / W
Value
1 ~ 5, step 1 minutes
Lock
#8 · real-view-start-time
Format
string
Access
R / N / W
Value
—
Lock
#9 · real-view-end-time
Format
string
Access
R / N / W
Value
—
Lock
#10 · ver-wifi-detail
Format
string
Access
R / N
Value
—
Lock
#11 · ver-lock-detail
Format
string
Access
R / N
Value
—
Lock
#12 · ver-camera-detail
Format
string
Access
R / N
Value
—
Lock
#13 · ver-fw-camera
Format
string
Access
R / N
Value
—
#14 · lcd-show-mode
Format
uint8
Access
R / N / W
Value
1Area 1
2Area 2
3Area3
4Area 4
5Area 5
6Area 6
7Area 7
#15 · battery-update-time
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1 seconds
#16 · device-status
Format
bool
Access
R / N
Value
—
#17 · online-timestamp
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1 seconds

Actions

Lock
#3 · rpc-record
Lock
#5 · sync-setting-ask