帮助

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

MQTT结合NFC智能断路器使用

Avatar
叶朝辉

1. 配置

1.1 首先电脑连接上断路器热点,192.168.4.1进入断路器管理页面,进入设置将WIFI模式更改为WIFI客户端,搜索局域网wifi并连接,手动填写设备ip、子网掩码和网关等,保存并重启设备,之后使用这个IP登录页面。

1.2 配置MQTT服务器信息,IP端口用户密码,去掉勾选自动主题,启用MQTT日志记录,保存并重启,成功页面会显示已连接到MQTT服务器。

2. 管理用户

首先进入系统设置,将用户模式更改为WEB页面(需连接WIFI),这样就能通过用户界面管理。进入用户设置页面,使用手机、NFC卡片等刷卡添加用户,其中用户编号固定不能更改。


3.MQTT控制断路器

3.1 NFC刷卡控制通断

NFC刷卡接收主题:/tag

3.2 MQTT命令控制通断

控制命令接收主题:Charge_ff6afd/cmd(设备名称+/cmd)

断开命令:{"name": "Charge_ff6afd", "cmd": "lock"}

接通命令:{"name": "Charge_ff6afd", "cmd": "unlock"}

重启命令:{"name": "Charge_ff6afd", "cmd": "reboot"}

(name也是对应设备名称,'Charge_' + 设备名称组成)



在这里放置您的问题。
Avatar
Discard