Enable MQTT discovery in Home Assistant with the latest IAMMETER firmware (i.76.058.8)

This article explains how to enable MQTT discovery in Home Assistant with the latest IAMMETER firmware (i.76.058.8).

1. Set up the Meter

Access the meter’s local IP and go to the "Settings" tab. Configure the following parameters:

  • Run Mode: Select "mqtt".

  • Address: Enter the MQTT broker address used by Home Assistant.

  • Username/Password: Enter the MQTT broker's username and password used by Home Assistant.

  • HA MQTT Discovery: Enable the MQTT discovery feature for Home Assistant.

  • Upload Inverter: Set the MQTT publish upload interval (default is 60 seconds). It is recommended to set this value to at least 10 seconds.

After completing the settings, click "Save" to save the configuration.

enable home assistant mqtt discovery in Home assistant

2. Set up Home Assistant

Go to Settings -> Devices & Services.

Home Assistant: Settings-/>"Devices& services"

Under Configured, click MQTT.

Home assistant: Configured-/>MQTT

You will see that the meter has been automatically discovered by Home Assistant through MQTT discovery.

The energy is discovered by the MQTT discovery in Home Assistant

Click on “Device” to view all the sensors associated with the meter. You can display and use these sensor data in Home Assistant according to your needs.

image-20250113102936682

Comparison of "MQTT Discovery" Mode with Other Integration Modes

In addition to "MQTT discovery," IAMMETER meters also support the following Home Assistant integration modes: "core integration," "modbus/tcp," "mqtt," and "HACS."

For more details, refer to 7.9 IAMMETER@Home Assistant.

A brief comparison of the different methods is as follows:

 ModeInterfaceIAMMETER-Cloud available
1core integrationHTTP GETYes
2HACSHTTP GETYes
3modbus/tcpModbus/TCPYes
4MQTTMQTTNo
5MQTT discoveryMQTTNo
  • If you need to use both Home Assistant and IAMMETER-Cloud simultaneously, choose one of the first three modes (these are poll-based modes where HA fetches data from the meter).

  • Core Integration was the earliest supported method in Home Assistant. However, due to difficulties integrating new code into HA, it has not been upgraded, and it is not recommended for use.

  • If you require fast data updates, it is recommended to use the modbus/tcp mode, which can achieve update intervals as short as 1 second.

Thread Status
0
39
1
0
0

Sort replies by:
Looks like you are new here. Register for free, learn and contribute.