MIOT HomeMIOT Home
樱花智能锁DZ-6636
#yh8888.lock.dz6636

樱花智能锁DZ-6636

urn:miot-spec-v2:device:lock:0000A038:yh8888-dz6636:1
语言
Service tree
门锁
#2 · lock
属性 6动作 1事件 2

Properties

操作位置
#1 · operation-position
格式
uint8
读写
1门内
2门外
操作方式
#2 · operation-method
格式
uint8
读写
1手机
2指纹
3密码
4NFC
6钥匙
7一次性密码
8周期性密码
9胁迫
10双重验证
11手动
12自动
锁动作
#3 · lock-action
格式
uint8
读写
2开锁
3开启离家模式
异常情况
#4 · abnormal-condition
格式
uint8
读写
1多种方式频繁开锁失败
2密码频繁开锁失败
3指纹频繁开锁失败
4NFC频繁开锁失败
9门锁被撬
19门锁电量低(一般指低于百分之十)
操作ID
#5 · operation-id
格式
uint16
读写
0 ~ 65535,步长 1
当前时间(unix timestamp)
#6 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1

Actions

蓝牙开锁
#1 · ble-unlock

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

Properties

门状态
#1021 · door-state
格式
uint8
读写
N / R
1已上锁
2已开锁
门锁管理
#4 · lock-manage
属性 10动作 7事件 9

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密码
4NFC
6机械钥匙
7一次性密码
8周期性密码
9胁迫
10双重验证
11手动
12自动
操作ID
#4 · operation-id
格式
uint16
读写
0 ~ 65535,步长 1
凭据内容
#5 · credential
格式
string
读写
当前时间(unix timestamp)
#6 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
错误码
#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

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

Properties

电池电量
#1003 · battery-level
格式
uint8
读写
N / R
0 ~ 100,步长 1
门铃
#7 · doorbell
属性 1事件 1

Properties

当前时间(unix timestamp)
#1 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1

Events

门铃响了
#1006 · doorbell-ring
触发参数
#1当前时间(unix timestamp)uint32
时间管理
#9 · time-management
属性 2动作 1

Properties

时区偏移量
#1 · time-zone-offset
格式
float
读写
-20 ~ 20,步长 0.25
当前时间(unix timestamp)
#2 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1

Actions

时间校准(校时)
#1 · time-correction
入参
#1时区偏移量float#2当前时间(unix timestamp)uint32
门锁音量管理
#10 · lock-volume-management
属性 1

Properties

门锁操作提示音
#1 · door-operation-volume
格式
uint8
读写
0静音
1
2
3
门锁详细版本
#11 · lock-version
属性 2

Properties

前面板版本
#1 · front-panel-version
格式
string
读写
后面板版本
#2 · rear-panel-version
格式
string
读写