For more information, please check Haiwell HMI/ CBOX/ IPC MQTT Configuration Guide.pdf
Network Diagram
1.Set up MQTT Server
1.1.Downloads
EMQ, an open source MQTT server, is used in this case. It can be downloaded in official website http://emqtt.io . The relative version is Windows10(64-bit).
Unzip the package to any directory. The install location is C:\Documents\emqx in this example.
1.2.Installation
Run Command Prompt as administrator. Enter the install directory by “cd” command.
Start MQTT broker in console mode by “bin\emqx console” command.
If it is started successfully, an Erlang window will come out. Close the window and continue to register the Windows service.
Register EMQ X as Windows service by “bin\emqx install” command. If EMQ X is registered successfully, Command Prompt will print “Service emqx_3.0 added to system.”.
1.3.Start
Start EMQ X service by “bin\emqx start” command.
1.4.Related Commands
Stop EMQ X service by “bin\emqx stop” command. Uninstall EMQ X service by “bin\emqx uninstall” command.
1.5.Web Dashboard
Users can check and monitor the status of MQTT broker by Web Dashboard after start EMQ X service. Users can visit the default address http://localhost:18083/ on browser to load Dashboard.Default username: admin, password: public.
2.Set up MySQL Server
2.1.Downloads
Go to official website https://www.mysql.com/. Choose “DOWNLOADS” tag.
Click on “MySQL Community Edition(GPL)” -> “MySQL Community Server”.
MySQL installer is recommended for simple demonstration. In this version, we don’t have to do complicated configurations.
......
For more information, please check Haiwell HMI/ CBOX/ IPC MQTT Configuration Guide.pdf
海为公众号
海为云APP
厦门海为科技有限公司
0592-3278716 (技术) | 4000-360-362 (商务)
海为总部:厦门市集美区软件园三期C03栋13-14层 | 制造中心:厦门市翔安区火炬高新区(翔安)产业区垵边南路336-2号4楼