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:
- Hardware: SenzConnect Module.
- Power source: USB-C cable.
- Internet Access: 2.4GHz Wi-Fi network access.
- Wi-Fi-enabled device (PC/laptop or Smartphone).
- Access to your Wi-Fi network.
- Modern web browser (Chrome, Safari, Edge, etc.).
- ThingsBoard Cloud Account (or any MQTT/MQTTs supported platform).
LED Indicators
Color | State | Indication |
---|---|---|
Red | Solid (2 seconds) | Device is powered on |
Purple | Blinking | AP Mode: Waiting for STA Device to get conneted |
Purple | Solid | AP Mode: STA Device is connected |
Green | Blinking | Station Mode: Trying to connect to Wi-Fi network |
Green | Solid | Station Mode: Connected to Wi-Fi network |
Blue | Blinking | Trying to connect to MQTT broker / Not connected |
Blue | Solid | Connected to MQTT broker |
Blue + White Blink | Solid Blue with White Blinking in the Background | MQTT publishing is active — white LED blinks at every publish interval |
Yellow | Solid | Falling back to AP (Configuration mode) |
Red | Blinking | 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:
- Monitor live sensor readings (like temperature, humidity, CO2, and more).
- Configure the network settings.
- Configure MQTT/ MQTTs.
- Calibrate the sensor for better accuracy.
- 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:
- From the web Interface: Click Reboot on the Device settings page under the Device Management section.
- 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
-
- Visit https://thingsboard.cloud and sign up an account.
- Once logged in, go to Entities -> Devices.
- Click “+Add Device”, give a name (e.g., SezConnect-01), and optionally add a label or description.
- After the device is created, open the device and go to the “Credentials” tab.
- 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
- Power on your SenzConnect device.
- Connect to the Configuration mode over the AP.
- Open a browser and go to the device dashboard at http://192.168.4.1 to access the configuration portal.
- Navigate to the Network Settings and Configure the Network (This is required for the device to connect to the Cloud Broker).
- Navigate to the MQTT Settings section.
Configure the following details:
Settings Value Broker URL mqtt://mqtt.thingsboard.cloud Client ID Set a MQTT Client ID. Topic v1/devices/me/telemetry Publish Interval Minimum 500ms Message Format Example:
{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.
- Click “Update MQTT Settings”.
- Reboot the device.
Step 3: Start Streaming Data
Troubleshooting Tips
- 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).