Hoppa till huvudinnehåll

Lesson 2.6 Exploring Connectors

Overview

Connectors are the bridge between Yggio and external data sources. They manage credentials, endpoints, and subscription topics, enabling seamless data flow into, out of, or both into and out of the platform.
Connectors support various protocols, including LoRaWAN, REST APIs, MQTT, BACnet, Modbus, CoAP, and NB-IoT, depending on the type of external system.

Key points:

  • Connectors handle authentication and permissions for external systems.
  • Retention policy controls how long data is stored in Yggio.
  • Flow Identifier sets the default data flow for devices added through the connector.

Create Some Dummy Connectors

In this exercise, you will get hands-on experience creating connectors and exploring their settings.

Start by studying the User Guide Connectors and some different types of available connectors.

  1. Navigate to Connectors in the top navigation bar.
  2. Click Create Connector and choose a type (e.g., MQTT, HTTP, CoAP).
  3. Fill in the required fields (dummy values are fine for training purposes).
  4. Experiment with the following settings:
    • Retention Policy: Set a short retention period for testing.
    • Flow Identifier: Select a default flow for new devices created via this connector.
  5. Save the connector and observe it in the list of connectors.
  6. Go to the Device List, click New Device and check out the legacy connectors.

Tip: You can create multiple dummy connectors of different types to see how Yggio handles different protocols.

Create an MQTT Connector to Publish on the platforms own broker

Study the User Guide: Connectors.

  1. Follow the instructions to create an MQTT Connector that publishes data on the platform’s own MQTT broker for incoming traffic. Refer to the section "Using the Platform MQTT Broker as an External Broker" in the guide. You will need to:

    • Create a Basic Credential Set.
    • Reserve a MQTT topic.
    • Create the connector and configure it to publish to the platform’s URL mqtt.staging.yggio.net using the credentials from the Basic Credential Set and the reserved MQTT topic.
  2. This connector will be used in Lesson 2.8: External Data Sharing.