Home > Resources > Documents > Energy monitor(three phase energy meter Wi-Fi,single-phase energy meter Wi-Fi) in Home Assistant
premise:Which type of electrical meter best fits your needs?
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.
Summary:how to use IAMMETER`s Wi-Fi energy meter in the Home assistant
If you want to integrate the Wi-Fi energy meter (IAMMETER) into Home assistant, there are three options now.
No. | Products | Description |
---|---|---|
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 configuration.yaml
file:
# 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:
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 |
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 |
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.
Blog: How to use IAMMETER`s energy meter in Home assistant
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
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
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.
How to Utilize IAMMETER's Product on a 3rd Party Server or Open Source Platform
The "hidden" features in the firmware of the Wi-Fi energy meter
OpenHAB (https://www.openhab.org/) 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
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
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
This is a summary article about how to integrate IAMMETER energy monitor into a third-party system.
Video : How to use IAMMETER Energy monitor in Home Assistant
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
Monitor the solar pv system by 3 phase energy meter of IAMMETER
Monitor the energy consumption in IAMMETER
We provide an IAMMETER-simulater that will help the user to evaluate IAMMETER`s product before ordering it. It can simulate the solar PV output, loads profile, and an EV charger with a specific battery capacity. It also supports the same API as WEM3080T so that you can integrate it into the Home assistant with the same method as WEM3080T. After you confirm that this meets your requirements, you can purchase real hardware. The replacement (IAMMETER-Simulator->real energy meter)is also easy, only need to do the following two steps. 1 install the energy meter in your system. 2 replace the IP in the HA from the IAMMETER-simulator to your real hardware.
Three Phase Wi-Fi Energy Meter (WEM3080T)
Single Phase Wi-Fi Energy Meter (WEM3080)
Three Phase Wi-Fi Energy Meter (WEM3046T)
Three Phase Wi-Fi Energy Meter (WEM3050T)