In this tutorial we will show you how to configure the ACE-GTW-MQTT gateway for

  1. Connect to the ACE-GTW-MQTT configuration web interface
    1. Via its LAN RJ45 port connected to your network
    2. Via its WAN RJ45 port connected to your network
  2. Connect the ACE-GTW-MQTT to Internet
    1. Via its WAN RJ45 port connected to your network
    2. Via its WiFi connected to your network
  3. Connect the ACE-GTW-MQTTto a MQTT Broker
  4. Connect the ACE-GTW-MQTTto the ACE PLC

 


Connect to the ACE-GTW-MQTT configuration web interface

Via its LAN RJ45 port connected to your network

Connect the ACE-GTW-MQTT on your network (LAN port).

Your PC must be on the same network as the Gateway: 192.168.8.XXX. If it’s not the case, change the IP address of your PC. Don’t use an IP address already taken by a device of your network!

With your bowser, go to the ACE-GTW-MQTT web interface by enter its IP address: 192.168.8.1

Enter the username = root, and the password = root

< ! > Please configure a new root password to protect the web interface.

Once your are connected to the ACE-GTW-MQTT, you can change its IP address if you wish.

Network > Interfaces

And “Edit” the LAN interface

Enter a new IP address that is not already being used by another device on your network.

Don’t forget to confirm your configuration by clicking on “UNSAVED CHANGES”

Via its WAN RJ45 port connected to your network

It is assumed that you have a DHCP server on your network that assigns IP addresses to the new connected devices.

Connect the ACE-GTW-MQTT on your network (WAN port).

Search what is its IP address assigned by the DHCP server. If you don’t know, you can use the free and open-source software Angry IP Scanner for see all devices connected to your network.

Go to the ACE-GTW-MQTT web interface by enter its new IP address. 192.168.xxx.xxx in our example.

Enter the Username = root and the Password = root

< ! > Please configure a new root password to protect the web interface

 


Connect the ACE-GTW-MQTT to Internet

Via its WAN RJ45 port connected to your network

Connect the Gateway on your network (WAN port).

If the WAN port is already connected to your network and an IP address has been assigned by a DHCP server . In this case, your ACE-GTW-MQTT must already be able to connect to the Internet.

Go to Network > Diagnostics and ping the “openwrt.org” server on the Internet.

Success! If you have 5 packets received.

 

 

Via its WiFi connected to your network

 

Watch the video on your right or follow these instructions:

In the network configuration web pages of the ACE-GTW-MQTT:

  • Network > Wireless, click on [ Scan ]
  • [ Join Network ] you want to join
  • Enter the passphrase/password if exist
  • Let the name of the new network (wwan)
  • [ Save & Apply ] the “Device Configuration” page
  • [ Save & Apply ] the “Interface Configuration” page

Check you new IP address on WWAN:

  • In Network > Interfaces check the new IP address on WWAN interface

For check your connection to Internet:

  • Go to Network > Diagnostics and ping the “openwrt.org” server on the Internet.

Success! If you have 5 packets received.


Connect the ACE-GTW-MQTT to a MQTT Broker

In this chapter we will show you how to:

  • Declare a Broker and add a topic in ACE-GTW-MQTT
  • Use MQTT.fx to view Broker data for tests and debugs
    • Declare a Broker
    • Add a Topic
We use the free software MQTT.fx, another MQTT client, to view broker data.

Download and install it.

You can test these MQTT Brokers below. Some of them are free and/or require an account and monthly fee.

The free versions are only there for your tests, not to be used in your application.

MQTT Broker ACE-GTW-MQTT Gateway parameters
MQTT.fx software parameters
HIVEMQ – Free

  • broker.hivemq.com
  • 1883
MOSQUITTO – Free

  • test.mosquitto.org
  • 1883
CLOUD MQTT – Fee based

  •  hairdresser.cloudmqtt.com
  • 18773
  • Use Login/Password

Create an account and get your username and password on https://www.cloudmqtt.com/


Connect the ACE-GTW-MQTT to the ACE PLC

in progress

How to reset the ACE-GTW-MQTT to the factory default settings?

See here

 

 

 

 

 

 

 

 

 

.