
#xiaomi.lock.4cs
小米智能门锁 5C 猫眼版
urn:miot-spec-v2:device:lock:0000A038:xiaomi-4cs:2
Language
Service tree
Lock#2 · lock10 properties2 actions2 events
Lock
#2 · lock
Properties
Operation Position
#1 · operation-position
- Format
- uint8
- Access
- Value
- 2Outdoor3Not Tell The Inside Or Outside Of The Door
Operation Method
#2 · operation-method
- Format
- uint8
- Access
- Value
- 1Mobile Phone2Finger Print3PassWord4NFC7One Time Password8Periodic Password9Coerce11Manual15Wifi Remote Unlock16WeChat18Temporary Passcode
Lock Action
#3 · lock-action
- Format
- uint8
- Access
- Value
- 2Unlock7Enable The Away From Home Mode8Disable The Away From Home Mode
Abnormal Condition
#4 · abnormal-condition
- Format
- uint8
- Access
- Value
- 1Multiple unlock verification failures2Frequent Unlocking Failed By Password3Frequent Unlocking Failed By Fingerprint4Frequent Unlocking Failed By NFC11Unlock from inside or be key tiggered the alarm12Door lock was reset15Door Lock Fingerprint Sensor Error18Lithium-ion polymer battery overheated. Please remove and check it19Door Lock Batteries Are Low20Door Lock Batteries Are Nearly Depleted21Lithium battery low charge please charge22Lithium-ion polymer battery nearly depleted. Camera unavailable. Please charge24Door was ajar, please close it in time25Door lock may be pried open. Please go home to check or contact security26The No. 5 Battery Was Removed27Lithium-ion polymer battery is removed, camera feature unavailable28Emergency Power Supply50New visitor password duplicate. Please change it for security51Visitor password limit reached. New passwords will not work. Please check52Failed to send guest password. Please try again58Lithium battery installed successfully60Low lithium-ion polymer battery level, please charge in time!61Lithium-ion polymer battery nearly depleted. Camera unavailable. Please charge64AA battery are low, please replace them65AA batteries and lithium-ion polymer battery low. Please replace/charge66AA batteries low, lithium-ion polymer battery nearly depleted. Replace/charge67AA batteries low, lithium-ion polymer battery depleted. Please replace/charge68AA batteries low, lithium-ion polymer battery removed. Please replace/charge69Please install AA batteries59Lithium-ion polymer battery removed70AA Batteries Removed. Lithium Battery Are Low71AA Batteries Removed. Lithium Battery Are Nearly Depleted72AA Batteries Removed. Lithium Battery Has Run Out62Lithium-ion polymer battery depleted. Camera unavailable. Please charge63Lithium-ion polymer battery is removed, camera feature unavailable
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
Reset With Verification Required Setting
#16 · reset-with-verification-required-setting
- Format
- bool
- Access
- Value
- —
Vocal Type
#22 · vocal-type
- Format
- uint8
- Access
- Value
- 0Female Voice1Male Voice
Sound Option
#35 · sound-option
- Format
- uint8
- Access
- Value
- 1Revitalize2Classic
Main Cam Blocked
#36 · main-cam-blocked
- Format
- bool
- Access
- Value
- —
Actions
Ble Unlock
#1 · ble-unlock
Ble Awake Dev
#2 · ble-awake-dev
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
- 2Unlocked4Door Was Ajar9Working Properly
Lock Manage#4 · lock-manage14 properties10 actions9 events
Lock Manage
#4 · lock-manage
Properties
User Ids
#1 · user-ids
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
User Type
#2 · user-type
- Format
- uint8
- Access
- Value
- 0Owner1Manager2Normal User3Frequent Visitors4All Users5All Normal Users
Operation Method
#3 · operation-method
- Format
- uint8
- Access
- Value
- 1Mobile Phone2Finger Print3PassWord4NFC7One Time Password8Periodic Password9Coerce11Manual15Temporary Passcode16WeChat
Operation ID
#4 · operation-id
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
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
- 0Success1Received Command Successfully Executing2Internal Error3Not Found4Memory Full5Parameter Error6Timeout7Device Busy8Duplicate Parameter9Duplicate Credentials
Credential State
#8 · credential-state
- Format
- uint16
- Access
- Value
- 0Success1Fail1000Fingerprint Area Overlap1001Low Fingerprint Quality1002Fingerprint Area Too Small1003Incorrect Pressing Position1004Wet Fingerprint1005Remove Finger
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
Unlock Method Info String
#11 · unlock-method-info-string
- Format
- string
- Access
- Value
- —
Sync Version
#12 · sync-version
- Format
- uint8
- Access
- Value
- 1 ~ 10, step 1
Lock User Info String
#13 · lock-user-info-string
- Format
- string
- Access
- Value
- —
User Deadbolt Permission
#14 · user-deadbolt-permission
- Format
- string
- Access
- Value
- —
Actions
Add Lock User
#1 · add-lock-user
Input
#1User Idsuint16#2User Typeuint8
Output
#7Error Codeuint16#1User Idsuint16#2User Typeuint8#6Current Timeuint32
Delete Lock User
#2 · delete-lock-user
Input
#1User Idsuint16#2User Typeuint8
Output
#7Error Codeuint16
Add Unlock Method
#3 · add-unlock-method
Input
#1User Idsuint16#3Operation Methoduint8#4Operation IDuint16#5Credentialstring
Output
#7Error Codeuint16#1User Idsuint16#3Operation Methoduint8#4Operation IDuint16#6Current Timeuint32
Cancel Unlock Method
#4 · cancel-unlock-method
Output
#7Error Codeuint16
Delete Unlock Method
#5 · delete-unlock-method
Input
#1User Idsuint16#4Operation IDuint16
Output
#7Error Codeuint16
Sync Lock User
#6 · sync-lock-user
Output
#7Error Codeuint16
Sync Unlock Method
#7 · sync-unlock-method
Output
#7Error Codeuint16
Alloc Lock User
#8 · alloc-lock-user
Input
#1User Idsuint16#4Operation IDuint16#3Operation Methoduint8
Output
#7Error Codeuint16
Sync Unlock Method With Version
#9 · sync-unlock-method-with-version
Input
#12Sync Versionuint8
Sync Lock User With Version
#10 · sync-lock-user-with-version
Input
#12Sync Versionuint8
Events
Update Lock User
#1 · update-lock-user
Arguments
#7Error Codeuint16#1User Idsuint16#2User Typeuint8#6Current Timeuint32
Update Unlock Method
#2 · update-unlock-method
Arguments
#7Error Codeuint16#1User Idsuint16#3Operation Methoduint8#4Operation IDuint16#6Current Timeuint32
Add Credential Event
#3 · add-credential-event
Arguments
#8Credential Stateuint16#9Credential Step Currentuint8#10Credential Step Alluint8
Add User Complete
#4 · add-user-complete
Arguments
#1User Idsuint16#2User Typeuint8#6Current Timeuint32
Delete User Complete
#5 · delete-user-complete
Arguments
#1User Idsuint16#2User Typeuint8#6Current Timeuint32
Add User Key Complete
#6 · add-user-key-complete
Arguments
#1User Idsuint16#4Operation IDuint16#3Operation Methoduint8#6Current Timeuint32
Delete User Key Complete
#7 · delete-user-key-complete
Arguments
#1User Idsuint16#4Operation IDuint16#3Operation Methoduint8#6Current Timeuint32
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
#5 · history-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
Last History Time
#6 · last-history-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
Doorbell Data String
#11 · doorbell-data-string
- Format
- string
- Access
- Value
- —
Abnormal Data String
#12 · abnormal-data-string
- Format
- string
- Access
- Value
- —
Door Data String
#13 · door-data-string
- Format
- string
- Access
- Value
- —
User Delete String
#14 · user-delete-string
- Format
- string
- Access
- Value
- —
User Add String
#15 · user-add-string
- Format
- string
- Access
- Value
- —
User Key Add String
#16 · user-key-add-string
- Format
- string
- Access
- Value
- —
User Key Delete String
#17 · user-key-delete-string
- Format
- string
- Access
- Value
- —
Lock History String
#18 · lock-history-string
- Format
- string
- Access
- Value
- —
Actions
History Notify Action
#1 · history-notify-action
Input
#5History Timeuint32
Events
History Notify Complete
#1 · history-notify-complete
Arguments
#6Last History Timeuint32
Doorbell#7 · doorbell1 properties1 events
Doorbell
#7 · doorbell
Properties
Current Time
#1 · current-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1 seconds
Events
Someone has rung the doorbell
#1006 · doorbell-ring
Arguments
#1Current Timeuint32
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
Input
#1Time Zone Offsetfloat#2Current Timeuint32
Lock Version#11 · lock-version7 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
- —
Hardware Version
#4 · hardware-version
- Format
- string
- Access
- Value
- —
Voice Version
#5 · voice-version
- Format
- string
- Access
- Value
- —
Wifi Version
#6 · wifi-version
- Format
- string
- Access
- Value
- —
Camera Version
#7 · camera-version
- Format
- string
- Access
- Value
- —
Battery#6 · battery3 properties
Battery
#6 · battery
Properties
Battery Level
#1003 · battery-level
- Format
- uint8
- Access
- N / R
- Value
- 0 ~ 100, step 1 percentage
Status
#1004 · status
- Format
- uint8
- Access
- N / R
- Value
- 1Installed2Removed
Current Time
#1 · current-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1 seconds
Battery#13 · battery3 properties
Battery
#13 · battery
Properties
Battery Level
#1 · battery-level
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 100, step 1 percentage
Status
#3 · status
- Format
- uint8
- Access
- R / N
- Value
- 1Installed2Removed
Current Time
#4 · current-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1 seconds
Self Check#15 · self-check4 properties2 actions
Self Check
#15 · self-check
Properties
Self Check Results
#1 · self-check-results
- Format
- uint16
- Access
- Value
- 0Success1Fail21Front Lock MCU Communication Abnormality22Camera MCU Communication Abnormality23Fingerprint Module Communication Abnormality24Password Module Communication Abnormality25Sensor Module Communication Abnormality27NFC Communication Abnormality28Audio Communication Abnormality29Camera Communication Abnormality121Rear Lock MCU Communication Abnormality122Driver Chip Abnormality123Back Lock BLE Abnormality124Internal Screen Abnormality125Lock Body Abnormality
Self Check Current
#2 · self-check-current
- Format
- uint8
- Access
- Value
- 0Self-Check-Start2Front-Mcu3Camera-Mcu4Fingerprint-Module5Keypad-Module6Sensor-Module8Nfc-Module9Speaker-Module10Camera-Sensor11Rear-Mcu13Ble-Module14Internal-Display
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
Door Lock Camera#17 · door-lock-camera17 properties2 actions4 events
Door Lock Camera
#17 · door-lock-camera
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Night Shot
#2 · night-shot
- Format
- uint8
- Access
- R / W / N
- Value
- 0Off1On2Auto
Image Distortion Correction
#7 · image-distortion-correction
- Format
- bool
- Access
- R / W / N
- Value
- —
Current Time
#8 · current-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1 seconds
Auto Screen On
#9 · auto-screen-on
- Format
- bool
- Access
- R / W / N
- Value
- —
Live Video Valid Time
#11 · live-video-valid-time
- Format
- uint8
- Access
- R / W / N
- Value
- 11 min22 mins33 mins44 mins55 mins
Detection Sensitivity
#13 · detection-sensitivity
- Format
- uint8
- Access
- R / W / N
- Value
- 0Short recognition distance1Moderate recognition distance2Long recognition distance
Glimmer Full Color
#15 · glimmer-full-color
- Format
- bool
- Access
- R / W / N
- Value
- —
Mode
#16 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 1General Mode2Battery-saving Mode4Super Power Saving Mode3Customized Mode
Pass By Activated Switch
#17 · pass-by-activated-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Someone Staying Activated Switch
#18 · someone-staying-activated-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Staying Time
#19 · staying-time
- Format
- uint8
- Access
- R / W / N
- Value
- 06 Seconds110 Seconds215 Seconds320 Seconds430 Seconds
Video Recording Time Period
#24 · video-recording-time-period
- Format
- string
- Access
- R / W / N
- Value
- —
Event Type
#27 · event-type
- Format
- uint8
- Access
- Value
- 5Main Camera Blocked
Live Video Streaming
#28 · live-video-streaming
- Format
- bool
- Access
- R / N / W
- Value
- —
Live Video Enable Time Period
#29 · live-video-enable-time-period
- Format
- string
- Access
- R / W / N
- Value
- —
Wechat Info
#30 · wechat-info
- Format
- string
- Access
- R / W / N
- Value
- —
Actions
Wake Up
#3 · wake-up
Video Recording
#4 · video-recording
Events
Someone passed by
#1 · someone-passed-by
Arguments
#8Current Timeuint32
Someone is lingering at the door
#2 · someone-at-the-door
Arguments
#8Current Timeuint32
Local Algorithm Event
#4 · local-algorithm-event
Arguments
#27Event Typeuint8#8Current Timeuint32
WeChat Unauthorized Notification
#5 · wechat-unauth-notify
Arguments
#8Current Timeuint32
Lock#18 · lock4 properties2 actions
Lock
#18 · lock
Properties
Door Lock Local Setting Status
#20 · door-lock-local-setting-status
- Format
- bool
- Access
- R / W / N
- Value
- —
Low Power Device Wifi Status
#21 · low-power-device-wifi-status
- Format
- uint8
- Access
- R / N
- Value
- 0Unknown1Online2Sleep3Offline
WiFi Wake Reason
#39 · wifi-wake-reason
- Format
- uint8
- Access
- Value
- 1Visitor Password2Voice Message
Away Home Mode
#40 · away-home-mode
- Format
- bool
- Access
- R / W / N
- Value
- —
Actions
Remote Unlocking
#3 · remote-unlocking
Wifi Wake Up
#1 · wifi-wake-up
Input
#39WiFi Wake Reasonuint8
Lock Volume Management#19 · lock-volume-management7 properties
Lock Volume Management
#19 · lock-volume-management
Properties
Door Ajar Reminder Time
#3 · door-ajar-reminder-time
- Format
- uint8
- Access
- R / W / N
- Value
- 73 Seconds
Door Ajar Reminder Volume
#4 · door-ajar-reminder-volume
- Format
- uint8
- Access
- R / W / N
- Value
- 0Silent1Low2Middle3High
Language
#7 · language
- Format
- uint8
- Access
- R / W / N
- Value
- 0Chinese1English
Low Battery Reminder Switch
#11 · low-battery-reminder-switch
- Format
- bool
- Access
- R / W / N
- Value
- —
Door Lock Broken Reminder Volume
#10 · door-lock-broken-reminder-volume
- Format
- uint8
- Access
- R / W / N
- Value
- 0Silent1Low2Middle3High
Door Operation Volume
#12 · door-operation-volume
- Format
- uint8
- Access
- R / W / N
- Value
- 0Silent1Low2Middle3High
Set Function Reminder
#13 · set-function-reminder
- Format
- uint8
- Access
- R / W / N
- Value
- 0Slient1Low2Middle3High
No Disturb#20 · no-disturb1 properties
No Disturb
#20 · no-disturb
Properties
Enable Time Period
#2 · enable-time-period
- Format
- string
- Access
- R / W / N
- Value
- —
Doorbell#21 · doorbell4 properties1 events
Doorbell
#21 · doorbell
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Ringtone
#4 · ringtone
- Format
- uint8
- Access
- R / W / N
- Value
- 0Ringtone 11Ringtone 22Ringtone 3
Volume
#5 · volume
- Format
- uint8
- Access
- R / W / N
- Value
- 0Silent1Low2Middle3High
Current Time
#6 · current-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1 seconds
Events
Doorbell Ring
#1 · doorbell-ring
Arguments
#6Current Timeuint32
Air Conditioner#10 · air-conditioner2 properties2 events
Air Conditioner
#10 · air-conditioner
Properties
Area Type
#1 · area-type
- Format
- uint8
- Access
- Value
- 0Home1Commercial
Examine
#2 · examine
- Format
- bool
- Access
- R
- Value
- —
Events
Fault Occurred
#1 · fault-occurred
Arguments
#1Area Typeuint8
Power On Favorite Mode
#1001 · power-on-favorite-mode