MQTT

Configuration

Complete the information in the form (all the fields are mandatory):

  • Project Name: Your project's name.

  • IP Address: The IP address of your application.

  • Port Number: The port number of your application.

  • User: The user that you use to log in to the MQTT Cloud.

  • Password: The password that you use to log in to the MQTT Cloud.

  • Client ID: The Client ID of your application.

  • SSL & SSL Cert: Certificate for secure communications.

  • Topic Template: Template for the MQTT topic.

  • Message Template: Template for the MQTT message.

You can use hashed values to create both topic and message templates. This will be replaced by our system with the real values received from your device/s.

--- Variables and values --- #VARIABLE# #VARIABLE_NAME# #VALUE# #UNITS# #TS# #VALUE_POSITION_LAT# #VALUE_POSITION_LONG# #VALUE_POSITION_H# #VALUE_ID#

--- Device information --- #DEVICE_NAME# #DEVICE_SERIAL# #DEVICE_TYPE# #DEVICE_ID#

So for Topic Template you can add something like libelium/#DEVICE_SERIAL# if you want to create a topic by device serials.

For Message template you can add a JSON formatted with all the information you need as you can see in the next example:

Last updated