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

小米智能门锁 M20 Pro

urn:miot-spec-v2:device:lock:0000A038:loock-r2:2
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
1Lock
2Lock
3Lock
4Lock
5Lock
6Lock
7Lock
8Lock
9Lock
10Lock
11Lock
12Lock
13Lock
14Lock
15Lock
16Lock
17Lock
18Lock
19Lock
20Lock
21Lock
22Lock
23Lock
24Lock
25Lock

Events

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

Properties

Door State
#1021 · door-state
Format
uint8
Access
Value
16Lock
20Lock
24Lock
28Lock
32Lock
36Lock
40Lock
44Lock
48Lock
52Lock
56Lock
60Lock
64Lock
68Lock
72Lock
76Lock
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
10 properties4 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
Wide Dynamic Range Mode
#5 · wdr-mode
Format
bool
Access
R / W / N
Value
—
ECO
#6 · eco
Format
bool
Access
R / W / N
Value
—
Ringtone
#7 · ringtone
Format
uint8
Access
R / W / N
Value
1 ~ 5, step 1
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
Auto Screen On
#11 · auto-screen-on
Format
bool
Access
R / W / N
Value
—

Events

Doorbell Ring
#1 · doorbell-ring
Arguments
#10Current Timeuint32#9Cloud Video IDstring
Doorbell Forcibly Removed
#2 · doorbell-forcibly-removed
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
2 actions

Actions

Start P2P Stream
#1 · start-p2p-stream
Stop Camera Stream
#2 · stop-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 properties2 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
Customized Event-2
#1023 · customized-event-2
Arguments
#2Customized Argument-2uint32#3Customized Argument 4uint16#5Customized Argument 5uint8#6Customized Argument 6uint16
Lock
#11 · customized-for-wifi
17 properties5 actions1 events

Properties

Lock
#2 · screen-on-duration
Format
uint8
Access
R / N / W
Value
6Lock
10Lock
15Lock
20Lock
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
60Lock
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
—
Lock
#14 · lcd-show-mode
Format
uint8
Access
R / N / W
Value
1Lock
2Lock
3Lock
4Lock
5Lock
6Lock
7Lock
Lock
#15 · battery-update-time
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1 seconds
Lock
#16 · device-status
Format
bool
Access
R / N
Value
—
Lock
#17 · online-timestamp
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1 seconds
Lock
#18 · customized-property
Format
string
Access
Value
—

Actions

Lock
#1 · rpc-doorbell
Lock
#2 · rpc-preview
Lock
#3 · rpc-record
Lock
#4 · system-reboot
Lock
#5 · sync-setting-ask

Events

Lock
#1 · customized-event
Arguments
#18Lockstring