Add MQTT Client

Configure a MQTT client node to enable connection with MQTT Broker. For publishing and subscribing to MQTT Broker it is needed to create MQTT Pulisher node and/or MQTT Subscriber node
  1. In Project view, right-click
    MQTT
    , select
    New
    , and select
    MQTT Client
    .
  2. In , configure the
    MQTT Client
    settings:
    Broker address
    The address of the broker to connect to.
    Port
    Communication port number.
    ClientID
    The Client identifier that is unique on the server.
    SSL/TLS Enabled
    Enabling secure connection between FT Optix MQTT Client and MQTT Broker. Once activated 'mqqts' protocol is being used.
    Validate broker certificate
    Activates/deactivates validation process of MQTT broker certificate. During the SSL certificate verification process, the FT Optix MQTT client checks the digital signature of the broker certificate to ensure that it has been issued by a trusted certificate authority (CA). The client also verifies that the certificate has not expired.
    CA certificate file
    A Certificate Authority certificate that has signed the server certificate on the MQTT Broker. It is required once SSL/TLS is activated to establish secure connection with the broker. It must be found in
    \FactoryTalk Optix\Projects\ProjectName\ProjectFiles\PKI\Own\Certs
    folder.
    Client certificate file
    FT Optix MQTT Client certificate. A client certificate identifies the client just like the server certificate identifies the server. If this property stays empty only broker certificate is user for authentication. It must be found in
    \FactoryTalk Optix\Projects\ProjectName\ProjectFiles\PKI\Own\Certs
    folder.
    Client private key file
    FT Optix MQTT Client private key. It must be found in
    \FactoryTalk Optix\Projects\ProjectName\ProjectFiles\PKI\Own\Certs
    folder.
    User Identity type
    Specify user when accessing the MQTT Broker:
    • Anonymous (default) - No login is performed, access the server as Anonymous user
    • Username/Password - Specify a username and password combination for logon.
In
Project view
, in the
MQTT
folder, the
MQTT Client
object appears.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.