ob-js-sdk

1.0.9 • Public • Published

引入方式

import sdk from 'ob-js-sdk/index.js';

配置方式

sdk.config({
  url: `https://aliiot.on-bright.com/api`,
  appid: `xxxxxxxx`,
  appKey: `xxxxxxxxx`
})

查询对应门锁的报警记录

sdk.thirdOpenPageFingerRecord({
  pageNo:1,
  pageSize:10,
  serialId: `xxxx`
}).then((res)=>{
})

给指定的门锁下发门锁密码

sdk.thirdOpenSendPwd({
  endTime: '',
  nickName: '',
  serialId:``,
  startTime: ``
}).then((res)=>{
})

获取设备列表

sdk.thirdOpenDeviceList({
  customerId: '',
  oboxSerialId: '',
  deviceType:``,
  deviceChildType: ``,
  pageNo:1,
  pageSize:10,
}).then((res)=>{
})

获取网关列表

sdk.thirdOpenOboxList({
  customerId: '',
  pageNo:1,
  pageSize:10,
}).then((res)=>{
})

获取社区列表

sdk.thirdOpenCustomerList({
  pageNo:1,
  pageSize:10,
}).then((res)=>{
})

Readme

Keywords

none

Package Sidebar

Install

npm i ob-js-sdk

Weekly Downloads

6

Version

1.0.9

License

ISC

Unpacked Size

895 kB

Total Files

33

Last publish

Collaborators

  • irenenomad