Setting up the Abstract MQTT driver network

This procedure explains how to establish the connection between Niagara and Sine application.
Prerequisites: Workbench is licensed for mqtt.

AWSCert certificate is installed.

You received the Broker Endpoint from your SI.

  1. Navigate to Config > PlatformServices > CertManagerService > User Key Store and import the AWSCert certificate if not done.
  2. Open abstractmqttDriver palette and drag a AbstractMqttDriverNetwork component to the Drivers folder.
  3. Add an AwsMqttDevice component to AbstractMqttDriverNetwork.
    Image
    The AwsMqttDevice is added.
  4. To open the property sheet, double-click AwsMqttDevice.
    The AX Property Sheet opens.
    Image
  5. Edit the property sheet for AwsMqttDevice and click Save.
    1. Expand authenticator in the property sheet and add the Broker Endpoint provided by your SI.
    2. Add a unique Client ID in the authenticator. The API Key from the VisitorIntegrationService should be added here as it takes care of the uniqueness factor.
    3. In Certificate Alias, select the AWScert provided by your SI from the drop-down list.
      The AWScert is the one you added to the User Key Store under Config > Services > PlatformServices > CertManagerService.
  6. Click Save and Rright click on AwsMqttDevice > Actions > Connect.
    If the connection is successful, the Status Message property value shows Connected.