How To Set Up MQTT Server For Gateway - Dusun
How To Set Up MQTT Server For Gateway - Dusun
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 1/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
Download the X86 or X64 windows JDK le according to users’ windows version. Launch the le "jdk-
82u211-*. exe" and perform a default install. Then you will see two folders in the /windows/program
les/java folder, one is JDK, the other is JRE, as the gure below shows.
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 3/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
What’s MQTT?
with remote locations where a small code footprint is required and/or network bandwidth is at a
premium. For example, it has been used in sensors communicating to a broker via satellite link,
over occasional dial-up connections with healthcare providers, and in a range of home automation
and small device scenarios. It is also ideal for mobile applications because of its small size, low
power usage, minimised data packets, and efficient distribution of information to one or many
receivers.
Dusun gateway supports MQTT protocol to connect to cloud platform, Please refer to the frame
below
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 2/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
A D U S2.USet
N JDK
C O Environment
M P A N Y Products
Variables Developer Zone
in Windows Downloads Partners About Us More
In Windows 10 press Windows key + Pause Key, this will open the System Settings window. Go
to Change settings and select the Advanced Tab. Alternatively: Open “Windows search” – you will nd it
next to the Windows logo. In the search eld type in – advanced system settings, then click on the
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 4/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
Under “System variables” click the “New…” button and enter JAVA_HOME as “Variable name” and the
Update System PATH
2. Click on “Edit…”
4. Type in %JAVA_HOME%\bin
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 5/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
Use the links below to download the Apache-appollo software for windows:
http://mirrors.hust.edu.cn/apache/activemq/activemq-apollo/1.7.1/apache-apollo-1.7.1-windows-
distro.zip
Run cmd with administrator privilege and use cd command to locate the apache-apollo bin directory as
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 6/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
Open a new command prompt and type in: “cd c:\apache-apollo\broker\bin\; apollo-broker run”, this
Then the MQTT server has been setup successfully, but right now, there are no devices connecting to
this server:
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 7/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
Connect a Dusun gateway to a PC; open a web browser and type in - 192.168.66.1; then log in the
Username: root
Password: root
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 8/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
Username: admin
>
Press enter and the Mqtt con guration is completed.
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 9/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
You can see the gateway indication light is o and the gateway has connected to the server:
Related Link
Dusun Smart Gateway
Dusun Zigbee Gateway
Dusun Edge Computing Gateway
MQTT Website
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 10/11
9/21/2020 How to set up MQTT Server for Gateway | Dusun
Edge Computing Gateways
Thermostats
>
https://www.dusuniot.com/set-up-mqtt-server-for-gateway 11/11