Clarity Gateway
  • Setup
    • Getting Started
      • Mounting and Wiring
        • Power and Ground Connections
        • Flexible I/O Connections
        • Serial Connections
        • USB and Ethernet
      • Network Layout
      • Accessing Clarity Gateway Web Interface
      • Setting Password
      • Entering License Key
      • Changing the IP address
      • Updating Software
      • 3rd Party Devices
        • Running the Installer Script
        • Moxa UC-8100-ME Setup
        • Runnning Clarity Gateway on a 3rd Party Device
        • Password Recovery on 3rd Party Devices
    • SSH Access
    • Serial Console Access
    • Adding USB Storage
  • Connections
    • EtherNet/IP
      • Adding an EtherNet/IP Connection
      • Receiving values from EtherNet/IP
      • Sending values to EtherNet/IP
    • MQTT
      • Adding a SparkPlug MQTT Connection
      • Adding a Text/JSON MQTT Connection
      • Sending values to MQTT
    • Modbus
      • Sending values to Modbus
      • Receiving values from Modbus
      • Adding a Modbus TCP Device
    • Local I/O
      • Configuring Analog Inputs
      • Configuring Digital Inputs
      • Configuring Digital Outputs
  • Transfer Data Between Connections
  • Channels
    • Setting Clarity Metadata
  • Other
    • Recovery
    • Settings Import/Export
      • Exporting Settings
      • Importing Settings
Powered by GitBook
On this page
  1. Connections
  2. MQTT

Adding a SparkPlug MQTT Connection

PreviousMQTTNextAdding a Text/JSON MQTT Connection

Last updated 2 years ago

You can add a SparkPlug MQTT connection by clicking + next to Connections in the sidebar:

In the Create Connection page that appears, enter the Name for your connection:

Then select the MQTT SparkPlug protocol:

Fields will appear below. Enter the Server URL, Username, and Password of the MQTT server to connect to:

Then enter the Group ID and Node ID you would like to use for the Iron Pi (or other device running Clarity Gateway):

Finally, click Save:

Once the connection has been created, you will see the following page. The status bar at the top will indicate if Clarity Gateway is connecting to the server, has connected, or failed to connect:

To return to your connection settings from another page, click its name in the MQTT section of the sidebar: