MIOT HomeMIOT Home
小米智能门锁 G500
#xiaomi.lock.g500

小米智能门锁 G500

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

Properties

Operation Position
#1 · operation-position
Format
uint8
Access
Value
1Indoor
2Outdoor
3Not Tell The Inside Or Outside Of The Door
Operation Method
#2 · operation-method
Format
uint8
Access
Value
1Mobile Phone
2Finger Print
3PassWord
4NFC
5Face
6Finger Vein
7Palm Print
8Lock Key
9One Time Password
10Periodic Password
12Coerce
13Two Step Verification
14Turntable
15Manual
16Auto
Lock Action
#3 · lock-action
Format
uint8
Access
Value
1Lock
2Unlock
4Locked From Inside
5Released Lock From Inside
6Enabled Child Lock
7Disabled Child Lock
8Enable The Away From Home Mode
9Disable The Away From Home Mode
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
9Door Lock Was Damaged
11Unlock From Inside After Leaving Home
12Door Lock Was Reset
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
26Pir Trigger Thirty

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
N / R
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
10
21
Night Shot
#3 · night-shot
Format
uint8
Access
R / W / N
Value
00
11
22
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
00
11
22
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
10 properties3 actions

Properties

Talk Mode
#1 · talk-mode
Format
uint8
Access
R / N
Value
0Two-way
1One-way
Audio Codec
#2 · audio-codec
Format
uint8
Access
R / N
Value
0G711A
1ACC
2OPUS
3PCM
Audio Bit Width
#3 · audio-bit-width
Format
uint8
Access
R / N
Value
08
116
Video Codec
#4 · video-codec
Format
uint8
Access
R / N
Value
0H264
1H265
Audio Smp Rate
#5 · audio-smp-rate
Format
uint8
Access
R / N
Value
08
116
232
348
Audio Channel
#6 · audio-channel
Format
uint8
Access
R / N
Value
0Single Channel
1Dual Channel
Talk Codec
#7 · talk-codec
Format
uint8
Access
R / N
Value
0G711A
1ACC
2OPUS
3PCM
Distortion Crt Osd X
#8 · distortion-crt-osdx
Format
float
Access
R / N
Value
0 ~ 1, step 0.0001
Distortion Crt Osd Y
#9 · distortion-crt-osdy
Format
float
Access
R / N
Value
0 ~ 1, step 0.0001
Resolution Types
#10 · resolution-types
Format
uint8
Access
R / N
Value
0360
1480
2720
31080
41296
51440

Actions

Start P2P Stream
#1 · start-p2p-stream
Stop Camera Stream
#2 · stop-stream
Upload Video
#3 · upload-video
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
00
11
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#2Customized Argument-2uint32#6Customized Argument 6uint16
customized-for-wifi
#11 · customized-for-wifi
15 properties2 actions

Properties

record-someone-pass
#3 · record-someone-pass
Format
bool
Access
R / N / W
Value
—
record-someone-stay
#4 · record-someone-stay
Format
bool
Access
W / R / N
Value
—
stay-duration
#5 · stay-duration
Format
uint8
Access
W / R / N
Value
6Stay 6 Second
10Stay 10 Second
15Stay 15 Second
20Stay 20 Second
30Stay 30 Second
glimmer-full-color
#6 · glimmer-full-color
Format
bool
Access
W / R / N
Value
—
eco-wakeup-duration
#7 · eco-wakeup-duration
Format
uint8
Access
W / R / N
Value
1 ~ 5, step 1 minutes
real-view-start-time
#8 · real-view-start-time
Format
string
Access
W / R / N
Value
—
real-view-end-time
#9 · real-view-end-time
Format
string
Access
W / R / N
Value
—
#10 · ver-wifi-detail
Format
string
Access
R / N
Value
—
#11 · ver-lock-detail
Format
string
Access
R / N
Value
—
#12 · ver-camera-detail
Format
string
Access
R / N
Value
—
#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
3Area 3
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

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