Getting Started

Getting Started – ThingsBoard Cloud for SenzConnect

52 views May 23, 2025 monisha-d 0

Introduction

Welcome to SenzConnect, a smart, secure, scalable sensor monitoring solution designed for today’s connected world. Whether you’re tracking environmental parameters like temperature, humidity, and CO2 levels, or integrating your devices with cloud systems via MQTT or REST APIs, SenzConnect makes it simple.

This guide will walk you through the quick and easy setup process to connect your device to ThingsBoard Cloud. In a few steps, you can configure your device, establish a secure connection, and start visualizing real-time sensor data online.

Prerequisites

Before we begin, make sure you have:

  1. Hardware: SenzConnect Module.
  2. Power source: USB-C cable.
  3. Internet Access: 2.4GHz Wi-Fi network access.
  4. Wi-Fi-enabled device (PC/laptop or Smartphone).
  5. Access to your Wi-Fi network.
  6. Modern web browser (Chrome, Safari, Edge, etc.).
  7. ThingsBoard Cloud Account (or any MQTT/MQTTs supported platform).

LED Indicators

ColorStateIndication
RedSolid (2 seconds)Device is powered on
PurpleBlinkingAP Mode: Waiting for STA Device to get conneted
PurpleSolidAP Mode: STA Device is connected
GreenBlinkingStation Mode: Trying to connect to Wi-Fi network
GreenSolidStation Mode: Connected to Wi-Fi network
BlueBlinkingTrying to connect to MQTT broker / Not connected
BlueSolidConnected to MQTT broker
Blue + White BlinkSolid Blue with White Blinking in the BackgroundMQTT publishing is active — white LED blinks at every publish interval
YellowSolidFalling back to AP (Configuration mode)
RedBlinking Factory reset initialized

Power the Device

The SenzConnect Module operates using a single standard 5V USB-C cable. Use any 5V, 1A USB-C adaptor or power source to power the board reliably. Once powered, the Power LED glows solid red for 2 seconds, signaling that the system has started properly.

Setting up – SenzConnect Module

The SenzConnect Module features a built-in Wi-Fi Access Point (AP) made for easy, direct configuration, no app or special software needed.

Step 1: Connect to the Access Point (Configuration Mode):

  • On Power-On, the purple LED indicates the device is in AP mode.
  • On your Wi-Fi-enabled device, open Wi-Fi settings and look for the network with the SSID like the module’s Default Hostname.
  • Connect to the network using the default password.
  • Once connected, the purple LED will turn solid, confirming successful connection.

Step 2: Accessing the Configuration Page:

  • Open any web browser and access 192.168.4.1.
  • Login using the default credentials when prompted, now you will be prompted to the device dashboard.

Step 3: Explore the Web Dashboard:

  1. Monitor live sensor readings (like temperature, humidity, CO2, and more).
  2. Configure the network settings.
  3. Configure MQTT/ MQTTs.
  4. Calibrate the sensor for better accuracy.
  5. Perform a reboot.

Step 4: Configure Network Settings:

The SenzConnect device allows you to configure the device’s connection to an existing Wi-Fi network. You can update the SSID, set the password, adjust the hostname, and configure the network settings according to your needs.

Step 5: Reboot:

Note: Once all the necessary settings are completed, reboot the device to enable the set changes.

  • You can reboot the device in two ways:
    1. From the web Interface: Click Reboot on the Device settings page under the Device Management section.
    2. Using the Multi-Purpose Switch: A single click will reboot the device with the saved configuration.

Step 6: Application Mode – The Station Mode:

  • Once the device network settings are configured and rebooted, the device enters Station Mode. The LED will blink green while connecting and turn solid green when connected to the network of your choice.
  • It is essential for the device to be connected to the Wi-Fi network to establish a connection to the MQTT broker, allowing it to publish data.

Setting up the SenzConnect Module with ThingsBoard Cloud

This guide walks you through the steps to connect your SenzConnect module to ThingsBoard Cloud and start publishing real-time sensor data using MQTT.

Step 1: Create a ThingsBoard Cloud Account

    1. Visit https://thingsboard.cloud and sign up an account.
    2. Once logged in, go to Entities -> Devices.
    3. Click “+Add Device”, give a name (e.g., SezConnect-01), and optionally add a label or description.


  1. After the device is created, open the device and go to the “Credentials” tab.
  2. Choose one of the following credential types:
    • Access Token (default): Copy the token generated, you’ll use it as the MQTT username later.
    • MQTT Basic: Enter your own or auto-generated client ID, username, and password, both are used during device configuration.

 

Step 2: Configure the SenzConnect Module

  1. Power on your SenzConnect device.
  2. Connect to the Configuration mode over the AP.
  3. Open a browser and go to the device dashboard at http://192.168.4.1 to access the configuration portal.
  4. Navigate to the Network Settings and Configure the Network (This is required for the device to connect to the Cloud Broker).
  5. Navigate to the MQTT Settings section.
    Configure the following details:
    SettingsValue
    Broker URLmqtt://mqtt.thingsboard.cloud
    Client IDSet a MQTT Client ID.
    Topicv1/devices/me/telemetry
    Publish IntervalMinimum 500ms
    Message FormatExample:
    {Temperature: ~t0_val~, Humidity: ~h0_val~, CO2: ~co2_val~}
    Live sensor data will replace the placeholders (t0_val, etc.)

    Note: See the user manual for comprehensive setup and troubleshooting instructions.
    Security- Username: Use the Access Token or MQTT username.
    - Password: Leave blank if using Access Token, else enter the MQTT password.
  6. Click “Update MQTT Settings”.
  7. Reboot the device.

Step 3: Start Streaming Data

    1. After reboot, the device connects to the configured Wi-Fi network.
    2. It will automatically begin publishing real-time data to ThingsBoard Cloud via MQTT.
    3. To verify, go to your device in ThingsBoard and open the “Telemetry” tab, you should see live data incoming.

Troubleshooting Tips

  1. If no data in ThingsBoard, double-check:
    • Wi-Fi credentials and connectivity.
    • Verify the LED Indication and know the device status.
    • Access Token or Credentials.
    • Correct MQTT Topic (v1/devices/me/telemetry for ThingsBoard).
    • Check the pre-fix in broker URL (mqtt:// or mqtts:// based on the port).

 

 

Was this helpful?

Leave A Comment
*
*