Sorry, your browser does not support JavaScript!

Integrate with thingsboard

How to Use IAMMETER's Wi-Fi Energy Meter with ThingsBoard

If you care about your electricity usage, you can reduce unnecessary consumption and lower your energy bills. IAMMETER is dedicated to providing practical tools—including hardware, software, and system integrations—to help customers gain real insight into their energy consumption. With IAMMETER’s smart monitoring solutions, saving electricity becomes easier and more effective.

Looking to integrate a Wi-Fi energy meter into ThingsBoard for real-time energy monitoring and dashboard visualization? This tutorial will guide you step-by-step to connect IAMMETER's smart meters to ThingsBoard via MQTT, enabling local and cloud-free energy data collection, perfect for solar and smart home scenarios.

💬 If you have any questions, please join the discussion at: 👉 https://imeter.club/topic/462


1. Configure the IAMMETER Wi-Fi Energy Meter

Access the local IP address of your IAMMETER smart energy meter via browser.

1.1 Set Run Mode and MQTT Broker Address

  • Run Mode: TCP
  • TCP Address: mqtt://10.10.20.21:1883 (This should be the IP address and port of your ThingsBoard MQTT Broker)

Click Save & Reboot after entering these settings.

Configure Run Mode and MQTT Broker


1.2 Set MQTT Credentials (Username & Password)

IAMMETER supports MQTT and allows you to set credentials via local API.

Example credentials:

  • Username: laoliu
  • Password: 123456

API format to apply settings:

bash


复制编辑
http://<local_ip_of_meter>/api/mqtt?user=laoliu&pwd=123456

Set MQTT credentials via API

🔹 These credentials will be required when configuring the device in ThingsBoard.


2. Setup ThingsBoard to Receive Energy Data

2.1 Create a New Device Profile

Go to Profiles → Device Profiles in ThingsBoard.

Device Profiles

Click + Add, then create a new profile:

  • Name: IAMMETER-MQTT

Create Device Profile

Set the following:

  • Transport type: MQTT
  • Telemetry topic filter: device/+/realtime
  • Attributes topic filter: device/+/realtime

More on IAMMETER’s MQTT topics: Publish the data of energy monitor to your MQTT server

Click Next → Next → Add to finish.

MQTT Topic Configuration Profile Created


2.2 Add New Device with MQTT Credentials

Go to Devices → + Add new device

  • Name: IAMMETER
  • Profile: Select IAMMETER-MQTT

Add Device

On the next screen:

  • Choose Add credentials
  • Credentials type: MQTT Basic

MQTT Credentials Input

Client ID: Use the Serial Number (SN) of your IAMMETER Wi-Fi energy meter. Find the SN from the local web page of the meter and paste it.

Copy SN to Client ID

Username & Password: Use the credentials set earlier (laoliu / 123456)

Set Client ID, Username, Password

Click Next, and choose Public for device visibility.


2.3 Confirm Device Creation

Your IAMMETER smart energy meter is now listed in ThingsBoard.

Device Added Device Details


3. View Real-Time Energy Data in ThingsBoard

Once connected, the live telemetry data from the energy monitor will appear in your dashboard.

View Real-Time Energy Data

You can also visualize the energy data using custom Widgets.

Show on Widget Latest Telemetry


✅ Benefits of Using IAMMETER with ThingsBoard

  • 🔌 Seamless MQTT integration with Wi-Fi energy meters
  • 📊 Real-time power, voltage, current, and energy tracking
  • ☁️ Compatible with local or cloud-based ThingsBoard setups
  • ⚙️ Ideal for solar PV, home automation, and energy audits
  • 🔐 Secure communication via MQTT credentials

Still have questions?

Join the community discussion: 👉 https://imeter.club/topic/462

Or explore the official guide: 👉 IAMMETER MQTT Integration Docs

About IAMMETER

IAMMETER is a company focused on energy management products and services, offering smart energy meters, management apps, and cloud platforms.

Our goal is to help customers manage, utilize, and save energy effectively, reducing electricity bills through smart monitoring and analysis.

Solutions

Products

System

Top