語言
Service tree
門鎖#2 · lock屬性 6動作 2事件 2
門鎖
#2 · lock
Properties
操作位置
#1 · operation-position
- 格式
- uint8
- 讀寫
- 值
- 1門内2門外3無法區分門内外
操作方式
#2 · operation-method
- 格式
- uint8
- 讀寫
- 值
- 1藍牙2指紋3密碼4NFC5人臉6機械鑰匙7一次性密碼8周期性密碼9脅迫10雙重驗證11手動12自動13掌靜脈
鎖動作
#3 · lock-action
- 格式
- uint8
- 讀寫
- 值
- 1上鎖2開鎖3開啓離家模式
異常情況
#4 · abnormal-condition
- 格式
- uint8
- 讀寫
- 值
- 1多種方式頻繁驗證失敗2密碼頻繁驗證失敗3指紋頻繁驗證失敗4NFC頻繁驗證失敗5人臉頻繁驗證失敗6掌靜脈頻繁驗證失敗9門鎖被撬10門虛掩11門未關(門超時未關)12離家后門内開鎖13上鋰電池電量低
操作ID
#5 · operation-id
- 格式
- uint16
- 讀寫
- 值
- 0 ~ 65535,步長 1
當前時間(unix timestamp)
#6 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
Actions
藍牙開鎖
#1 · ble-unlock
藍牙喚醒設備
#2 · ble-awake-dev
Events
發生異常
#1007 · exception-occurred
觸發參數
#4異常情況uint8#6當前時間(unix timestamp)uint32
鎖事件
#1020 · lock-event
觸發參數
#1操作位置uint8#2操作方式uint8#3鎖動作uint8#5操作IDuint16#6當前時間(unix timestamp)uint32
門#3 · door屬性 1
門
#3 · door
Properties
門狀態
#1021 · door-state
- 格式
- uint8
- 讀寫
- N / R
- 值
- 1已上鎖2已開鎖3門未關4門虛掩5已關門
門鎖管理#4 · lock-manage屬性 10動作 7事件 9
門鎖管理
#4 · lock-manage
Properties
用戶id
#1 · user-ids
- 格式
- uint16
- 讀寫
- 值
- 0 ~ 65535,步長 1
用戶類型
#2 · user-type
- 格式
- uint8
- 讀寫
- 值
- 0擁有者1管理者2普通用戶3常訪客4所有用戶
操作方式
#3 · operation-method
- 格式
- uint8
- 讀寫
- 值
- 1藍牙2指紋3密碼4NFC5人臉6機械鑰匙7一次性密碼8周期性密碼9脅迫10雙重驗證11手動12自動13掌靜脈
操作ID
#4 · operation-id
- 格式
- uint16
- 讀寫
- 值
- 0 ~ 65535,步長 1
憑據内容
#5 · credential
- 格式
- string
- 讀寫
- 值
- —
當前時間(unix timestamp)
#6 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
錯誤碼
#7 · error-code
- 格式
- uint16
- 讀寫
- 值
- 0成功1接受指令成功,執行中2内部錯誤3未找到4内存已滿5參數錯誤6已超時7設備忙8參數重複
憑據狀態
#8 · credential-state
- 格式
- uint16
- 讀寫
- 值
- 0成功1失敗
當前要添加的憑據序號
#9 · credential-step-current
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 255,步長 1
縂憑據數量
#10 · credential-step-all
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 255,步長 1
Actions
配置用戶(支持覆蓋)
#1 · add-lock-user
入參
#1用戶iduint16#2用戶類型uint8
出參
#7錯誤碼uint16#1用戶iduint16#2用戶類型uint8#6當前時間(unix timestamp)uint32
刪除用戶
#2 · delete-lock-user
入參
#1用戶iduint16#2用戶類型uint8
出參
#7錯誤碼uint16
添加開鎖方式
#3 · add-unlock-method
入參
#1用戶iduint16#3操作方式uint8#4操作IDuint16#5憑據内容string
出參
#7錯誤碼uint16#1用戶iduint16#3操作方式uint8#4操作IDuint16#6當前時間(unix timestamp)uint32
取消添加
#4 · cancel-unlock-method
出參
#7錯誤碼uint16
刪除開鎖方式
#5 · delete-unlock-method
入參
#1用戶iduint16#4操作IDuint16
出參
#7錯誤碼uint16
同步用戶信息
#6 · sync-lock-user
出參
#7錯誤碼uint16
同步開鎖方式
#7 · sync-unlock-method
出參
#7錯誤碼uint16
Events
更新用戶組
#1 · update-lock-user
觸發參數
#7錯誤碼uint16#1用戶iduint16#2用戶類型uint8#6當前時間(unix timestamp)uint32
更新開鎖方式
#2 · update-unlock-method
觸發參數
#7錯誤碼uint16#1用戶iduint16#3操作方式uint8#4操作IDuint16#6當前時間(unix timestamp)uint32
添加憑據事件
#3 · add-credential-event
觸發參數
#8憑據狀態uint16#9當前要添加的憑據序號uint8#10縂憑據數量uint8
添加用戶完成
#4 · add-user-complete
觸發參數
#1用戶iduint16#2用戶類型uint8#6當前時間(unix timestamp)uint32
刪除用戶完成
#5 · delete-user-complete
觸發參數
#1用戶iduint16#2用戶類型uint8#6當前時間(unix timestamp)uint32
添加開鎖方式完成
#6 · add-user-key-complete
觸發參數
#1用戶iduint16#4操作IDuint16#3操作方式uint8#6當前時間(unix timestamp)uint32
刪除開鎖方式完成
#7 · delete-user-key-complete
觸發參數
#1用戶iduint16#4操作IDuint16#3操作方式uint8#6當前時間(unix timestamp)uint32
同步開鎖方式完成
#8 · sync-user-key-complete
同步用戶完成
#9 · sync-user-complete
門鎖歷史記錄#5 · lock-history屬性 10動作 1事件 1
門鎖歷史記錄
#5 · lock-history
Properties
鎖事件歷史數據上報
#1 · lock-history-string
- 格式
- string
- 讀寫
- 值
- —
異常事件歷史數據上報
#2 · abnormal-data-string
- 格式
- string
- 讀寫
- 值
- —
們狀態歷史數據上報
#3 · door-data-string
- 格式
- string
- 讀寫
- 值
- —
門鈴事件歷史數據上報
#4 · doorbell-data-string
- 格式
- string
- 讀寫
- 值
- —
歷史數據時間戳
#5 · history-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1
歷史數據最新時間戳
#6 · last-history-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1
用戶添加
#7 · user-add-string
- 格式
- string
- 讀寫
- 值
- —
用戶刪除
#8 · user-delete-string
- 格式
- string
- 讀寫
- 值
- —
鑰匙添加
#9 · user-key-add-string
- 格式
- string
- 讀寫
- 值
- —
鑰匙刪除
#10 · user-key-delete-string
- 格式
- string
- 讀寫
- 值
- —
Actions
觸發歷史記錄上報操作
#1 · history-notify-action
入參
#5歷史數據時間戳uint32
Events
歷史記錄上報完成
#1 · history-notify-complete
觸發參數
#6歷史數據最新時間戳uint32
大電池#6 · battery屬性 1
大電池
#6 · battery
Properties
大電池電量
#1003 · battery-level
- 格式
- uint8
- 讀寫
- N / R
- 值
- 0 ~ 100,步長 1 percentage
門鈴#7 · doorbell屬性 1事件 1
門鈴
#7 · doorbell
Properties
當前時間(unix timestamp)
#1 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
Events
門鈴響了
#1006 · doorbell-ring
觸發參數
#1當前時間(unix timestamp)uint32
時間管理#9 · time-management屬性 2動作 1
時間管理
#9 · time-management
Properties
時區偏移量
#1 · time-zone-offset
- 格式
- float
- 讀寫
- 值
- -20 ~ 20,步長 0.25
當前時間(unix timestamp)
#2 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
Actions
時間校準(校時)
#1 · time-correction
入參
#1時區偏移量float#2當前時間(unix timestamp)uint32
門鎖音量管理#10 · lock-volume-management屬性 1
門鎖音量管理
#10 · lock-volume-management
Properties
門鎖操作提示音
#1 · door-operation-volume
- 格式
- uint8
- 讀寫
- 值
- 0靜音1低2中3高
門鎖詳細版本#11 · lock-version屬性 4
門鎖詳細版本
#11 · lock-version
Properties
前面板版本
#1 · front-panel-version
- 格式
- string
- 讀寫
- 值
- —
WiFi版本
#2 · wifi-version
- 格式
- string
- 讀寫
- 值
- —
攝像頭版本
#3 · camera-version
- 格式
- string
- 讀寫
- 值
- —
後面板本版
#5 · rear-panel-version
- 格式
- string
- 讀寫
- 值
- —
可視門鈴#12 · video-doorbell屬性 4動作 1事件 2
可視門鈴
#12 · video-doorbell
Properties
ECO節能模式
#6 · eco
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
雲存視頻id
#9 · cloud-video-id
- 格式
- string
- 讀寫
- 值
- —
當前時間(unix timestamp)
#10 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
實時視頻流
#14 · live-video-streaming
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
Actions
喚醒
#3 · wake-up
Events
防撬告警
#2 · doorbell-forcibly-removed
有人停留
#4 · someone-at-the-door
門鎖設置#16 · lockset屬性 6
門鎖設置
#16 · lockset
Properties
開鎖模式
#1 · verify-mode
- 格式
- uint8
- 讀寫
- W / R / N
- 值
- 1單一模式2雙重驗證
逗留時間設置
#3 · stay-time-setting
- 格式
- uint8
- 讀寫
- W / R / N
- 值
- 1010秒3030秒6060秒
人體感應設置
#4 · radar-distance
- 格式
- uint8
- 讀寫
- W / R / N
- 值
- 0關閉1近2中3遠
防誤開時間設置
#9 · anti-unlock
- 格式
- uint8
- 讀寫
- W / R / N
- 值
- 00秒1010秒2020秒3030秒4040秒5050秒6060秒7070秒8080秒9090秒100100秒110110秒120120秒
童鎖
#10 · child-lock
- 格式
- bool
- 讀寫
- W / R / N
- 值
- —
門未關超時設置
#12 · not-close-timeout
- 格式
- uint8
- 讀寫
- W / R / N
- 值
- 0關閉1010秒2020秒3030秒4040秒5050秒6060秒
