This article will show you how to integrate the Wi-Fi energy meter (both single phase and 3 phase) into the home assistant, by the core integration. If you are more interested in other ways (Modbus/TCP, MQTT, or HACS), please refer to this article first.
If you want to integrate the Wi-Fi energy meter (IAMMETER) into Home assistant, there are three options now.
|1||WEM3080T : three phase wifi energy meter|
|2||WEM3080 : single phase wifi energy meter|
Home Assistant (https://www.home-assistant.io/) is an open source home automation system.
IAMMETER WiFi energy meter can be integrated with Home Assistant system.
Introduction in Home Assistant https://www.home-assistant.io/integrations/iammeter/
This is a simple demo of integrating the bi-directional Wi-Fi Energy meter to Home-Assistant system,
URL: http://ha.iammeter.com:18123/ username: iammeter password: iammeter
You can remotely switch ON/OFF the three lights and see how the power changes accordingly.
Install the latest version of Home Assistant (0.107.0.dev20200310 or later version)
To use the Iammeter sensors in your installation, add the following to your
# Example configuration.yaml entry sensor: - platform: iammeter host: 192.168.1.6 name: meter
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
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.
Sensors available in the library:
|wem3080_importenergy||kWh||Energy consumption from gird|
|wem3080_exportgrid||kWh||Energy export to grid|
|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|
Here you can add the card manually
Or you can copy and paste the following code
cards: - 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.
Compared with the IAMMETER integration in the home assistant, you can also try to use the Modbus/TCP sensor in the home assistant to request the data of the IAMMETER`s energy meter.
The most advantage of the Modbus/TCP sensor in Home Assistant is it can request the data faster, up to 1s/s(sample/second). Because of the faster sample rate, it can be used as a real-time sensor feedback value in a control loop.
This is an open-source project.Tell you how to monitor your solar PV system by WiFi Energy meter, Home assistant, grafana, and inFluxDB.
The Wi-Fi Energy meter of IAMMETER( WEM3080 and WEM3080T) had been an integration of 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 .
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.
Nodered is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.
The IAMMETER energy meter can also upload energy data to third-party server by MQTT.
In addition to uploading via mqtt, the energy meter can also upload data to a third-party server via http post, tcp and tls.
Both single-phase energy meter(WEM3080) and three-phase energy meter(3080T) support local api.
This is a summary article about how to integrate IAMMETER energy monitor into a third-party system.
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