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
| Address | Count | Name | Type | Unit | Scale | Access |
|---|---|---|---|---|---|---|
| 30312 | 2 | Total battery discharge energy | UInt32 | kWh | 0.01 | R |
| 30354 | 2 | PV active power | Int32 | W | 1 | R |
| 30360 | 2 | 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. | Int32 | W | 1 | R |
| 30368 | 1 | Battery state of charge | UInt16 | % | 0.01 | R |
| 31639 | 2 | Grid phase A voltage | UInt32 | V | 0.01 | R |
| 31641 | 2 | Grid phase B voltage | UInt32 | V | 0.01 | R |
| 31643 | 2 | Grid phase C voltage | UInt32 | V | 0.01 | R |
| 31651 | 2 | Grid phase A current | Int32 | A | 0.1 | R |
| 31653 | 2 | Grid phase B current | Int32 | A | 0.1 | R |
| 31655 | 2 | Grid phase C current | Int32 | A | 0.1 | R |
| 31657 | 2 | Active power of the built-in energy sensor Grid power measured by the EMMA's own energy sensor; signed. | Int32 | W | 1 | R |
| 31665 | 2 | Grid phase A active power | Int32 | W | 1 | R |
| 31667 | 2 | Grid phase B active power | Int32 | W | 1 | R |
| 31669 | 2 | Grid phase C active power | Int32 | W | 1 | R |
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.