Xiamen Haiwell Technology Co., Ltd.

请上传logo 请上传logo

Haiwell HMI/ CBOX/ IPC MQTT Configuration Guide

2019-01-30 09:28:18 market

For more information, please check Haiwell HMI/ CBOX/ IPC MQTT Configuration Guide.pdf

Network Diagram

image.png


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).

image.png

Unzip the package to any directory. The install location is C:\Documents\emqx in this example.

image.png


1.2.Installation

Run Command Prompt as administrator. Enter the install directory by “cd” command.

image.png

Start MQTT broker in console mode by “bin\emqx console” command.

image.png

If it is started successfully, an Erlang window will come out. Close the window and continue to register the Windows service.  

image.png

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.”.

image.png


1.3.Start

Start EMQ X service by “bin\emqx start” command.

image.png


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.

image.png


2.Set up MySQL Server

2.1.Downloads

Go to official website https://www.mysql.com/. Choose “DOWNLOADS” tag.

image.png

Click on “MySQL Community Edition(GPL)” -> “MySQL Community Server”.

image.png

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



UTC/GMT +8
Sales@haiwell.com
Haiwell

WeChat

APP