Sorry, your browser does not support JavaScript!

Summary:how to use IAMMETER`s Wi-Fi energy meter in Home assistant

Home Assistant Energy Meter Integration: 5 Methods and Real Use Cases

Overview

This article introduces five different methods to integrate IAMMETER's Wi-Fi energy meters into Home Assistant, one of the most popular open-source home automation platforms. We also showcase real-world applications of these integrations to help users maximize solar usage and save on electricity bills.

MQTT Discovery is now supported starting from firmware version i.76.058.8, released on January 10, 2025.


Integration Method Comparison

No. Integration Method Interface Refresh Interval
1 Core Integration HTTP 1 min
2 Modbus/TCP Sensor Modbus/TCP 1 s
3 MQTT Sensor MQTT 12 s
4 HACS (Custom Integration) HTTP / Modbus/TCP 1 min (HTTP), 1 s (Modbus)
5 MQTT Discovery MQTT 6 s

1. Core Integration (Official Home Assistant Integration)

IAMMETER's energy meters are natively supported in Home Assistant.

Pros:

  • Easy to use and officially supported.
  • Compatible with IAMMETER Cloud, so you can use both systems simultaneously.

Cons:

  • Limited support for newer Home Assistant features (e.g., Energy dashboard, device discovery).

2. Modbus/TCP Sensor

Ideal for users needing high-frequency real-time data (up to 1 reading per second). Great for automation and control loops.

Modbus YAML

Pros:

  • Highest refresh rate (1s).
  • Compatible with IAMMETER Cloud.

Cons:

  • Only one client can poll the meter simultaneously.

3. MQTT Sensor

A flexible MQTT-based integration option that supports user/password authentication.

MQTT Integration

Pros:

  • Multiple clients can subscribe to the energy data.

Cons:

  • Cannot upload data to IAMMETER Cloud simultaneously.

4. HACS (Home Assistant Community Store)

To overcome limitations in the core integration, IAMMETER provides a HACS-compatible custom integration.

Pros:

  • Supports both HTTP/GET and Modbus/TCP modes.
  • Easy to use.

Cons:

  • Requires installing HACS first.

5. MQTT Discovery

MQTT Discovery allows Home Assistant to auto-detect devices with minimal configuration.

Recommended for seamless and fast MQTT-based integration with IAMMETERโ€™s latest firmware.


The five methods above focus on one direction: integrating IAMMETER hardware meters into Home Assistant.

There is now also a related Home Assistant solution for the reverse direction: if your meter, inverter, or other energy device is already integrated in Home Assistant, you can upload that data to IAMMETER Cloud through IAMMETER-Link.

IAMMETER-Link is a HACS integration that works as a bridge between Home Assistant and an IAMMETER Virtual Meter.

It does not read data from an IAMMETER hardware meter directly. Instead, it takes existing Home Assistant sensor entities and uploads their values to IAMMETER Cloud through a Virtual Meter.

Typical supported values include:

  • voltage
  • current
  • active power
  • energy (kWh)

Why this is useful

This is helpful when you already use Home Assistant as the central integration hub for your energy system.

For example:

  • your inverter is already integrated into Home Assistant
  • your third-party meter is already available in Home Assistant
  • you want to reuse those existing entities in IAMMETER Cloud for visualization and energy analysis

In this case, IAMMETER-Link lets IAMMETER Cloud use Home Assistant as a compatibility bridge, so the data source is no longer limited to IAMMETER hardware only.

Basic workflow

The setup flow is straightforward:

  1. Install IAMMETER-Link from HACS.
  2. Sign in to, or register for, an IAMMETER Cloud account.
  3. Select single-phase or three-phase mode.
  4. Map the relevant Home Assistant sensors to the required IAMMETER fields.
  5. View the uploaded data in IAMMETER Cloud.

Notes and limitations

  • IAMMETER-Link uploads data to an IAMMETER Virtual Meter, not to a physical IAMMETER meter.
  • If a field is left unmapped, it is uploaded as 0.
  • If a mapped sensor later cannot be read correctly, the upload process may stop.
  • For solar monitoring, the most useful values are usually power, imported energy, and exported energy.

Typical scenario

One practical example is this: you may already use an IAMMETER three-phase meter to monitor the grid side, while your inverter data is available in Home Assistant through another integration. With IAMMETER-Link, you can send the inverter data from Home Assistant to IAMMETER Cloud as a Virtual Meter, so both grid-side data and inverter-side data can be monitored together in IAMMETER's solar monitoring solution.

So although IAMMETER-Link is not another way to connect IAMMETER hardware to Home Assistant, it is still highly relevant for Home Assistant users because it extends IAMMETER Cloud to work with many more energy devices through Home Assistant.


Real-world Applications Using IAMMETER in Home Assistant

IAMMETER is committed to helping customers gain deep insights into their electricity consumption, minimize unnecessary energy waste, and ultimately reduce electricity bills.

In addition to offering multiple integration methods with Home Assistant, IAMMETER also provides practical application examples that users can easily follow. These include: controlling switches based on grid export power, monitoring solar PV generation and household energy flows, using surplus solar energy to charge electric vehicles, and heating water using solar surplus. The latter can be achieved by combining IAMMETER energy meters with the WPC3700 Wi-Fi Power Controller, which dynamically adjusts the power of the water heater in real-time based on grid power readings from the meter, ensuring optimal use of excess solar energy.

Some featured solutions are listed below:

Solar PV System Monitoring

Basic Wiring: Energy Meter + Smart Socket

Dashboard View in Home Assistant


Need Help?

If you experience any issues while using IAMMETER with Home Assistant, please visit our support forum and let us know. Weโ€™re happy to help!

Top