smartlock.personauth.change
business
格式参考通用业务格式,以下是info信息字段说明
info参数内容如下:
参数 | 类型 | 描述 |
---|---|---|
errMsg | string | 错误码 |
operateType | int | 1-新增,2-删除,3-修改 |
syncFlags | string | 下发状态:1-下发成功,2-下发中,3-下发失败,5-等待下发 |
personCode | string | 人员编码 |
deviceCode | string | 设备编码 |
{
"category":"business",
"id":8,
"info":{
"errMsg":"0x80000015",
"operateType":3,
"syncFlags":"3",
"personCode":"10100001",
"deviceCode":"100048"
},
"method":"smartlock.personauth.change",
"subsystem":"evo-smartlock"
}
smartlock.cardauth.change
business
格式参考通用业务格式,以下是info信息字段说明
info参数内容如下:
参数 | 类型 | 描述 |
---|---|---|
errMsg | string | 错误码 |
operateType | int | 1-新增,2-删除,3-修改 |
syncFlags | string | 下发状态:1-下发成功,2-下发中,3-下发失败,5-等待下发 |
personCode | string | 人员编码 |
cardNumber | string | 卡号 |
deviceCode | string | 设备编码 |
{
"category":"business",
"id":8,
"info":{
"errMsg":"0x80000015",
"operateType":3,
"syncFlags":"3",
"personCode":"10100001",
"cardNumber":"10100001",
"deviceCode":"100048"
},
"method":"smartlock.cardauth.change",
"subsystem":"evo-smartlock"
}
smartlock.fingerauth.change
business
格式参考通用业务格式,以下是info信息字段说明
info参数内容如下:
参数 | 类型 | 描述 |
---|---|---|
errMsg | string | 错误码 |
operateType | int | 1-新增,2-删除,3-修改 |
syncFlags | string | 下发状态:1-下发成功,2-下发中,3-下发失败,5-等待下发 |
personCode | string | 人员编码 |
fingerIndex | string | 指纹序号 |
deviceCode | string | 设备编码 |
{
"category":"business",
"id":8,
"info":{
"errMsg":"0x80000015",
"operateType":3,
"syncFlags":"3",
"personCode":"10100001",
"fingerIndex":"1",
"deviceCode":"100048"
},
"method":"smartlock.fingerauth.change",
"subsystem":"evo-smartlock"
}
smartlock.faceauth.change
business
格式参考通用业务格式,以下是info信息字段说明
info参数内容如下:
参数 | 类型 | 描述 |
---|---|---|
errMsg | string | 错误码 |
operateType | int | 1-新增,2-删除,3-修改 |
syncFlags | string | 下发状态:1-下发成功,2-下发中,3-下发失败,5-等待下发 |
personCode | string | 人员编码 |
fingerIndex | string | 指纹序号 |
deviceCode | string | 设备编码 |
{
"category":"business",
"id":8,
"info":{
"errMsg":"0x80000015",
"operateType":3,
"syncFlags":"3",
"personCode":"10100001",
"faceIndex":"1",
"deviceCode":"100048"
},
"method":"smartlock.faceauth.change",
"subsystem":"evo-smartlock"
}
报警类型对应的报警编码见智能门锁报警类型
alarm
格式参考通用报警格式,以下主要说明extends字段
参数 | 类型 | 描述 |
---|---|---|
deviceTime | long | 设备时间,秒钟 |
power | int | 电量,百分比 |
{
"alarmCode": "379621fc-be97-4f5b-a02f-57fc05d83f2f",
"alarmDate": "1664279427",
"alarmGrade": 1,
"alarmPictureSize": 0,
"alarmStat": 1,
"alarmType": 1024000,
"channelSeq": 0,
"deviceCode": "1002029",
"extend": {
"deviceTime": 1664279395,
"power": 20
},
"nodeCode": "1002029",
"nodeType": 1,
"unitSeq": 0,
"unitType": 2
}
参数 | 类型 | 描述 |
---|---|---|
time | long | 报警时间,秒钟 |
{
"alarmCode": "379621fc-be97-4f5b-a02f-57fc05d83f2f",
"alarmDate": "1664279427",
"alarmGrade": 1,
"alarmPictureSize": 0,
"alarmStat": 1,
"alarmType": 1024001,
"channelSeq": 0,
"deviceCode": "1002029",
"extend": {
"time": 1664279395
},
"nodeCode": "1002029",
"nodeType": 1,
"unitSeq": 0,
"unitType": 2
}
参数 | 类型 | 描述 |
---|---|---|
time | long | 门铃呼叫时间,秒钟 |
{
"alarmCode": "379621fc-be97-4f5b-a02f-57fc05d83f2f",
"alarmDate": "1664279427",
"alarmGrade": 1,
"alarmPictureSize": 0,
"alarmStat": 1,
"alarmType": 1024002,
"channelSeq": 0,
"deviceCode": "1002029",
"extend": {
"time": 1664279395
},
"nodeCode": "1002029",
"nodeType": 1,
"unitSeq": 0,
"unitType": 2
}
参数 | 类型 | 描述 |
---|---|---|
lockType | int | 锁定类型,0表示密码,1表示卡片,2表示指纹,3表示人脸 |
time | long | 设备强制锁定报警时间,秒钟 |
{
"alarmCode": "51ba719c-0565-418b-a25d-48ab08a1f55d",
"alarmDate": "1664279522",
"alarmGrade": 1,
"alarmPictureSize": 0,
"alarmStat": 1,
"alarmType": 1024003,
"channelSeq": 0,
"deviceCode": "1002029",
"extend": {
"lockType": 1,
"time": 1664279496
},
"nodeCode": "1002029",
"nodeType": 1,
"unitSeq": 0,
"unitType": 2
}
开锁记录除extend字段中的内容,其余字段含义同上述报警消息一致 其中1024011-1024017对应为不同开锁记录对应的报警类型
参数 | 类型 | 描述 |
---|---|---|
enterOrExit | int | 进出方式,1表示进,2表示出,3表示未知 |
swingTime | date | 开门时间 |
openType | int | 开门方式,1:密码,2-指纹,3-卡片,4-人脸,5-临时密码,6-离线密码,7-门内开门(钥匙开门) |
orgCode | string | 设备所在组织编码 |
id | long | 开门记录自增id |
deviceCode | string | 设备编码 |
openResult | string | 开门结果,1-失败,0-成功 |
deviceModel | string | 设备型号 |
{
"id": 123,
"info": [{
"alarmCode": "7e3a214d-5193-441c-944a-7200f05bef3c",
"alarmDate": "1665455665",
"alarmGrade": 1,
"alarmPictureSize": 0,
"alarmStat": 1,
"alarmType": 1024011,
"channelSeq": 0,
"deviceCode": "1000007",
"extend": {
"enterOrExit": 3,
"swingTime": 1665455665000,
"openType": 1,
"orgCode": "001",
"id": 1029341350614802432,
"deviceCode": "1000007",
"openResult": 1,
"deviceModel": "2"
},
"nodeCode": "1000007",
"nodeType": 1,
"unitSeq": 0,
"unitType": 2
}]
}