MQTT Engine provides a configuration section to the Ignition Gateway and this can be seen in the left side bar of the Ignition Gateway web UI.

The configuration options for each of the three tabs - General, Servers, and Namespaces - are detailed below.

General

The first tab contains general settings such as enable/disable the module.

Main

Miscellaneous

Advanced

These are advanced settings/features and they should be left with default values in almost all cases. Please be careful when changing these settings from their default values.


Servers

The Servers tab has two parts - Settings and Certificates

Servers - Settings

This tab provides a list of the MQTT Servers that MQTT Engine should connect to. By default, MQTT Engine is configured to connect to the local MQTT Distributor based MQTT Server and is set up to connect to localhost, port 1883, using the default username/password.

Additional or alternative MQTT Servers can be configured in MQTT Engine - often times more than one will be configured to handle fail-over in redundant or geographically distributed systems. Clicking on the 'Create new MQTT Server' link will bring up a form for adding a new MQTT Server setting.

The connection status of each server can be seen in the 'Status' column.

The settings available for an MQTT Server are:  

Main

TLS

See this document for TLS configuration: Configuring Secure MQTT Communication

Advanced Settings


Servers - Certificates

This tab provides a list of the certificate or private key files if loaded and available for TLS configuration.

Main

Namespaces

The third tab is used for configuring namespaces.  Each namespace configuration represents a family of devices and/or data that MQTT Engine will support.  A namespace defines the topics that each MQTT Engine client will subscribe on as well as indicates how the payload will be handled.

There are two types of namespaces: Default and Custom.  

Default Namespaces

Default namespaces are provided out of the box and can simply be enabled or disabled.  When MQTT Engine is first installed, all default namespaces are enabled.  Each default namespace has the following properties:

Additional detail on the default namespaces is available here.

Custom Namespaces

Custom namespaces are used to provide support for generic MQTT messages with string based payloads.  If a custom namespace is configured MQTT Engine will convert all messages received to tags.  The topic of each message will directly translate into the tag's path.  The payload of the message will be that tag's value.   

Each custom namespace has the following properties:

Main

Optional

Advanced


Please read the MQTT Engine Custom Namespace tutorial for more information.