MIOT HomeMIOT Home
小米智能门锁 M30 掌静脉版
#xiaomi.lock.s20

小米智能门锁 M30 掌静脉版

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

Properties

Abnormal Condition
#1 · abnormal-condition
Format
uint8
Access
Value
1Frequent Unlocking Failed By Multiple Methods
2Door Lock Was Damaged
3Door Lock Was Reset
4Door Lock Batteries Are Low
5Door Lock Batteries Are Nearly Depleted
6Unlock From Inside After Leaving Home
7Door Was Ajar
9Leaving The Door Open Timed Out
10Door Closed Properly After Left Ajar
11The Door Is Not Closed Well
12Unlock Exception
13Battery High Temperature Alarm
14Door Lock Camera Batteries Are Low
15Door Lock Camera Batteries Are Nearly Depleted
16The Lithium Battery Temperature Is Too High
19Lithium Battery Remove
20AA Battery Remove
21Lithium Battery Installed
22AA Battery Installed
23The Lithium Battery Temperature Is Normal
Operation Method
#2 · operation-method
Format
uint8
Access
Value
1Mobile Phone
2Finger Print
3PassWord
4NFC
5Lock Key
6One Time Password
7Periodic Password
8Coerce
9Button Unlock Inside
11Face
12Palm Print
13Remote
Operation ID
#3 · operation-id
Format
uint16
Access
Value
0 ~ 65535, step 1
Current Time
#4 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1 seconds
Operation Position
#5 · operation-position
Format
uint8
Access
Value
1Indoor
2OutDoor
Lock Action
#6 · lock-action
Format
uint8
Access
Value
1Lock
2Unlock
3Locked From Inside
4Released Lock From Inside
5Enabled Child Lock
6Disabled Child Lock
7Enable The Away From Home Mode
8Disable The Away From Home Mode
9Close The Door
10Enabled Child Lock And From Inside
11Disabled Child Lock And From Inside

Events

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

Properties

Door State
#1021 · door-state
Format
uint8
Access
N / R
Value
1Locked
2Unlocked
3Door Closed Properly After Left Ajar
4Door Was Ajar
5Leaving The Door Open Timed Out
17Locked
49Locked
33Locked
18Unlocked
50Unlocked
34Unlocked
19Door Closed Properly After Left Ajar
51Door Closed Properly After Left Ajar
35Door Closed Properly After Left Ajar
20Door Was Ajar
52Door Was Ajar
36Door Was Ajar
21Leaving The Door Open Timed Out
53Leaving The Door Open Timed Out
37Leaving The Door Open Timed Out
6Door Not Close
22Door Not Close
54Door Not Close
38Door Not Close
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
#6 · video-doorbell
8 properties2 events

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Night Shot
#3 · night-shot
Format
uint8
Access
R / W / N
Value
2Auto
1Off
0On
Image Distortion Correction (not supported)
#8 · image-distortion-correction
Format
bool
Access
R / W / N
Value
—
Cloud Video ID (not supported)
#9 · cloud-video-id
Format
string
Access
Value
—
Current Time
#10 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1
Auto Screen On
#13 · auto-screen-on
Format
bool
Access
R / W / N
Value
—
Live Video Valid Time
#15 · live-video-valid-time
Format
uint8
Access
R / W / N
Value
11 Minute
22 Minute
33 Minute
44 Minute
55 Minute
Live Video Enable Time Period
#16 · live-video-enable-time-period
Format
string
Access
R / W / N
Value
—

Events

Doorbell Ring
#1 · doorbell-ring
Arguments
#10Current Timeuint32
Someone At The Door
#4 · someone-at-the-door
Arguments
#10Current Timeuint32
Motion Detection
#7 · motion-detection
4 properties

Properties

Motion Detection
#1 · motion-detection
Format
bool
Access
R / W / N
Value
—
Detection Sensitivity
#3 · detection-sensitivity
Format
uint8
Access
R / W / N
Value
1High
2Middle
3Low
4Lower
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
#8 · p2p-stream
2 actions

Actions

Start P2P Stream (not supported)
#1 · start-p2p-stream
Stop Camera Stream (not supported)
#2 · stop-stream
Battery
#9 · battery
1 properties

Properties

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

Properties

Demo Mode Status
#1 · demo-mode-status
Format
bool
Access
R / N
Value
—
customized-for-wifi
#10 · customized-for-wifi
16 properties1 actions5 events

Properties

