The New Third-Party MQTT Integration on Datacake IoT Platform

The New Third-Party MQTT Integration on Datacake IoT Platform

Making MQTT on an IoT platform easier than ever before

Datacake offers a completely new integration for third party MQTT devices including support for third party Brokers. Thanks to Payload Decoder, Datacake adapts to any existing topic structure and also offers the possibility to send data from the platform back to the device.

  • Payload Decoder for Subscriptions
  • Downlink Encoder for custom Publishes
  • Third-Party MQTT Broker Support

Showing the new MQTT Integration in an overview video on YouTube

Available for API Devices

No new device type is required to use the new MQTT integration. The functions are available for any standard API device.

The New MQTT Integrations Panel on a Datacake API Device

The New MQTT Integrations Panel on a Datacake API Device

Payload Decoders for Subscriptions

Define one or more MQTT topics that your API Device should subscribe to and specify a payload decoder for each of these subscriptions.

Payload Decoder for incoming data topic subscription

Payload Decoder for incoming data topic subscription

Payload decoders are JavaScript snippets that can be used to decode the incoming data via the topic accordingly.

For example, you can send a JSON containing several data, which will be decoded by the javascript code and written to the respective database fields of the device.

Assignment by Serial Number

Use decoders to extract serial numbers, which are embedded e.g. in the topic of the publish, and forward them to the corresponding device on Datacake.

Set Serial number to custom Device ID or ICCID of SIM Card / IMEI

Set Serial number to custom Device ID or ICCID of SIM Card / IMEI

Send Downlinks

Downlinks, known from the LoRaWAN ecosystem, are commands that can be sent from the platform to a sensor or device. Using short javascript snippets you define the payload as well as topic of your downlink publish. An integrated editor helps you to create and test a downlink code.

Downlink Payload Encoder Editor on Datacake

Downlink Payload Encoder Editor on Datacake

Also, measurement values or other payload data can be used within the javascript code. So you can define whole JSON structures as payload of the publish.

MQTT Downlinks on a Device Dashboard

MQTT Downlinks on a Device Dashboard

Downlinks are (as with LoRaWAN or Particle Devices) fundamental elements of the platform and can be placed as a button on a dashboard or used as an action in the rule engine.

Support for External MQTT Brokers

Use external brokers with your Datacake devices and add them to your workspace. In a new overview you can see all external brokers, their connection status as well as logs.

New Integrations Panel showing external MQTT Servers

New Integrations Panel showing external MQTT Servers

Set username, password and optionally define TLS usage and upload your own certificates. All subscriptions and publishes of your MQTT devices will then take place via these third-party brokers.

The Third Party MQTT Server Configuration Panel

The Third Party MQTT Server Configuration Panel

For each third-party MQTT server, a log on the workspace provides information about the current connection status. Incoming messages and connection problems can also be seen there.

External MQTT Server Log

External MQTT Server Log

Available now

The new MQTT integration is now available on the Datacake platform. Try it out and let us know your feedback. We are also happy to provide support for the implementation.