語言
Service tree
门#2 · door屬性 2事件 2
门
#2 · door
Properties
门状态
#1 · door-state
- 格式
- uint8
- 讀寫
- 值
- 1已上锁2已开锁3门未关(门超时未关)4门虚掩5已开启通风模式6已关闭通风模式7已远程关门8正在开门9正在关门100已关门101已反锁0无变化
当前时间(unix timestamp)
#2 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
Events
门事件
#1021 · door-event
觸發參數
#1门状态uint8#2当前时间(unix timestamp)uint32
未使用
#1031 · power-supply-event
电池#4 · battery屬性 1事件 1
电池
#4 · battery
Properties
电池电量
#1003 · battery-level
- 格式
- uint8
- 讀寫
- N / R
- 值
- 0 ~ 100,步長 1 percentage
Events
电量低(未使用,在报警记录中)
#1001 · low-battery
门铃#6 · doorbell屬性 1事件 1
门铃
#6 · doorbell
Properties
当前时间(unix timestamp)
#1 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
Events
门铃响了
#1006 · doorbell-ring
觸發參數
#1当前时间(unix timestamp)uint32
门锁#13 · lock屬性 6動作 1事件 2
门锁
#13 · lock
Properties
异常情况
#1 · abnormal-condition
- 格式
- uint8
- 讀寫
- 值
- 1多种方式频繁开锁失败2密码频繁开锁失败3指纹频繁开锁失败4NFC频繁开锁失败5人脸频繁开锁失败6掌纹频繁开锁失败7指静脉频繁开锁失败8钥匙频繁开锁失败9门锁被撬10超时未按要求上锁11离家后门内开锁12门锁被重置13钥匙孔异物14钥匙未取出15指纹传感器异常16机械故障17锁体传感器故障18锂电池温度过高19门锁电量低(一般指低于百分之十)20门锁电量即将耗尽(一般指低于百分之五)21门锁摄像头电量低(一般指低于百分之十)22门锁摄像头电量即将耗尽(一般指低于百分之五)23门未关(门超时未关)24门虚掩25有人撬门100胁迫101逗留报警(超时窥视报警)102非法操作
操作方式
#2 · operation-method
- 格式
- uint8
- 讀寫
- 值
- 1手机2指纹3密码4NFC5人脸6指静脉7掌纹8机械钥匙9一次性密码10周期性密码11HomeKit12胁迫13双重验证14转盘15手动16自动17门内按钮开锁100远程开锁101限时102限次103组合104关门105反锁106上锁
操作ID
#3 · operation-id
- 格式
- uint16
- 讀寫
- 值
- 0 ~ 65535,步長 1
当前时间(unix timestamp)
#4 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
操作位置
#5 · operation-position
- 格式
- uint8
- 讀寫
- 值
- 1门内2门外3无法区分门内外
锁动作
#6 · lock-action
- 格式
- uint8
- 讀寫
- 值
- 1上锁2开锁3上提加固4开启反锁5关闭反锁6开启童锁7关闭童锁8开启离家模式9关闭离家模式10添加11删除100手动101自动
Actions
蓝牙开锁
#1 · ble-unlock
入參
#4当前时间(unix timestamp)uint32
Events
发生异常
#1007 · exception-occurred
觸發參數
#1异常情况uint8#4当前时间(unix timestamp)uint32
锁事件
#1020 · lock-event
觸發參數
#2操作方式uint8#3操作IDuint16#4当前时间(unix timestamp)uint32#5操作位置uint8#6锁动作uint8
门补充#3 · door-support屬性 6動作 1事件 1
门补充
#3 · door-support
Properties
故障位
#1 · fault-bit
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 255,步長 1
自动上锁
#2 · auto-lock
- 格式
- bool
- 讀寫
- 值
- —
防撬
#3 · anti-theft
- 格式
- bool
- 讀寫
- 值
- —
电子反锁开关
#11 · back-lock
- 格式
- bool
- 讀寫
- 值
- —
反锁状态
#12 · back-lock-state
- 格式
- uint8
- 讀寫
- 值
- 1Lock2Unlock
门锁报警
#13 · alarm
- 格式
- uint8
- 讀寫
- 值
- 0PickProof1Stress2Face3Password4Fingerprint5NFC6Battery7Long Time UnLock8False Lock9Illegal Operation10Combination11Arming12StayAlarm100Normal
Actions
解除报警
#1 · fix-alarm
Events
初始化完成(未使用)
#1 · lock-init
提示音(报警音)#5 · alarm屬性 1
提示音(报警音)
#5 · alarm
Properties
音量
#2 · volume
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 100,步長 1 percentage
导航音#7 · navigation屬性 1
导航音
#7 · navigation
Properties
音量
#2 · volume-navigation
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 100,步長 1 percentage
用户管理#8 · usermanager屬性 5動作 2事件 2
用户管理
#8 · usermanager
Properties
用户ID
#1 · user-id
- 格式
- uint16
- 讀寫
- 值
- 1 ~ 65535,步長 1
用户类型
#2 · user-type
- 格式
- uint8
- 讀寫
- 值
- 0Admin1General2Tmp3Coercion
用户开锁类型
#3 · user-unlock-type
- 格式
- uint8
- 讀寫
- 值
- 0Face1Fingerprint2NFC3Password4Once5TimeLimit6LimitTimes7Cycle8All
密码
#5 · password
- 格式
- string
- 讀寫
- 值
- —
操作结果码
#6 · operate-rst
- 格式
- int8
- 讀寫
- 值
- 0Success1Fail
Actions
添加用户
#1 · add-user
入參
#1用户IDuint16#2用户类型uint8#3用户开锁类型uint8#5密码string
删除用户
#2 · del-user
入參
#1用户IDuint16#2用户类型uint8#3用户开锁类型uint8
Events
添加用户事件
#1 · add-user-event
觸發參數
#1用户IDuint16#6操作结果码int8
删除用户事件
#2 · del-user-event
觸發參數
#1用户IDuint16#6操作结果码int8
物理控制锁(童锁)#15 · physical-controls屬性 1
物理控制锁(童锁)
#15 · physical-controls
Properties
物理控制锁
#1 · physical-controls
- 格式
- bool
- 讀寫
- 值
- —
定时服务#18 · scheduled-service屬性 6動作 1
定时服务
#18 · scheduled-service
Properties
定时服务开关
#1 · on-off
- 格式
- bool
- 讀寫
- 值
- —
重复类型
#2 · repeat-type
- 格式
- uint8
- 讀寫
- 值
- 0Once1EveryDay2Active Days
Active启用日期(仅自定义用到,数组格式,0123456代表周一到周日)
#3 · days-active
- 格式
- string
- 讀寫
- 值
- —
定时类型
#4 · time-setting-type
- 格式
- uint8
- 讀寫
- 值
- 0Fixed Time1Period Of Time
开始时间
#5 · start-time
- 格式
- uint16
- 讀寫
- 值
- 0 ~ 1439,步長 1 minutes
结束时间
#6 · end-time
- 格式
- uint16
- 讀寫
- 值
- 0 ~ 1439,步長 1 minutes
Actions
周期设置
#1 · setting-cycle
入參
#1定时服务开关bool#2重复类型uint8#3Active启用日期(仅自定义用到,数组格式,0123456代表周一到周日)string#4定时类型uint8#5开始时间uint16#6结束时间uint16
回锁设置#21 · back-lock-setting屬性 4
回锁设置
#21 · back-lock-setting
Properties
电机扭力
#1 · motor-torque
- 格式
- int8
- 讀寫
- 值
- 1Low2Middle3High
锁舌回弹时间(单位秒)
#2 · tongue-rebound-time
- 格式
- uint8
- 讀寫
- 值
- 1 ~ 9,步長 1 seconds
回锁时间(单位100毫秒)
#3 · lockback-time
- 格式
- uint8
- 讀寫
- 值
- 1 ~ 9,步長 1
开门方向
#4 · door-open-direction
- 格式
- int8
- 讀寫
- 值
- 0Left1Right
门铃音#22 · doorbell-volume屬性 1
门铃音
#22 · doorbell-volume
Properties
音量
#2 · volume
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 100,步長 1
