All devices

Huawei · Solar inverter

SmartAssistant EMMA-A02 Modbus register map

Default configuration

Protocol
Modbus TCP
Port
502
Unit ID
0
Addressing
0-based
Byte order
Big endian
Word order
High word first

Register map

AddressCountNameTypeUnitScaleAccess
303122
Total battery discharge energy
UInt32kWh0.01R
303542
PV active power
Int32W1R
303602
Battery power
Signed. The cited template multiplies it by -1 to reach its charging-positive convention, so a positive register value means discharging. Read-only on the EMMA.
Int32W1R
303681
Battery state of charge
UInt16%0.01R
316392
Grid phase A voltage
UInt32V0.01R
316412
Grid phase B voltage
UInt32V0.01R
316432
Grid phase C voltage
UInt32V0.01R
316512
Grid phase A current
Int32A0.1R
316532
Grid phase B current
Int32A0.1R
316552
Grid phase C current
Int32A0.1R
316572
Active power of the built-in energy sensor
Grid power measured by the EMMA's own energy sensor; signed.
Int32W1R
316652
Grid phase A active power
Int32W1R
316672
Grid phase B active power
Int32W1R
316692
Grid phase C active power
Int32W1R

Read this device live with Modbus Connect, free for Windows, macOS and Linux

Related guides

Notes

Modbus TCP is served by the EMMA-A02 (Huawei's residential SmartAssistant / energy management assistant) at unit ID 0 on port 502; it has to be switched on in the FusionSolar app with the installer account (Commission device -> Communication settings -> Modbus TCP). The EMMA accepts a single Modbus TCP client at a time and resets further connections. Its battery readings are read-only; the template's own requirement text points to the SUN2000 Hybrid map (unit ID of the inverter, forwarded by the EMMA) for active battery control. Source: the evcc meter template https://raw.githubusercontent.com/evcc-io/evcc/master/templates/definition/meter/huawei-emma.yaml, used as a secondary source; no Huawei register document was retrieved. The grid import/export energy counters (31687 / 31679) and the PV E-Total (30348) are 64-bit counters, and this app has no 64-bit integer type, so they are absent rather than truncated.