
#xiaomi.lock.4cb
小米智能门锁 5C
urn:miot-spec-v2:device:lock:0000A038:xiaomi-4cb:2
Language
Service tree
Lock#2 · lock9 properties1 actions2 events
Lock
#2 · lock
Properties
Operation Position
#1 · operation-position
- Format
- uint8
- Access
- Value
- 1Indoor2Outdoor
Operation Method
#2 · operation-method
- Format
- uint8
- Access
- Value
- 1Mobile Phone2Finger Print3PassWord4NFC5Lock Key6One Time Password7Periodic Password8Two Step Verification9Coerce10Temporary Passcode11WeChat
Lock Action
#3 · lock-action
- Format
- uint8
- Access
- Value
- 1Lock2Unlock3Enable The Away From Home Mode4Disable The Away From Home Mode5Add Object6Delete Object
Abnormal Condition
#4 · abnormal-condition
- Format
- uint8
- Access
- Value
- 1Frequent Unlocking Failed By Multiple Methods2Frequent Unlocking Failed By Password3Frequent Unlocking Failed By Fingerprint4Frequent Unlocking Failed By NFC25Door Lock Was Damaged6Door Lock Was Reset7Below Lithium Battery Low Level8Door Lock Batteries Are Nearly Depleted9Door Was Ajar10Unlock The Door11UnlockInTheBackDoorOfHome
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
- 1Revitalize2Classic
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 · door1 properties
Door
#3 · door
Properties
Door State
#1021 · door-state
- Format
- uint8
- Access
- N / R
- Value
- 1Locked2Unlocked3Door Was Ajar
Lock Manage#4 · lock-manage11 properties10 actions9 events
Lock Manage
#4 · lock-manage
Properties
Lock User Info String
#1 · lock-user-info-string
- Format
- string
- Access
- Value
- —
User Type
#2 · user-type
- Format
- uint8
- Access
- Value
- 0Owner1Manager2Normal User3Frequent Visitors
Operation Method
#3 · operation-method
- Format
- uint8
- Access
- Value
- 1Mobile Phone2Finger Print3PassWord4NFC5Lock Key6One Time Password7Periodic Password8Coerce9Two Step Verification10DelOpenLock
Operation ID
#4 · operation-id
- Format
- uint16
- Access
- Value
- 0Reply1Event
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
- 0Success1Fail
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-history10 properties1 actions1 events
Lock History
#5 · lock-history
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 · doorbell4 properties1 events
Doorbell
#7 · doorbell
Properties
Ringtone
#1 · ringtone
- Format
- uint8
- Access
- Value
- 1 ~ 5, step 1
Volume
#2 · volume
- Format
- uint8
- Access
- Value
- 0Silent1Low2Middle3High
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-disturb2 properties
No Disturb
#8 · no-disturb
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-management2 properties1 actions
Time Management
#9 · time-management
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-management7 properties
Lock Volume Management
#10 · lock-volume-management
Properties
Door Operation Volume
#1 · door-operation-volume
- Format
- uint8
- Access
- Value
- 0Silent1Low2Middle3High
Language
#2 · language
- Format
- uint8
- Access
- Value
- 0Chinese1English
Door Ajar Reminder Volume
#3 · door-ajar-reminder-volume
- Format
- uint8
- Access
- Value
- 0Silent1Low2Middle3High
Door Ajar Reminder Time
#4 · door-ajar-reminder-time
- Format
- uint8
- Access
- Value
- 0No Reminder15 Seconds210 Seconds320 Seconds430 Seconds5120 Seconds6180 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
- 0Silent1Low2Middle3High
Set Function Reminder
#7 · set-function-reminder
- Format
- uint8
- Access
- Value
- 0Slient1Low2Middle3High
Lock Version#11 · lock-version5 properties
Lock Version
#11 · lock-version
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-ble3 properties1 events
Customized Service For Ble
#12 · customized-service-for-ble
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
- 1PackageWillPause2PackageDidResume
Events
Customized Event-1
#1022 · customized-event-1
Arguments
#1Customized Argument-1uint32#2Customized Argument-2uint32
Battery#13 · battery1 properties
Battery
#13 · battery
Properties
Battery Level
#1003 · battery-level
- Format
- uint8
- Access
- N / R
- Value
- 0 ~ 100, step 1 percentage
Self Check#14 · self-check4 properties2 actions
Self Check
#14 · self-check
Properties
Self Check Results
#1 · self-check-results
- Format
- uint16
- Access
- Value
- 0Success1Fail21Front Lock MCU Communication Abnormality23Fingerprint Module Communication Abnormality24Password Module Communication Abnormality27NFC 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