Node-Red AWS IoT

How to connect Infodeck using MQTT

Sohaib

Last Update 10 days ago

Find MQTT node in the Node Red application. If you couldn't find it, please download the node from Node Red Library .

Add a new MQTT broker "Server"

  1. Go to Main Function Menu.
  2. Choose "Integrations".
  1. Click the top right "+ Create Server".
  2. Choose AWS IoT Server.

Create a New Service

Give Name and Decryption (Optional) for your new integration service

After creating a New Service.

  1. Copy the Endpoint link from the Infodeck platform, paste to Node Red Server column
  2. Change port to 8883
  1. Choose "Use TLS", then edit the "TLS Properties"
  2. Choose MQTT to version 5 (Optional)

Click "Get Certifications" to download the certifications.

  1. Root CA
  2. Device Certificate
  3. Private key file
* No need to download Public Key file for the node.

Locate the certifications you just downloaded from the Infodeck platform.

  1. Certificate means "Device Certificate"
  2. Private key means "Private key file"
  3. CA Certificate means "Root CA" 

Leave rest of options empty, then click "Add"

You should now see your MQTT node with a Blue dot, that means you are now connected to the Infodeck MQTT endpoint. 

Let's move to the next steps to get your MQTT data associate to your Assets.

How to link your device asset with MQTT?

Your probably noticed there is a "UUID" for the default MQTT topics.


Let's click "Link Device"

  1. Name your "UUID", this UUID will be used to full in the MQTT topics.
  2. Name the Device.
  3. Drop down the menu to find your asset type.

* If you haven't created the "Asset Type", please follow this step to create a new Asset Type. 

* If you haven't add a Location to your Asset Type, follow this step

The New Device is now added, you will see a new device in the chart below.

Check the status by clicking "Preview"

Congratulations! You should now see your device with data via MQTT topics.


You are one step closer to optimize your facility. 

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us