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
© 2005 Xiamen Haiwell Technology Co., Ltd. All Rights Reserved.
4F, No. 336-2, Anbian Nan Road, Torch High-tech Zone (Xiang 'an) Industrial Zone, Xiang 'an District, Xiamen, Fujian, China 361101