
Huawei EMMA (pv)
The Huawei EMMA (Energy Management Assistant) is a DIN-rail smart energy controller that connects to Huawei SUN2000 inverters via RS485 and exposes plant data over Modbus TCP. This template reads the two core PV registers: real-time PV output power and cumulative inverter total energy yield. With these values in ModbusCloud, installers get a live and historical view of solar generation without deploying a separate data logger. The Huawei EMMA (pv) template requires Modbus TCP to be enabled under the device's communication settings before the ModbusCloud Gateway can poll it.
- Protocol
- Modbus TCP
- Connection
- Ethernet, Modbus TCP
- Registers
- 2, read only
- Brand
- Huawei
- Last updated
Registers (2)
2 read, 0 write
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| power | W | Read | |||
| energy | Wh | Read |
Loading registers…
Send your device list
If a device is not in the library yet, we build the template for free as soon as we have the register data.
Use cases
- Monitor real-time PV output power to confirm the inverter is producing at expected levels during daylight hours.
- Track cumulative inverter total energy yield over time to verify system performance against design estimates.
- Alert on sudden drops in PV output power during clear-sky periods to detect inverter faults or shading issues early.
- Compare daily energy yield trends across multiple Huawei EMMA sites from a single ModbusCloud multi-site overview.
- Report monthly PV generation totals from the energy register to support feed-in tariff or green energy documentation.
Installation
Enable Modbus TCP on the EMMA: open the FusionSolar app with installer credentials, navigate to Services, then Commission the Device, then Communication Settings, then Modbus TCP, and set it to enabled with the client IP of the ModbusCloud Gateway.
Connect the ModbusCloud Gateway to the same LAN as the EMMA, either via the EMMA's FE (Ethernet) port or through the local router; confirm the EMMA is reachable on port 502.
In the ModbusCloud portal, add the EMMA's IP address as a new device, import the Huawei EMMA (pv) template, and assign the correct Modbus unit ID matching the EMMA's logical device address.
Verify the connection by checking the live value of the power register (address 30354) in the portal; a non-zero reading during daylight confirms polling is working correctly.
Things to watch for
Port 502 is closed even after enabling Modbus TCP. Why?
The EMMA requires the exact client IP address of the polling device to be entered in the Modbus TCP settings in the FusionSolar app. If the field is left blank or contains a wrong IP, the EMMA will refuse connections. Re-enter the ModbusCloud Gateway's IP, save, and retry. Some firmware versions also require a device restart before the port opens.
The power register reads zero at midday. What should I check?
Confirm the inverter is powered on and producing. The EMMA exposes PV output power via the inverter it manages over RS485; if the RS485 link between the EMMA and the SUN2000 inverter is broken or the inverter is in standby, the register will return zero. Check the RS485 wiring and the inverter status in the FusionSolar app.
Energy values look unexpectedly large or small. Is there a scaling issue?
Yes. The official SmartHEMS Modbus definition specifies a gain of 100 for the energy register (address 30344), meaning the raw register value is in units of 0.01 kWh. Ensure your ModbusCloud template applies this scaling. If the portal shows raw counts instead of kWh, check that the template's scaling factor is correctly applied.
Only one client can connect at a time. How do I avoid conflicts?
The Huawei EMMA Modbus TCP interface typically accepts only one concurrent client connection. If another system (such as a home automation platform) is already polling the EMMA, the ModbusCloud Gateway will be refused or will receive no response. Disable or schedule around other polling clients, or configure a single aggregator to forward data.
Want to see how it works?











