Request the Wi-Fi energy meter from the Modbus TCP sensor in Home Assistant
1 The dashboard effect in Home Assistant
Keywords: Single-phase energy Meter, Modbus TCP, Home Assistant, Wi-Fi energy meter, 3-phase energy meter
Request the data of the energy meter in Home Assistant(Modbus/TCP)
1 The dashboard effect in Home assistant
2 Setting in Home Assistant
First make sure your firmware version is at least 1.75.80. latest Firmware (imeter.club)
Configuration IamMeter in Home Assistant Register mapping,
Single phase WEM3080: modbusTCP in Home Assistant
Three phase WEM3080T: modbusTCP in Home Assistant
To use this sensor in your installation, add the following to your
configuration.yaml
file(for example WEM3080):- Remember to add 'scan_interval: 1' after '- name: Modbus_Power' to make homeassistant get power quickly
# Example configuration.yaml entry for multiple TCP connections
modbus:
- name: hub11
type: tcp
host: 192.168.1.6
port: 502
sensors:
- name: Modbus_Voltage
slave: 1
address: 0
input_type: holding
unit_of_measurement: V
device_class: voltage
state_class: measurement
count: 1
scale: 0.01
offset: 0
precision: 1
data_type: uint16
- name: Modbus_Current
slave: 1
address: 1
input_type: holding
unit_of_measurement: A
device_class: current
state_class: measurement
count: 1
scale: 0.01
offset: 0
precision: 1
data_type: uint16
- name: Modbus_Power
slave: 1
address: 2
input_type: holding
unit_of_measurement: W
device_class: power
state_class: measurement
count: 2
scale: 1
offset: 0
precision: 0
data_type: int32
scan_interval: 1
- name: Modbus_ImportEnergy
slave: 1
address: 4
input_type: holding
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
count: 2
scale: 0.0003125
offset: 0
precision: 3
data_type: uint32
- name: Modbus_ExportGrid
slave: 1
address: 6
input_type: holding
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
count: 2
scale: 0.0003125
offset: 0
precision: 3
data_type: uint32
add lovelace ui:
3 Video tutorial
Integrate a three-phase energy meter into Home assistant by Modbus TCP (over Wi-Fi) - YouTube