
Deye SUN-SG04LP3
Three-phase hybrid inverter for 48 V batteries with PV, battery, grid and load values and time-of-use control.
The Deye SUN-SG04LP3 is a three-phase hybrid inverter from 5 to 12 kW that combines two PV inputs, a 48 V battery and the grid for homes and small businesses. This Modbus RTU template reads PV, battery, grid and load values, energy counters and faults, and lets you set the work mode, time-of-use programs and battery limits from ModbusCloud.
- Protocol
- Modbus RTU
- Connection
- RS485, 9600 baud
- Registers
- 244, read and write
- Brand
- Deye
- Key readings
- PV power · Battery SOC · Battery power · Grid power · Load power · Daily production · Imported and exported energy · Device state
- Available commands
- Work mode · Time-of-use programs · Battery charge current · Grid export limit
- Compatible models
- SUN-5K-SG04LP3-EU · SUN-6K-SG04LP3-EU · SUN-8K-SG04LP3-EU · SUN-10K-SG04LP3-EU · SUN-12K-SG04LP3-EU · Deye SUN-5K-SG04LP3-EU · Deye SUN-6K-SG04LP3-EU · Deye SUN-8K-SG04LP3-EU · Deye SUN-10K-SG04LP3-EU · Deye SUN-12K-SG04LP3-EU
- Last updated
Registers (244)
244 read, 98 write
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| Device | Read | ||||
| Device Modbus Address | Read | ||||
| Device Protocol Version | Read | ||||
| Device Serial Number | Read | ||||
| Device MCU Board Version | Read | ||||
| Device AFCI Version | Read | ||||
| Device MCU Version | Read | ||||
| Device Control Board Firmware Version Part 1 | Read | ||||
| Device Control Board Firmware Version Part 2 | Read | ||||
| Device Control Board Firmware Version Part 3 | Read | ||||
| Device Communication Board Firmware Version Part 1 | Read | ||||
| Device Communication Board Firmware Version Part 2 | Read | ||||
| Device Communication Board Firmware Version Part 3 | Read | ||||
| Device Rated Power | W | Read | |||
| Device MPPTs | Read | ||||
| Device Self-check | Read | ||||
| Self-check time | s | Read and write | |||
| Date & Time Word 1 | Read and write | ||||
| Date & Time Word 2 | Read and write | ||||
| Date & Time Word 3 | Read and write | ||||
| On/Off Switch | Read and write | ||||
| Battery Control Mode | Read and write | ||||
| Battery Equalization | V | Read and write | |||
| Battery Absorption | V | Read and write | |||
| Battery Float | V | Read and write | |||
| Battery Capacity | Read and write | ||||
| Battery Empty | V | Read and write | |||
| Zero Export power | W | Read and write | |||
| Battery Equalization Cycle | Read and write | ||||
| Battery Equalization Time | h | Read and write | |||
| Battery Temperature Compensation | Read and write | ||||
| Battery Max Charging Current | A | Read and write | |||
| Battery Max Discharging Current | A | Read and write | |||
| Battery Operation Mode | Read and write | ||||
| Battery Wake Up | Read and write | ||||
| Battery Resistance | Read and write | ||||
| Battery Charging efficiency | % | Read and write | |||
| Battery Shutdown SOC | % | Read and write | |||
| Battery Restart SOC | % | Read and write | |||
| Battery Low SOC | % | Read and write | |||
| Battery Shutdown Voltage | V | Read and write | |||
| Battery Restart Voltage | V | Read and write | |||
| Battery Low Voltage | V | Read and write | |||
| Generator Operating Time | h | Read and write | |||
| Generator Cooling Time | h | Read and write | |||
| Battery Generator Charging Start Voltage | V | Read and write | |||
| Battery Generator Charging Start | % | Read and write | |||
| Battery Generator Charging Current | A | Read and write | |||
| Battery Grid Charging Start Voltage | V | Read and write | |||
| Battery Grid Charging Start | % | Read and write | |||
| Battery Grid Charging Current | A | Read and write | |||
| Battery Grid Charging | Read and write | ||||
| Generator | Read and write | ||||
| IO Mode | Read and write | ||||
| SmartLoad Off Voltage | V | Read and write | |||
| SmartLoad Off | % | Read and write | |||
| SmartLoad On Voltage | V | Read and write | |||
| SmartLoad On | % | Read and write | |||
| Grid Voltage | Read and write | ||||
| Generator Min PV Power | W | Read and write | |||
| Charging Signal | Read and write | ||||
| Energy Pattern | Read and write | ||||
| Work Mode | Read and write | ||||
| Export Surplus Power | W | Read and write | |||
| Export Surplus | Read and write | ||||
| Export Asymmetry | Read and write | ||||
| PV Power | W | Read and write | |||
| MPPT multi-point scanning | Read and write | ||||
| Time of Use | Read and write | ||||
| Program 1 Time | Read and write | ||||
| Program 2 Time | Read and write | ||||
| Program 3 Time | Read and write | ||||
| Program 4 Time | Read and write | ||||
| Program 5 Time | Read and write | ||||
| Program 6 Time | Read and write | ||||
| Program 1 Power | W | Read and write | |||
| Program 2 Power | W | Read and write | |||
| Program 3 Power | W | Read and write | |||
| Program 4 Power | W | Read and write | |||
| Program 5 Power | W | Read and write | |||
| Program 6 Power | W | Read and write | |||
| Program 1 Voltage | V | Read and write | |||
| Program 2 Voltage | V | Read and write | |||
| Program 3 Voltage | V | Read and write | |||
| Program 4 Voltage | V | Read and write | |||
| Program 5 Voltage | V | Read and write | |||
| Program 6 Voltage | V | Read and write | |||
| Program 1 SOC | % | Read and write | |||
| Program 2 SOC | % | Read and write | |||
| Program 3 SOC | % | Read and write | |||
| Program 4 SOC | % | Read and write | |||
| Program 5 SOC | % | Read and write | |||
| Program 6 SOC | % | Read and write | |||
| Program 1 Charging | Read and write | ||||
| Program 2 Charging | Read and write | ||||
| Program 3 Charging | Read and write | ||||
| Program 4 Charging | Read and write | ||||
| Program 5 Charging | Read and write | ||||
| Program 6 Charging | Read and write | ||||
| Microinverter Export cut-off | Read and write | ||||
| Off Grid | Read and write | ||||
| Grid reconnection time | s | Read and write | |||
| Grid Frequency Setting | Read and write | ||||
| Grid voltage protection - high | V | Read and write | |||
| Grid voltage protection - low | V | Read and write | |||
| Grid frequency protection - high | Hz | Read and write | |||
| Grid frequency protection - low | Hz | Read and write | |||
| Generator Grid side | Read and write | ||||
| Generator Peak shaving | W | Read and write | |||
| Grid Peak shaving | W | Read and write | |||
| Grid Max Export power | W | Read and write | |||
| Grid Max Import power | W | Read and write | |||
| AC Coupling | Read and write | ||||
| Battery BMS Charging Voltage | V | Read | |||
| Battery BMS Discharging Voltage | V | Read | |||
| Battery BMS Charging Current | A | Read | |||
| Battery BMS Discharging Current | A | Read | |||
| Battery BMS SOC | % | Read | |||
| Battery BMS Voltage | V | Read | |||
| Battery BMS Current | A | Read | |||
| Battery BMS Max Charging Current | A | Read | |||
| Battery BMS Max Discharging Current | A | Read | |||
| Battery Alarm | Read | ||||
| Battery Fault | Read | ||||
| Battery BMS Other Symbol | Read | ||||
| Battery BMS Type | Read and write | ||||
| Today Battery Charge | kWh | Read | |||
| Today Battery Discharge | kWh | Read | |||
| Total Battery Charge | kWh | Read | |||
| Total Battery Discharge | kWh | Read | |||
| Today Energy Import | kWh | Read | |||
| Today Energy Export | kWh | Read | |||
| Total Energy Import | kWh | Read | |||
| Total Energy Export | kWh | Read | |||
| Today Load Consumption | kWh | Read | |||
| Total Load Consumption | kWh | Read | |||
| Generator Energy - today | kWh | Read | |||
| Generator Energy | kWh | Read | |||
| Today Production | kWh | Read | |||
| Total Production | kWh | Read | |||
| DC Temperature | °C | Read | |||
| Temperature | °C | Read | |||
| Device State | Read | ||||
| Power On/Off State | Read | ||||
| Device Relay | Read | ||||
| Device Alarm | Read | ||||
| Device Fault Word 1 | Read | ||||
| Device Fault Word 2 | Read | ||||
| Device Fault Word 3 | Read | ||||
| Device Fault Word 4 | Read | ||||
| Battery Temperature | °C | Read | |||
| Battery Voltage | V | Read | |||
| Battery SOC | % | Read | |||
| Battery Power | W | Read | |||
| Battery Corrected Capacity | Read | ||||
| Grid L1 Voltage | V | Read | |||
| Grid L2 Voltage | V | Read | |||
| Grid L3 Voltage | V | Read | |||
| Internal CT1 Power | W | Read | |||
| Internal CT1 Power High Word | Read | ||||
| Internal CT2 Power | W | Read | |||
| Internal CT2 Power High Word | Read | ||||
| Internal CT3 Power | W | Read | |||
| Internal CT3 Power High Word | Read | ||||
| Internal Power | W | Read | |||
| Internal Power High Word | Read | ||||
| Grid Frequency | Hz | Read | |||
| Internal CT1 Current | A | Read | |||
| Internal CT2 Current | A | Read | |||
| Internal CT3 Current | A | Read | |||
| External CT1 Current | A | Read | |||
| External CT2 Current | A | Read | |||
| External CT3 Current | A | Read | |||
| External CT1 Power | W | Read | |||
| External CT1 Power High Word | Read | ||||
| External CT2 Power | W | Read | |||
| External CT2 Power High Word | Read | ||||
| External CT3 Power | W | Read | |||
| External CT3 Power High Word | Read | ||||
| External Power | W | Read | |||
| External Power High Word | Read | ||||
| Grid Power Factor | % | Read | |||
| Grid L1 Power | W | Read | |||
| Grid L1 Power High Word | Read | ||||
| Grid L2 Power | W | Read | |||
| Grid L2 Power High Word | Read | ||||
| Grid L3 Power | W | Read | |||
| Grid L3 Power High Word | Read | ||||
| Grid Power | W | Read | |||
| Grid Power High Word | Read | ||||
| Output L1 Voltage | V | Read | |||
| Output L2 Voltage | V | Read | |||
| Output L3 Voltage | V | Read | |||
| Output L1 Current | A | Read | |||
| Output L2 Current | A | Read | |||
| Output L3 Current | A | Read | |||
| Output L1 Power | W | Read | |||
| Output L1 Power High Word | Read | ||||
| Output L2 Power | W | Read | |||
| Output L2 Power High Word | Read | ||||
| Output L3 Power | W | Read | |||
| Output L3 Power High Word | Read | ||||
| Output Power | W | Read | |||
| Output Power High Word | Read | ||||
| Output Frequency | Hz | Read | |||
| Load UPS L1 Power | W | Read | |||
| Load UPS L1 Power High Word | Read | ||||
| Load UPS L2 Power | W | Read | |||
| Load UPS L2 Power High Word | Read | ||||
| Load UPS L3 Power | W | Read | |||
| Load UPS L3 Power High Word | Read | ||||
| Load UPS Power | W | Read | |||
| Load UPS Power High Word | Read | ||||
| Load L1 Voltage | V | Read | |||
| Load L2 Voltage | V | Read | |||
| Load L3 Voltage | V | Read | |||
| Load Consumption L1 Power | W | Read | |||
| Load Consumption L1 Power High Word | Read | ||||
| Load Consumption L2 Power | W | Read | |||
| Load Consumption L2 Power High Word | Read | ||||
| Load Consumption L3 Power | W | Read | |||
| Load Consumption L3 Power High Word | Read | ||||
| Load Consumption Power | W | Read | |||
| Load Consumption Power High Word | Read | ||||
| Load Frequency | Hz | Read | |||
| Generator L1 Voltage | V | Read | |||
| Generator L2 Voltage | V | Read | |||
| Generator L3 Voltage | V | Read | |||
| Generator L1 Power | W | Read | |||
| Generator L1 Power High Word | Read | ||||
| Generator L2 Power | W | Read | |||
| Generator L2 Power High Word | Read | ||||
| Generator L3 Power | W | Read | |||
| Generator L3 Power High Word | Read | ||||
| Generator Power | W | Read | |||
| Generator Power High Word | Read | ||||
| PV1 Power | W | Read | |||
| PV2 Power | W | Read | |||
| PV1 Voltage | V | Read | |||
| PV1 Current | A | Read | |||
| PV2 Voltage | V | Read | |||
| PV2 Current | A | Read | |||
| Battery Current | A | Read | |||
| Battery Current 2 | A | 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
- Show PV power, battery SOC, grid power and load per phase of a Deye installation on one dashboard.
- Get an alert when the device state changes to alarm or fault, or when battery SOC drops below a threshold.
- Compare daily production, import, export and battery cycles in the history.
- Change the time-of-use programs remotely, for example to charge the battery from the grid at night.
- Set the grid export limit or zero export power when the grid operator or a contract asks for it.
Installation
Connect the RS485 pair from the Modbus port of the inverter to the RS485 port of the ModbusCloud Gateway, A to A and B to B, with 120 ohm at the end of the bus.
Check the Modbus address of the inverter in its settings; leave it at 1 or give each inverter on the bus its own address.
In ModbusCloud, add a Modbus device with protocol RTU, the inverter address, 9600 baud and 8N1, and import this template.
Check that Device shows LV 3-Phase Hybrid Inverter and that Battery SOC matches the display.
Things to watch for
The inverter does not answer. What should I check?
Make sure the cable is on the Modbus port and not on the BMS port, check address 1 and 9600 baud, and swap A and B if nothing comes back. A Wi-Fi logger that also polls the RS485 port can cause collisions.
Why do grid and load power jump to large negative values above about 32 kW?
These powers are 16-bit values with a separate high word register. Below 32767 W the low register alone is correct; for larger systems combine it with the matching High Word register.
The temperatures show about 100 degrees too much. Why?
The inverter reports DC, AC and battery temperature with an offset of 100 degrees. Subtract 100 from the value to get the real temperature.
Can I change the work mode and time-of-use programs from ModbusCloud?
Yes, the settings, time-of-use programs and battery limits are writable. Writing is off per gateway by default; request it for the gateway in the portal. Read a setting first and change one value at a time, because the inverter applies it immediately.
Want to see how it works?










