Sorry, your browser does not support JavaScript!

Energy monitor in HomeAssistant

This article is about how to integrate the energy meter of IAMMETER into Home Assistant. But the energy meter of IAMMETER does not only support third-party platforms such as Home Assistant but also has a powerful IAMMETER-cloud and app service, more information please refer to

Application introduction about the IAMMETER system and smart energy meter

Use the 3 phase energy meter the way you like

1. Introduction

No. Products Description
1 3 phase energy monitor WEM3080T : three phase wifi energy meter
2 wifi power meter WEM3080 : single phase wifi energy meter

HomeAssistant ( is an open source home automation system.

IAMMETER WiFi energy meter can be integrated with HomeAssistant system.

Introduction in Home Assistant

integrate energy meter in home assistant

2. Integrate the energy meter of IAMMETER into Home Assistant

Demo show

This is a simple demo of integrating the bi-directional Wi-Fi Energy meter to Home-Assistant system,

URL: username: iammeter password: iammeter

You can remotely switch ON/OFF the three lights and see how the power changes accordingly.

2.1 Install HA software

Install the latest version of Home Assistant (0.107.0.dev20200310 or later version)

install the home assistant

2.2 Configuration

To use the Iammeter sensors in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
  - platform: iammeter
    name: meter

configure energy meter of IAMMETER in Home assistant

Tips: You can find your meter and check its host IP address by double clicking its icon in the network of your PC which is connected to the same home Wi-Fi network Network

2.3 Find your meter in HA

Restart the server management and reconnect to it, then you will see the entity of the meter if the meter is already connected to the Internet.

Find your energy meter in Home assistant

select the sensor of Wifi energy monitor in Home Assistant

2.4 Sensors

Sensors available in the library:

  • Single Phase WiFi Energy Meter (WEM3080)
name Unit Description
wem3080_voltage V Voltage.
wem3080_current A current.
wem3080_power W active power.
wem3080_importenergy kWh Energy consumption from gird
wem3080_exportgrid kWh Energy export to grid
  • Three Phase WiFi Energy Meter (WEM3080T)
name Unit Description
wem3080t_voltage_a V A phase voltage
wem3080t_current_a A A phase current
wem3080t_power_a W A phase active power
wem3080t_importenergy_a kWh A phase import energy
wem3080t_exportgrid_a kWh A phase export energy
wem3080t_frequency_a kWh A phase frequency
wem3080t_pf_a kWh A phase power factor
wem3080t_voltage_b V B phase voltage
wem3080t_current_b A B phase current
wem3080t_power_b W B phase active power
wem3080t_importenergy_b kWh B phase import energy
wem3080t_exportgrid_b kWh B phase export energy
wem3080t_frequency_b kWh B phase frequency
wem3080t_pf_b kWh B phase power factor
wem3080t_voltage_c V C phase voltage
wem3080t_current_c A C phase current
wem3080t_power_c W C phase active power
wem3080t_importenergy_c kWh C phase import energy
wem3080t_exportgrid_c kWh C phase export energy
wem3080t_frequency_c kWh C phase frequency
wem3080t_pf_c kWh C phase power factor

2.5 Edit your lovelace

edit your lovelace to display the power and energy data

add a lovelace card of Home Assistant

Here you can add the card manually

select the card you want to display the energy data

Or you can copy and paste the following code

edit the card property

  - cards:
      - entity: sensor.meter_voltage
        max: 300
        min: 100
        name: voltage
        theme: default
        type: gauge
      - entity: sensor.meter_power
        max: 5000
        min: 0
        name: power
        theme: default
        type: gauge
    type: horizontal-stack
  - entities:
      - entity: sensor.meter_voltage
        name: voltage
      - entity: sensor.meter_power
        name: power
      - entity: sensor.meter_importenergy
        name: importenergy
      - entity: sensor.meter_exportgrid
        name: exportgrid
    type: glance
  - entities:
      - entity: sensor.meter_power
      - entity: sensor.meter_voltage
      - entity: sensor.meter_importenergy
    hours_to_show: 24
    refresh_interval: 0
    type: history-graph
type: vertical-stack

Save and then you will see the meter's data.

energy monitoring view in Home Assistant

3. Monitor your solar pv system with Home Assistant

Please refer to

4. Open source project: Integrate the energy meter of IAMMETER into InfluxDB ,Grafana and Home Assistant

Monitor solar pv system by HomeAssistant,InfluxDB and Grafana

This is an open-source project.Tell you how to monitor your solar PV system by WiFi Energy meter, Home assistant, grafana, and inFluxDB.

monitor your solar pv system by home assistant,IAMMETER,grafana,influxDB

Subscribe topic from IAMMETER by Home Assistant

The Wi-Fi Energy meter of IAMMETER( WEM3080 and WEM3080T) had been an integration of Home Assistant.

IAMMETER Wi-Fi Energy meter in Home Assistant

Besides reading data from the local api of hardware ,you can also subscribe the topic from IAMMETER directly. This document will show how to integrate with Home assistant by subscribing topic from IAMMETER cloud .

Subscribe topic from IAMMETER by Home Assistant

5. Integrate IAMMETER energy meter to third-party platforms other than Home assistant

In addition to IAMMETER-cloud and Home Assistant, you can also configure IAMMETER products to upload data to other open source platforms or customers' own systems ,like below pic.

Integrate IAMMETER energy meter to third-party platforms other than Home assistant


OpenHAB ( is an open source home automation system. IAMMETER Wi-Fi energy meter can be integrated into openHAB system easily, energy meter in Openhab

How to integrate energy meter to Openhab


Nodered is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.

How to add IAMMETER energy meter in nodered, step by step

Upload data to third-party mqtt server

The IAMMETER energy meter can also upload energy data to third-party server by MQTT.

Publish the data of energy meter to third-party mqtt server

Upload data to third-party TCP/TLS/http server

In addition to uploading via mqtt, the energy meter can also upload data to a third-party server via http post, tcp and tls.

Upload energy data to third-party server by HTTP, TLS,TCP


Both single-phase energy meter(WEM3080) and three-phase energy meter(3080T) support local api.

Get the data from energy meter by local API

Develop your own energy monitoring system with IAMMETE products

This is a summary article about how to integrate IAMMETER energy monitor into a third-party system.

How to upload the energy data of the IAMMETER energy meter to a third-party system other than IAMMETER-Cloud.

6. Video tutorial

Video : How to use IAMMETER Energy monitor in Home Assistant

7. About IAMMETER products and system

Application introduction about the IAMMETER system and smart energy meter

Monitor the solar pv system by 3 phase energy meter of IAMMETER

Monitor the energy consumption in IAMMETER