Monitors HUAWEI SUN2000 inverter, LUNA2000 battery, and Smart Power Sensor via Modbus TCP.
Overview
This ModbusCloud template reads live power and battery data from HUAWEI SUN2000 residential and commercial inverters, optional LUNA2000 battery storage, and Smart Power Sensor meters over Modbus TCP. Connection is made through the SmartDongle WiFi/FE, which can host up to ten inverters on separate Modbus addresses for multi-string and cascaded installations.
Key readings
Smart Power Sensor Power
LUNA2000 State of Charge
LUNA2000 Battery Power
DC Power
Use cases
Show PV production, battery state of charge, and grid import or export on a single customer dashboard with minute level resolution.
Send an email or push alert when the LUNA2000 state of charge drops below a threshold overnight, so you can diagnose standby drain.
Log DC power per MPPT input for performance comparisons between strings, especially useful for east-west roof setups.
Monitor Smart Power Sensor readings to verify that a HUAWEI installation is exporting to the grid correctly under net metering rules.
Aggregate multiple cascaded inverters on one dongle into a portfolio view for installers managing several sites.
Installation
1Update the SUN2000 inverter to firmware SPC123 or newer. On SPC124+, open the FusionSolar app and enable Modbus TCP on the dongle settings page.
2Connect the SmartDongle WiFi/FE to the same local network as your ModbusCloud gateway. Note its IP address or configure a DHCP reservation.
3In ModbusCloud, add a new device with protocol Modbus TCP, pointing at the dongle IP on port 502 and slave ID 1 (inverter 1).
4Import the HUAWEI SUN2000 template into the device. Readings appear within 30 seconds.
5For multi-inverter setups, repeat for slave IDs 2, 3, ... up to the number of inverters behind the dongle.
Things to watch for
Registers (4)
4 read / 0 write
Name
Address
Function
Type
Unit
Access
SmartPowerSensor Power
37113
FC03
int32
kW
R
Luna SOC
37004
FC03
uint16
%
R
Luna Power
37001
FC03
int32
kW
R
DC Power
32064
FC03
int32
kW
R
Use directly in ModbusCloud
Import this template into your own portal with one click, or get in touch for installation support.