Energy monitor in HomeAssistant

1. Introduction

2. Integrate the energy meter of IAMMETER into Home Assistant

Demo show

2.1 Install HA software

2.2 Configuration

2.3 Find your meter in HA

2.4 Sensors

2.5 Edit your lovelace

3. Monitor your solar pv system with Home Assistant

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

Subscribe topic from IAMMETER by Home Assistant

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

OpenHab

NodeRED

Upload data to third-party mqtt server

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

REST API

Develop your own energy monitoring system with IAMMETE products

6. Video tutorial

7. About IAMMETER products and 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

 

Application introduction about the IAMMETER system and smart energy meter

 

Use the 3 phase energy meter the way you like

 

1. Introduction

 

HomeAssistant (https://www.home-assistant.io/) is an open source home automation system.

 

IAMMETER WiFi energy meter can be integrated with HomeAssistant system.

 

Introduction in Home Assistant https://www.home-assistant.io/integrations/iammeter/

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: 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.

 

2.1 Install HA software

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

2.2 Configuration

 

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

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

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.

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

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.

3. Monitor your solar pv system with Home Assistant

Please refer to https://community.home-assistant.io/t/monitor-your-solar-pv-system-in-home-assistant-energy-dashboard-vs-energy-management/342710

 

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.

OpenHab

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

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

 

REST API

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

 

Wi-Fi Energy Meter

Single Phase Wi-Fi Energy Meter

Monitor two-way energy by one meter with bi-directional function

DIN-Rail mounting fits neatly in the meter box

Open API for integration with your own server

CE, RoHs, RCM Complied

Applied in single phase system

 

Three Phase Wi-Fi Energy Meter

Monitor two-way energy by one meter with bi-directional function

DIN-Rail mounting fits neatly in the meter box

CE, RoHs, RCM Complied

Applied in three phase or single phase (as 3 single phase meters) system,or split-phase system