MQTT Icon

Helium MQTT Channel


MQTT is a lightweight publish and subscribe messaging transport which has gained a lot traction with IoT developers and cloud vendors. It's designed for constrained devices and low-bandwidth, high-latency or unreliable networks.

Helium provides a hosted, free MQTT Broker for every deployment to give developers the ability to easily integrate data from Helium sensors into their existing MQTT deployments. This short guide will covers how to use Helium MQTT Channel.


Prerequisites

In order to deploy and use this Channel, you'll need the following:

The Helium MQTT Channel

By defaut every Helium Dashboard account comes pre-visioned with a Helium MQTT Broker. To view it, go to the Channels interface and navigate to Active Channels. Then click on the Helium MQTT and scroll down to see its properties.

DocImg

Helium MQTT Settings

Here's an example of the MQTT Settings you'll see exposed by the Helium MQTT Channel

DocImg

Use all of the following settings to integrate data from the Helium MQTT Broker with your preferred MQTT Client.

Helium MQTT Settings Usage
MQTT Connection String Use this to connect to the Helium MQTT Broker exposed by this Channel.
Team MQTT Topic Use this to publish/subscribe to all of the data from all the devices in this Channel.
Atom MQTT Subscription Topic Use this to subscribe to messages from a given Atom on the Helium MQTT Broker.
Atom MQTT Publish Topic Use this topic to publish message to a given Atom on the Helium MQTT Broker.

A Note on the MQTT Connection String

The MQTT Connection String is actually a concatenation of a username, password, host, and port. For example, take a look at the following sample connection string:

In the above:


MQTT Port Types

There are three possible ports to use as part of the MQTT Connection String.

Port Number Definition
18103 MQTT
28103 MQTT over HTTPS (commonly referrred to as "MQTTS")
38103 Websockets over SSL (commonly referrred to as "WSS")