Integrate and extend your AirVantage platform
Here we give you an overview of what you can do with the AirVantage Cloud Connector via a simple use case: Connecting your system to MQTT Broker and getting raw data from your MQTT topic.
We’ll explain all the technical aspects needed for a robust, secure & reliable interface:
- principles & best practices
- configuration & authentication
- how to get messages
This section explains when and why to use the Cloud connector, what it is and the available options.
The MQTT Cloud Connector provides:
When you connect AirVantage to an MQTT broker, you have to define the type of notifications you want: operations, data, alert or usages.
This section explains how to configure your client to be robust, reliable and secure. Please read carefully this section in order to supply correct information to enable the end point on the AirVantage side.
You can use any MQTT broker like Mosquitto or any broker embedded in a Cloud Platform like cloudMQTT .
In this tutorial, we will send messages to Mosquitto.
Mosquitto supplies a MQTT broker open to the community but they use it for tests.
Supply the following information using the CRM
and select Request Support
:
In this tutorial, we use the following broker information:
analytics
)
This section explains how to consume the messages from a MQTT Broker using MQTT Lens.
Step 1. Create a new connection in MQTTLens.
Step 2. Configure your connection to your MQTT Broker.
Step 3. Susbcribe to the topic (analytics
in this example)
Step 4. In AirVantage, push a data, generate an alert (based on the label creation condition) or create an operation according to what kind of message has been activated.
Step 5. According to the messages the queue has subscribed to, you can:
You can see your messages like in the screenshot on the right.