#1 · screen-on-duration
Format
uint8
Access
R / N / W
Value
10Second 10
15Second 15
20Second 20
#2 · record-someone-stay
Format
bool
Access
R / N / W
Value
—
stay-duration
#3 · stay-duration
Format
uint8
Access
R / N / W
Value
6Stay 6 Second
10Stay 10 Second
15Stay 15 Second
20Stay 20 Second
30Stay 30 Second
60Stay 60 Second
0Stay 0 Second
#4 · glimmer-full-color
Format
bool
Access
R / N / W
Value
—
lcd-show-mode
#5 · lcd-show-mode
Format
uint8
Access
R / N / W
Value
0Area Left
1Area Mid
2Area Right
#6 · parcel-detection
Format
bool
Access
R / N / W
Value
—
#7 · child-detection
Format
bool
Access
R / N / W
Value
—
live-video-streaming
#8 · live-video-streaming
Format
bool
Access
R / N / W
Value
—
#9 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1
#10 · wachat-info
Format
string
Access
R / N / W
Value
—
#11 · bind-wifi
Format
bool
Access
R / N
Value
—
#12 · battery-status
Format
bool
Access
R / N
Value
—
#13 · libattery-status
Format
bool
Access
R / N
Value
—
#14 · wifi-online
Format
bool
Access
R / N
Value
—
#15 · libattery-temp
Format
bool
Access
R / N
Value
—
#16 · video-message
Format
string
Access
N / R / W
Value
—

Actions

upload-video
#1 · upload-video

Events

child-detection
#1 · child-detection
Arguments
#9uint32
parcel-detection
#2 · parcel-detection
Arguments
#9uint32
parcel-move
#3 · parcel-move
Arguments
#9uint32
face-detection
#4 · face-detection
Arguments
#9uint32
wechat-unauthorized
#5 · wechat-unauthorized
Arguments
#9uint32
customized-wifi-lock
#11 · customized-wifi-lock
25 properties1 actions

Properties

#1 · language
Format
uint8
Access
R / N / W
Value
0Chinese
1English
#2 · unlock-tone-volume
Format
uint8
Access
R / N / W
Value
0Mute
1High
2Middle
3Low
#3 · doorbell-volume
Format
uint8
Access
R / N / W
Value
0Mute
1High
2Middle
3Low
alarm-volume
#4 · alarm-volume
Format
uint8
Access
N / R / W
Value
0Mute
1High
2Middle
3Low
#5 · door-open-volume
Format
uint8
Access
R / N / W
Value
0Mute
1High
2Middle
3Low
#6 · door-ajar-volume
Format
uint8
Access
R / N / W
Value
0Mute
1High
2Middle
3Low
#7 · door-open-time
Format
uint8
Access
R / N / W
Value
0No Prompt
55 Second
1010 Second
2020 Second
3030 Second
120120 Second
180180 Second
#8 · doorbell-ring
Format
uint8
Access
R / N / W
Value
1Ring 1
2Ring 2
3Ring 3
#9 · leave-home
Format
bool
Access
R / N / W
Value
—
multifunction-button
#10 · multifunction-button
Format
uint8
Access
R / N / W
Value
1001
2010
3011
5101
6110
7111
doorbell-switch
#11 · doorbell-switch
Format
bool
Access
R / N / W
Value
—
doorbell-light
#12 · doorbell-light
Format
bool
Access
R / N / W
Value
—
#13 · face-switch
Format
bool
Access
R / N / W
Value
—
#14 · palm-vein
Format
bool
Access
R / N / W
Value
—
#15 · face-sleep-time
Format
uint8
Access
R / N / W
Value
00 Second
55 Second
1515 Second
3030 Second
6060 Second
#16 · lock-sensitivity
Format
uint8
Access
R / N / W
Value
1High
2Middle
3Low
#17 · auto-identify
Format
bool
Access
R / N / W
Value
—
#18 · lock-setting-key
Format
bool
Access
R / N / W
Value
—
#19 · temperature-alarm
Format
bool
Access
R / N / W
Value
—
#20 · datas
Format
string
Access
Value
—
#21 · demo-volume
Format
uint8
Access
W
Value
0Mute
1High
2Middle
3Low
#22 · auto-update
Format
bool
Access
W
Value
—
#23 · child-lock-status
Format
bool
Access
R / N / W
Value
—
#24 · door-close-volume
Format
bool
Access
R / N / W
Value
—
#25 · face-volume
Format
bool
Access
R / N / W
Value
—

Actions

send-data
#1 · send-data
Input
#20string
Output
#20string