MIOT HomeMIOT Home
小米智能门锁 5C
#xiaomi.lock.4cb

小米智能门锁 5C

urn:miot-spec-v2:device:lock:0000A038:xiaomi-4cb:2
Version v2 v1
Language
Service tree
Lock
#2 · lock
9 properties1 actions2 events

Properties

Operation Position
#1 · operation-position
Format
uint8
Access
Value
1Indoor
2Outdoor
Operation Method
#2 · operation-method
Format
uint8
Access
Value
1Mobile Phone
2Finger Print
3PassWord
4NFC
5Lock Key
6One Time Password
7Periodic Password
8Two Step Verification
9Coerce
10Temporary Passcode
11WeChat
Lock Action
#3 · lock-action
Format
uint8
Access
Value
1Lock
2Unlock
3Enable The Away From Home Mode
4Disable The Away From Home Mode
5Add Object
6Delete Object
Abnormal Condition
#4 · 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
25Door Lock Was Damaged
6Door Lock Was Reset
7Below Lithium Battery Low Level
8Door Lock Batteries Are Nearly Depleted
9Door Was Ajar
10Unlock The Door
11UnlockInTheBackDoorOfHome
Operation ID
#5 · operation-id
Format
uint16
Access
Value
0 ~ 65535, step 1
Current Time
#6 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1 seconds
Sound Option
#11 · sound-option
Format
uint8
Access
Value
1Revitalize
2Classic
Away Home Mode
#12 · away-home-mode
Format
bool
Access
Value
—
Reset With Verification Required Setting
#13 · reset-with-verification-required-setting
Format
bool
Access
Value
—

Actions

Ble Unlock
#1 · ble-unlock
Input
#3Lock Actionuint8

Events

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

Properties

Door State
#1021 · door-state
Format
uint8
Access
N / R
Value
1Locked
2Unlocked
3Door Was Ajar
Lock Manage
#4 · lock-manage
11 properties10 actions9 events

Properties

Lock User Info String
#1 · lock-user-info-string
Format
string
Access
Value
—
User Type
#2 · user-type
Format
uint8
Access
Value
0Owner
1Manager
2Normal User
3Frequent Visitors
Operation Method
#3 · operation-method
Format
uint8
Access
Value
1Mobile Phone
2Finger Print
3PassWord
4NFC
5Lock Key
6One Time Password
7Periodic Password
8Coerce
9Two Step Verification
10DelOpenLock
Operation ID
#4 · operation-id
Format
uint16
Access
Value
0Reply
1Event
Credential
#5 · credential
Format
string
Access
Value
—
Current Time
#6 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1 seconds
Error Code
#7 · error-code
Format
uint16
Access
Value
0 ~ 255, step 1
Credential State
#8 · credential-state
Format
uint16
Access
Value
0Success
1Fail
Credential Step Current
#9 · credential-step-current
Format
uint8
Access
Value
0 ~ 255, step 1
Credential Step All
#10 · credential-step-all
Format
uint8
Access
Value
0 ~ 255, step 1
User Ids
#11 · user-ids
Format
uint16
Access
Value
0 ~ 65535, step 1

Actions

Add Lock User
#1 · add-lock-user
Delete Lock User
#2 · delete-lock-user
Add Unlock Method
#3 · add-unlock-method
Cancel Unlock Method
#4 · cancel-unlock-method
Delete Unlock Method
#5 · delete-unlock-method
Sync Lock User
#6 · sync-lock-user
Sync Unlock Method
#7 · sync-unlock-method
Alloc Lock User
#8 · alloc-lock-user
Sync Unlock Method With Version
#9 · sync-unlock-method-with-version
Sync Lock User With Version
#10 · sync-lock-user-with-version

Events

Update Lock User
#1 · update-lock-user
Update Unlock Method
#2 · update-unlock-method
Add Credential Event
#3 · add-credential-event
Add User Complete
#4 · add-user-complete
Delete User Complete
#5 · delete-user-complete
Add User Key Complete
#6 · add-user-key-complete
Delete User Key Complete
#7 · delete-user-key-complete
Sync User Key Complete
#8 · sync-user-key-complete
Sync User Complete
#9 · sync-user-complete
Lock History
#5 · lock-history
10 properties1 actions1 events

Properties

History Time
#1 · history-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1
Last History Time
#2 · last-history-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1
Doorbell Data String
#3 · doorbell-data-string
Format
string
Access
Value
—
Abnormal Data String
#4 · abnormal-data-string
Format
string
Access
Value
—
Door Data String
#5 · door-data-string
Format
string
Access
Value
—
User Delete
#6 · user-delete
Format
int64
Access
Value
0 ~ 4294967295, step 1
User Add
#7 · user-add
Format
int64
Access
Value
0 ~ 4294967295, step 1
User Key Add String
#8 · user-key-add-string
Format
string
Access
Value
—
User Key Delete
#9 · user-key-delete
Format
int64
Access
Value
0 ~ 4294967295, step 1
Lock History String
#10 · lock-history-string
Format
string
Access
Value
—

