# Swiniot API document ## Docs - Root > API LIST [token获取及使用说明](https://openapi.swiniot.com/doc-8810005.md): ## API Docs - Root > API LIST > 电表接口 [查询电表总数](https://openapi.swiniot.com/api-460628789.md): 查询该房东名下的电表总数,设置的访问频率为3秒/次。 - Root > API LIST > 电表接口 [查询单个电表的信息](https://openapi.swiniot.com/api-460628790.md): 查询该房东名下单个电表的基本信息,设置的访问频率为3秒/次。 - Root > API LIST > 电表接口 [查询电表的充值记录](https://openapi.swiniot.com/api-460628791.md): 查询该房东名下单个电表的充值记录,设置的访问频率为3秒/次。 - Root > API LIST > 电表接口 [查询单个电表的用电量](https://openapi.swiniot.com/api-460628792.md): 查询单个电表用电量数据,时间区间跨度最大不超过92天。 - Root > API LIST > 电表接口 [查询所有电表信息](https://openapi.swiniot.com/api-460628793.md): 查询该房东名下所有电表的基本信息,设置的访问频率为3秒/次。 - Root > API LIST > 电表接口 [查询三相电表电压电流功率](https://openapi.swiniot.com/api-460628794.md): 查询三相表最新的电压电流功率值,电表每小时更新一次。 - Root > API LIST > 电表接口 [电表绑定](https://openapi.swiniot.com/api-460628795.md): - Root > API LIST > 电表接口 [电表解绑](https://openapi.swiniot.com/api-460628796.md): - Root > API LIST > 电表接口 [电表充值](https://openapi.swiniot.com/api-460628797.md): - Root > API LIST > 电表接口 [电表清零](https://openapi.swiniot.com/api-460628798.md): - Root > API LIST > 电表接口 [电表开关](https://openapi.swiniot.com/api-460628799.md): - Root > API LIST > 电表接口 [设置电价](https://openapi.swiniot.com/api-460628800.md): - Root > API LIST > 电表接口 [电表切换付费模式](https://openapi.swiniot.com/api-460628801.md): - Root > API LIST > 电表接口 [电表操作日志](https://openapi.swiniot.com/api-460628802.md): - Root > API LIST > 电表接口 [蓝牙开关](https://openapi.swiniot.com/api-460628803.md): - Root > API LIST > 电表接口 [蓝牙开关-应答](https://openapi.swiniot.com/api-460628804.md): - Root > API LIST > 电表接口 [蓝牙抄表](https://openapi.swiniot.com/api-460628805.md): - Root > API LIST > 电表接口 [蓝牙抄表-应答](https://openapi.swiniot.com/api-460628806.md): - Root > API LIST > 电表接口 [蓝牙充值](https://openapi.swiniot.com/api-460628807.md): - Root > API LIST > 电表接口 [蓝牙充值-应答](https://openapi.swiniot.com/api-460628808.md): - Root > API LIST > 水表接口 [查询水表总数](https://openapi.swiniot.com/api-460628809.md): 查询该房东名下的水表总数,设置的访问频率为3秒/次。 - Root > API LIST > 水表接口 [查询单个水表信息](https://openapi.swiniot.com/api-460628810.md): 查询该房东名下单个水表的基本信息,设置的访问频率为3秒/次。 - Root > API LIST > 水表接口 [查询水表的充值记录](https://openapi.swiniot.com/api-460628811.md): 查询该房东名下水表的充值记录,设置的访问频率为3秒/次。 - Root > API LIST > 水表接口 [查询单个水表的用水量](https://openapi.swiniot.com/api-460628812.md): 查询单个水表用电量数据,时间区间跨度最大不超过92天。 - Root > API LIST > 水表接口 [批量查询所有水表信息](https://openapi.swiniot.com/api-460628813.md): 查询该房东名下所有水表的基本信息,设置的访问频率为3秒/次。 - Root > API LIST > 水表接口 [添加水表](https://openapi.swiniot.com/api-460628814.md): - Root > API LIST > 水表接口 [水表清零](https://openapi.swiniot.com/api-460628815.md): - Root > API LIST > 水表接口 [水表操作日志](https://openapi.swiniot.com/api-460628816.md): - Root > API LIST > 水表接口 [水表充值](https://openapi.swiniot.com/api-460628817.md): - Root > API LIST > 水表接口 [修改水费单价](https://openapi.swiniot.com/api-460628818.md): - Root > API LIST > 水表接口 [修改水表付费模式](https://openapi.swiniot.com/api-460628819.md): - Root > API LIST > 水表接口 [阀控水表开合闸](https://openapi.swiniot.com/api-460628820.md): - Root > API LIST > 超级网关门锁接口 > 门锁发送指令 [门锁蓝牙初始化指令](https://openapi.swiniot.com/api-460628822.md): 通过蓝牙进行门锁初始化,设置的访问频率为3秒/次 - Root > API LIST > 超级网关门锁接口 > 门锁发送指令 [房东密码添加,编辑, 删除(只能添加一个)](https://openapi.swiniot.com/api-460628823.md): 添加/修改/删除房东密码 通用接口 - Root > API LIST > 超级网关门锁接口 > 门锁发送指令 [租客密码添加,编辑, 删除(只能添加一个) ](https://openapi.swiniot.com/api-460628824.md): 添加/修改/删除租客密码 通用接口 - Root > API LIST > 超级网关门锁接口 > 门锁发送指令 [开门](https://openapi.swiniot.com/api-460628825.md): 开门 通用接口 - Root > API LIST > 超级网关门锁接口 > 门锁发送指令 [链接蓝牙先调一下断远程的指令。 否则会链接不上蓝牙](https://openapi.swiniot.com/api-460628826.md): 断开远程 通用接口 - Root > API LIST > 超级网关门锁接口 > 门锁发送指令 [门锁解绑](https://openapi.swiniot.com/api-460628827.md): 门锁解绑接口 纯蓝牙操作 - Root > API LIST > 超级网关门锁接口 > 门锁发送指令 [门卡系列(初始化添加, 删除 等等)](https://openapi.swiniot.com/api-460628828.md): 门卡 接口 transCode(start 启动添加卡片 纯蓝牙操作 ,delete(删除)(update)更改(freeze)冻结(unfreeze)解冻 等都是可蓝牙可远程 ) - Root > API LIST > 超级网关门锁接口 > 门锁发送指令 [指纹系列(初始化添加, 删除 等等)](https://openapi.swiniot.com/api-460628829.md): 指纹 接口 transCode(start 启动添加指纹纯蓝牙操作 ,delete(删除)(update)更改(freeze)冻结(unfreeze)解冻 等都是可蓝牙可远程 ) - Root > API LIST > 超级网关门锁接口 > 门锁回调指令 [门锁初始化回调接口](https://openapi.swiniot.com/api-460628830.md): 通过蓝牙进行门锁初始化指令发送后的回调接口,设置的访问频率为3秒/次 这个接口会返回一个蓝牙指令需要和门锁去进行交互 - Root > API LIST > 超级网关门锁接口 > 门锁回调指令 [门锁初始化完成后调的一个接口](https://openapi.swiniot.com/api-460628831.md): 初始化电量回调 再门锁初始化成功后 也就是GET https://api.zhihuifangdong.net/open/sw/answer/initialize 这个接口请求完后, 会得到一个蓝牙指令 , 将这个指令回调这个接口进行, 门锁初始化就算彻底完成了 - Root > API LIST > 超级网关门锁接口 > 门锁回调指令 [房东添加, 删除 , 修改密码 回调接口](https://openapi.swiniot.com/api-460628832.md): 蓝牙指令 房东添加,编辑, 修改密码回调接口 - Root > API LIST > 超级网关门锁接口 > 门锁回调指令 [租客添加, 删除 , 修改密码 回调接口 Copy](https://openapi.swiniot.com/api-460628833.md): 蓝牙指令 房东添加,编辑, 修改密码回调接口 - Root > API LIST > 超级网关门锁接口 > 门锁回调指令 [开门回调](https://openapi.swiniot.com/api-460628834.md): 蓝牙指令 开门回调接口 - Root > API LIST > 超级网关门锁接口 > 门锁回调指令 [门锁解绑回调接口](https://openapi.swiniot.com/api-460628835.md): 纯蓝牙指令 门锁解绑回调接口 - Root > API LIST > 超级网关门锁接口 > 门锁回调指令 [门卡蓝牙 回调接口](https://openapi.swiniot.com/api-460628836.md): 门卡 接口 transCode(start 启动添加卡片 纯蓝牙操作 ,delete(删除)(update)更改(freeze)冻结(unfreeze)解冻 等都是可蓝牙可远程 ) 注意 卡片添加这个蓝牙回调接口会返回一个值记得存起来(后续的编辑删除等等功能都需要用到它) - Root > API LIST > 超级网关门锁接口 > 门锁回调指令 [指纹蓝牙 回调接口 ](https://openapi.swiniot.com/api-460628837.md): 门卡 接口 transCode(start 启动添加卡片 纯蓝牙操作 ,delete(删除)(update)更改(freeze)冻结(unfreeze)解冻 等都是可蓝牙可远程 ) 注意 指纹添加这个蓝牙回调接口会返回一个值记得存起来(后续的编辑删除等等功能都需要用到它) - Root > API LIST > 超级网关门锁接口 [门锁列表](https://openapi.swiniot.com/api-460628821.md): 查询该房东名下所有门锁的数据信息,设置的访问频率为3秒/次