Sorry, your browser does not support JavaScript!

Integrate the Wi-Fi energy meter into Home Assistant with MQTT(with username and password)

Integrate the Wi-Fi energy meter into Home Assistant with MQTT(with username and password)

Premise

The IAMMETER products (both 3 phase energy meter WEM3080T and single-phase energy meter WEM3080) have just supported Set the username and password in MQTT communication.

Besides using the IAMMETER@Home Assistant integration and modbus/tcp sensor in Home Assistant, you have the third option now, by MQTT.

IAMMETER`s product can be integrated into Home assistant by four ways now(core integration, Modbus/TCP, MQTT and HACS).

For more details ,please refer to https://www.iammeter.com/docs/summary-home-assistant

This tutorial is about how to integrate the IAMMETER`s Wi-Fi energy meter into the Home assistant by MQTT (with username and password).

Home assistant dashboard

Video tutorial :https://www.youtube.com/watch?v=e8VYQqTReIo

Welcome to discuss this topic here Set the usr/pwd of MQTT in the Wi-Fi energy meter

How to do it

Set the MQTT parameters (username and password) in the Wi-Fi Energy meter of IAMMETER

Set the username and password of your MQTT broker into Wi-Fi energy meter.

Please refer to:

Publish the data of energy monitor to your MQTT server (iammeter.com)

Configure the MQTT parameter of the Wi-Fi energy meter

Device configuration, add your mqtt broker ip

Configure the MQTT parameter of the Wi-Fi energy meter

Configure the Yaml file in Home Assistant

  1. Open home assistant mqtt config: mqtt sensor: mqtt_iammeter.yamlYaml file,mqtt_IAMMETER,home assistant

  2. check configuration & restart

check configuration, restart home assistant

Reference

Summary: How to use IAMMETER`s energy meter in Home assistant

IAMMETER energy meter support Modbus TCP

Request the power value of the Wi-Fi energy meter (IAMMETER) from the modbus tcp sensor(Home assistant) in 1s/s (sample/second) and use this reading as the feedback value to control the SONOFF relay operate in real-time

Use the 3 phase energy meter the way you prefer

Top