語言
Service tree
门锁#3 · lock屬性 6事件 2
门锁
#3 · lock
Properties
操作ID
#1 · operation-id
- 格式
- uint16
- 讀寫
- 值
- 0 ~ 65535,步長 1
操作方式
#2 · operation-method
- 格式
- uint8
- 讀寫
- 值
- 1手机2指纹3密码4NFC8机械钥匙9一次性密码10周期性密码12胁迫指纹15手动
锁动作
#3 · lock-action
- 格式
- uint8
- 讀寫
- 值
- 1上锁2开锁3上提加固4开启反锁5关闭反锁8开启离家模式9关闭离家模式
操作位置
#4 · operation-position
- 格式
- uint8
- 讀寫
- 值
- 1Indoor2Outdoor
异常情况
#5 · abnormal-condition
- 格式
- uint8
- 讀寫
- 值
- 1多种方式频繁开锁失败2密码频繁验证失败3指纹频繁验证失败4NFC频繁验证失败9门锁被撬12门锁被重置19门锁电量低20门锁电量即将耗尽(一般指低于百分之五)23门虚掩24门虚掩解除25离家后门内开锁
当前时间(unix timestamp)
#6 · current-time
- 格式
- uint32
- 讀寫
- 值
- 0 ~ 4294967295,步長 1 seconds
Events
发生异常
#1007 · exception-occurred
觸發參數
#5异常情况uint8#6当前时间(unix timestamp)uint32
锁事件
#1020 · lock-event
觸發參數
#1操作IDuint16#2操作方式uint8#3锁动作uint8#4操作位置uint8#6当前时间(unix timestamp)uint32
门#4 · door屬性 1
门
#4 · door
Properties
门状态
#1021 · door-state
- 格式
- uint8
- 讀寫
- N / R
- 值
- 1Locked2已开锁3门虚掩解除4门虚掩
电池#5 · battery屬性 1事件 1
电池
#5 · battery
Properties
电池电量
#1003 · battery-level
- 格式
- uint8
- 讀寫
- N / R
- 值
- 0 ~ 100,步長 1 percentage
Events
电量低
#1001 · low-battery
觸發參數
#1003电池电量uint8
门铃#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
