Skip to Content
This is the Beta version of our new Learning Paths approach. Please email feedback.
Smart HomeIoT AppConnect to MQTT

Connect to MQTT (Servers)

The app allows you to configure servers to connect to (servers in this context are the MQTT Brokers) to publish or subscribe to an MQTT queue.

Both protocols further support secure (TLS) and unsecure communication. Brokers listen on specific ports for each protocol. While there are some standard ports, brokers may use any port of their choice (which they will specify in their documentation). Private brokers also require authentication credentials, either a user id and password, or certificates.

To create a server enter the following details in the form:

  • Name
    A short name to identify the server.
  • Description
    A short description of the server.
  • Protocol
    Select from the list of supported protocols.
  • IP Address
    Optional, can be used if you are running a local server.
  • Broker FQDN
    Fully Qualified Domain Name similar to those in the list above.
  • Port
    A standard port is pre-entered based on the selected protocol but can be edited.
  • MQTT URL
    This is the complete url with the protocol, FQDN, port, and required suffixes. It is pre-generated based on the values entered but can be edited as specified in the broker documentation.
  • User Id
    Optional, generally required for private brokers.
  • Password
    Optional, generally required for private brokers along with user id.
  • Enabled
    The server is enabled by default but can be disabled if you don’t want to use it for a while.

You can connect to and disconnect from servers from the server list page.

Servers
Manage Server