Actions

History Notify Action
#1 · history-notify-action

Events

History Notify Complete
#1 · history-notify-complete
Arguments
#1History Timeuint32
Doorbell
#7 · doorbell
4 properties1 events

Properties

Ringtone
#1 · ringtone
Format
uint8
Access
Value
1 ~ 5, step 1
Volume
#2 · volume
Format
uint8
Access
Value
0Silent
1Low
2Middle
3High
Current Time
#3 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1 seconds
Switch Status
#4 · on
Format
bool
Access
Value
—

Events

Doorbell Ring
#1006 · doorbell-ring
Arguments
#3Current Timeuint32
No Disturb
#8 · no-disturb
2 properties

Properties

Enable Time Period
#1 · enable-time-period
Format
string
Access
Value
—
No Disturb
#2 · no-disturb
Format
bool
Access
Value
—
Time Management
#9 · time-management
2 properties1 actions

Properties

Time Zone Offset
#1 · time-zone-offset
Format
float
Access
Value
-20 ~ 20, step 0.25
Current Time
#2 · current-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1 seconds

Actions

Time Correction
#1 · time-correction
Lock Volume Management
#10 · lock-volume-management
7 properties

Properties

Door Operation Volume
#1 · door-operation-volume
Format
uint8
Access
Value
0Silent
1Low
2Middle
3High
Language
#2 · language
Format
uint8
Access
Value
0Chinese
1English
Door Ajar Reminder Volume
#3 · door-ajar-reminder-volume
Format
uint8
Access
Value
0Silent
1Low
2Middle
3High
Door Ajar Reminder Time
#4 · door-ajar-reminder-time
Format
uint8
Access
Value
0No Reminder
15 Seconds
210 Seconds
320 Seconds
430 Seconds
5120 Seconds
6180 Seconds
Low Battery Reminder Switch
#5 · low-battery-reminder-switch
Format
bool
Access
Value
—
Door Lock Broken Reminder Volume
#6 · door-lock-broken-reminder-volume
Format
uint8
Access
Value
0Silent
1Low
2Middle
3High
Set Function Reminder
#7 · set-function-reminder
Format
uint8
Access
Value
0Slient
1Low
2Middle
3High
Lock Version
#11 · lock-version
5 properties

Properties

Front Panel Version
#1 · front-panel-version
Format
string
Access
Value
—
Rear Panel Version
#2 · rear-panel-version
Format
string
Access
Value
—
Fingerprint Board Version
#3 · fingerprint-board-version
Format
string
Access
Value
—
Voice Version
#4 · voice-version
Format
string
Access
Value
—
Hardware Version
#5 · hardware-version
Format
string
Access
Value
—
Customized Service For Ble
#12 · customized-service-for-ble
3 properties1 events

Properties

Customized Argument-1
#1 · customized-argument-1
Format
uint32
Access
Value
0 ~ 4294967295, step 1
Customized Argument-2
#2 · customized-argument-2
Format
uint32
Access
Value
0 ~ 4294967295, step 1
Customized Argument 5
#3 · customized-argument-5
Format
uint8
Access
Value
1PackageWillPause
2PackageDidResume

Events

Customized Event-1
#1022 · customized-event-1
Arguments
#1Customized Argument-1uint32#2Customized Argument-2uint32
Battery
#13 · battery
1 properties

Properties

Battery Level
#1003 · battery-level
Format
uint8
Access
N / R
Value
0 ~ 100, step 1 percentage
Self Check
#14 · self-check
4 properties2 actions

Properties

Self Check Results
#1 · self-check-results
Format
uint16
Access
Value
0Success
1Fail
21Front Lock MCU Communication Abnormality
23Fingerprint Module Communication Abnormality
24Password Module Communication Abnormality
27NFC Communication Abnormality
Self Check Current
#2 · self-check-current
Format
uint8
Access
Value
0 ~ 255, step 1
Packet Loss Rate
#3 · packet-loss-rate
Format
uint8
Access
Value
0 ~ 255, step 1
Received Signal Strength Indicator
#4 · rssi
Format
int8
Access
Value
-100 ~ 0, step 1

Actions

Start Check
#1 · start-check
Input
#2Self Check Currentuint8
Output
#1Self Check Resultsuint16
Stop Check
#2 · stop-check