SolarEdge SolarEdge Inverter Modbus TCP template

SolarEdge Inverter

Monitors SolarEdge inverter, grid meter, and battery data via Modbus TCP.

This template connects a SolarEdge inverter to ModbusCloud via Modbus TCP. It reads DC power, AC power, exported and imported energy, and battery state of energy for up to two batteries. A connected grid meter is also supported.

Protocol
Modbus TCP
Connection
Ethernet, Modbus TCP
Registers
12, read only
Key readings
DC Power (RAW + SF) · AC Power (RAW + SF) · Exported Energy · Imported Energy · Battery 1/2 State of Energy · Battery 1/2 Instantaneous Power
Last updated

Registers (12)

12 read, 0 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
I_DC_Power_RAWWRead
I_DC_Power_SFxRead
I_StatusRead
M_AC_Power_RAWWRead
M_AC_Power_SFRead
M_Exported_Energy_RAWWhRead
M_Imported_Energy_RAWWhRead
M_Energy_SFRead
B1_State_of_Energy%Read
B1_Instantaneous_PowerkWRead
B2_State_of_Energy%Read
B2_Instantaneus_PowerkWRead

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.

Number of installations (optional)

Use cases

  • Monitor real-time DC and AC power production from a SolarEdge inverter on a live cloud dashboard.
  • Track exported and imported energy over time to verify grid feed-in and consumption patterns.
  • Create an alert when battery state of energy drops below a defined threshold during peak hours.
  • Generate monthly energy reports for residential or commercial PV customers showing production and self-consumption.
  • Compare instantaneous power of two batteries to detect imbalanced charge or discharge behaviour.
  • Verify grid meter readings remotely to support billing reconciliation or feed-in tariff compliance.

Installation

  1. Enable Modbus TCP on the SolarEdge inverter via its SetApp or LCD menu, and note the IP address assigned on the local network.

  2. Ensure the Modbus TCP port (default 1502 on SolarEdge) is accessible from the ModbusCloud gateway on the same LAN or VLAN.

  3. Connect your ModbusCloud Gateway to the local network and power it on.

  4. In the ModbusCloud portal, add a new device and select the SolarEdge Inverter template from the library.

  5. Enter the inverter IP address and Modbus TCP port in the gateway configuration, then confirm the unit ID matches the inverter setting.

  6. After importing the template, set up formula blocks to convert RAW and SF register pairs into proper floating point values as described in the template notes.

Things to watch for

Why do my DC power or AC power readings look incorrect or extremely large?

These values are provided as a raw integer plus a separate scaling factor register. You must apply a formula that calculates RAW multiplied by 10 to the power of SF. Without this conversion the readings will be meaningless raw integers.

What TCP port does SolarEdge use for Modbus?

SolarEdge inverters typically use port 1502 for Modbus TCP, not the standard port 502. Verify this in the inverter network settings via SetApp or the LCD configuration menu.

The grid meter AC power scaling factor returns unexpected values. What should I check?

Ensure you are using template version 3.0.2 or later. Earlier versions defined M_AC_Power_SF as an unsigned 16-bit integer instead of a signed 16-bit integer, which caused incorrect scaling.

Can I read two batteries even if only one is installed?

Yes, but the registers for the second battery will return zero or default values. You can safely ignore battery 2 data points in your dashboard if only one battery is connected.

Want to see how it works?

Electrician working in an open distribution board