Insights Hub How to send data to datalake via MQTT?

2023-03-03T08:25:02Z
Applications

Summary


Details

You have a MQTT device and want to send data to the MindSphere datalake. How can you do that?

Solution

You can connect MQTT devices via Visual Flow Creator (VFC) pretty easily.

1. You need to create a MQTT user in VFC. Click on the yellow marked button in VFC in the right top corner and create user. You can also see MQTT Client Information on this screen.


2. Here is MQTTBox configuration to connect a sample MQTT device. The MQTT Client ID fields requires a unique identifier at the end of the username as you can see on the screenshot below .


3. Use a "mqtt_in" node in VFC to connect the MQTT device. You only need to set a Topic here. 

You can use the "debug" node to see payload which is sent by device.

You can also use a "write object " node to write data into the datalake. You need file in datalake in advance.



Notes

KB Article ID# PL8593482

Contents

SummaryDetails

Associated Components

Visual Flow Creator