
#xiaomi.lock.s20
小米智能门锁 M30 掌静脉版
urn:miot-spec-v2:device:lock:0000A038:xiaomi-s20:1
Language
Service tree
Lock#2 · lock6 properties2 events
Lock
#2 · lock
Properties
Abnormal Condition
#1 · abnormal-condition
- Format
- uint8
- Access
- Value
- 1Frequent Unlocking Failed By Multiple Methods2Door Lock Was Damaged3Door Lock Was Reset4Door Lock Batteries Are Low5Door Lock Batteries Are Nearly Depleted6Unlock From Inside After Leaving Home7Door Was Ajar9Leaving The Door Open Timed Out10Door Closed Properly After Left Ajar11The Door Is Not Closed Well12Unlock Exception13Battery High Temperature Alarm14Door Lock Camera Batteries Are Low15Door Lock Camera Batteries Are Nearly Depleted16The Lithium Battery Temperature Is Too High19Lithium Battery Remove20AA Battery Remove21Lithium Battery Installed22AA Battery Installed23The Lithium Battery Temperature Is Normal
Operation Method
#2 · operation-method
- Format
- uint8
- Access
- Value
- 1Mobile Phone2Finger Print3PassWord4NFC5Lock Key6One Time Password7Periodic Password8Coerce9Button Unlock Inside11Face12Palm Print13Remote
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
- 1Indoor2OutDoor
Lock Action
#6 · lock-action
- Format
- uint8
- Access
- Value
- 1Lock2Unlock3Locked From Inside4Released Lock From Inside5Enabled Child Lock6Disabled Child Lock7Enable The Away From Home Mode8Disable The Away From Home Mode9Close The Door10Enabled Child Lock And From Inside11Disabled 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 · door1 properties
Door
#3 · door
Properties
Door State
#1021 · door-state
- Format
- uint8
- Access
- N / R
- Value
- 1Locked2Unlocked3Door Closed Properly After Left Ajar4Door Was Ajar5Leaving The Door Open Timed Out17Locked49Locked33Locked18Unlocked50Unlocked34Unlocked19Door Closed Properly After Left Ajar51Door Closed Properly After Left Ajar35Door Closed Properly After Left Ajar20Door Was Ajar52Door Was Ajar36Door Was Ajar21Leaving The Door Open Timed Out53Leaving The Door Open Timed Out37Leaving The Door Open Timed Out6Door Not Close22Door Not Close54Door Not Close38Door Not Close
Battery#4 · battery1 properties
Battery
#4 · battery
Properties
Battery Level
#1003 · battery-level
- Format
- uint8
- Access
- N / R
- Value
- 0 ~ 100, step 1 percentage
Doorbell#5 · doorbell1 properties1 events
Doorbell
#5 · doorbell
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-doorbell8 properties2 events
Video Doorbell
#6 · video-doorbell
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Night Shot
#3 · night-shot
- Format
- uint8
- Access
- R / W / N
- Value
- 2Auto1Off0On
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 Minute22 Minute33 Minute44 Minute55 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-detection4 properties
Motion Detection
#7 · motion-detection
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
- 1High2Middle3Low
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-stream2 actions
PP Stream
#8 · p2p-stream
Actions
Start P2P Stream (not supported)
#1 · start-p2p-stream
Stop Camera Stream (not supported)
#2 · stop-stream
Battery#9 · battery1 properties
Battery
#9 · battery
Properties
Battery Level
#1 · battery-level
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 100, step 1 percentage
Demo#13 · demo1 properties
Demo
#13 · demo
Properties
Demo Mode Status
#1 · demo-mode-status
- Format
- bool
- Access
- R / N
- Value
- —
customized-for-wifi#10 · customized-for-wifi15 properties1 actions5 events
customized-for-wifi
#10 · customized-for-wifi
Properties
#1 · screen-on-duration
- Format
- uint8
- Access
- R / N / W
- Value
- 10Second 1015Second 1520Second 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 Second10Stay 10 Second15Stay 15 Second20Stay 20 Second30Stay 30 Second60Stay 60 Second0Stay 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 Left1Area Mid2Area 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
- —
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-lock22 properties1 actions
customized-wifi-lock
#11 · customized-wifi-lock
Properties
#1 · language
- Format
- uint8
- Access
- R / N / W
- Value
- 0Chinese1English
#2 · unlock-tone-volume
- Format
- uint8
- Access
- R / N / W
- Value
- 0Mute1High2Middle3Low
#3 · doorbell-volume
- Format
- uint8
- Access
- R / N / W
- Value
- 0Mute1High2Middle3Low
alarm-volume
#4 · alarm-volume
- Format
- uint8
- Access
- N / R / W
- Value
- 0Mute1High2Middle3Low
#5 · door-open-volume
- Format
- uint8
- Access
- R / N / W
- Value
- 0Mute1High2Middle3Low
#6 · door-ajar-volume
- Format
- uint8
- Access
- R / N / W
- Value
- 0Mute1High2Middle3Low
#7 · door-open-time
- Format
- uint8
- Access
- R / N / W
- Value
- 0No Prompt55 Second1010 Second2020 Second3030 Second120120 Second180180 Second
#8 · doorbell-ring
- Format
- uint8
- Access
- R / N / W
- Value
- 1Ring 12Ring 23Ring 3
#9 · leave-home
- Format
- bool
- Access
- R / N / W
- Value
- —
multifunction-button
#10 · multifunction-button
- Format
- uint8
- Access
- R / N / W
- Value
- 100120103011510161107111
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 Second55 Second1515 Second3030 Second6060 Second
#16 · lock-sensitivity
- Format
- uint8
- Access
- R / N / W
- Value
- 1High2Middle3Low
#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
- 0Mute1High2Middle3Low
#22 · auto-update
- Format
- bool
- Access
- W
- Value
- —
Actions
send-data
#1 · send-data
Input
#20string
Output
#20string