语言
Service tree
门锁#2 · lock属性 7事件 2
门锁
#2 · lock
Properties
操作ID
#1 · operation-id
- 格式
- uint16
- 读写
- 值
- 0 ~ 65535,步长 1
锁动作
#2 · lock-action
- 格式
- uint8
- 读写
- 值
- 1上锁2开锁
当前时间(unix timestamp)
#3 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
操作方式
#4 · operation-method
- 格式
- uint8
- 读写
- 值
- 1Mobile Phone2Finger Print3PassWord4NFC5Face6Lock Key9One Time Password10Periodic Password13Two Step Verification15手动8机械
操作位置
#5 · operation-position
- 格式
- uint8
- 读写
- 值
- 1Indoor2Outdoor
异常情况
#6 · abnormal-condition
- 格式
- uint8
- 读写
- 值
- 3密码频繁开锁失败4指纹频繁开锁失败8NFC频繁开锁失败5有人撬门14门锁被重置13离家后门内开锁9人脸频繁开锁失败10多种方式频繁开锁失败6门锁电量低(一般指低于百分之十)7门未关(门超时未关)12门虚掩18电量低于5%1劫持密码2劫持指纹11防火报警15时间异常16时间正常17电量低于10%20门锁被重置19低电量OTA
离家模式
#7 · away-home-mode
- 格式
- bool
- 读写
- 值
- —
Events
发生异常
#1007 · exception-occurred
触发参数
#1操作IDuint16#3当前时间(unix timestamp)uint32#6异常情况uint8
锁事件
#1020 · lock-event
触发参数
#1操作IDuint16#2锁动作uint8#3当前时间(unix timestamp)uint32#4操作方式uint8#7离家模式bool
充电电池#4 · battery属性 2
充电电池
#4 · battery
Properties
当前时间(unix timestamp)
#2 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
电池电量
#1003 · battery-level
- 格式
- uint8
- 读写
- N / R
- 值
- 0 ~ 100,步长 1
门铃#3 · doorbell属性 1事件 1
门铃
#3 · doorbell
Properties
当前时间(unix timestamp)
#1 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
Events
门铃响了
#1006 · doorbell-ring
触发参数
#1当前时间(unix timestamp)uint32
BLE专用自定义服务(ble专用,事件参数总长度不能超过9字节)#6 · customized-service-for-ble属性 1
BLE专用自定义服务(ble专用,事件参数总长度不能超过9字节)
#6 · customized-service-for-ble
Properties
自定义属性1
#1018 · customized-property-1
- 格式
- uint8
- 读写
- N / R
- 值
- 0 ~ 255,步长 1
