Every device. One tool. Pay once. Modbus · BACnet · Siemens S7 · one-time licence · also from us: BACManager ↗

SolarEdge Modbus TCP: Port 1502, the SunSpec Register Map and the Meter at 40188

SolarEdge inverters publish their data over Modbus in the SunSpec layout: a "SunS" marker at 40000, the inverter model at 40069, every value next to a scale factor, and the energy meter further down the chain. Modbus TCP is off until you enable it, listens on port 1502 rather than 502 on current inverters, and accepts one client at a time. This guide covers the switch, the registers from SolarEdge's own SunSpec technical note, a worked request, the meter block and the mistakes that cost an afternoon. For SunSpec in general, with SMA and Fronius, see SunSpec Modbus.

ModbusManager Pro dashboard for a SolarEdge SE10K over Modbus TCP: energy flow with 7.95 kW solar, 6.75 kW export to the grid and 1.20 kW house load; operating state MPPT (producing), efficiency 97.5 %, AC power 7.95 kW, DC power 8.15 kW, DC voltage 748.6 V, line voltage AB 400.2 V, frequency 50.00 Hz, heat sink 45.8 °C, lifetime energy 18343 kWh, exported 9877 kWh, imported 4322 kWh, and a trend of DC, AC and meter power
The free workspace below on a simulated SolarEdge inverter with an export meter — model 103 at 40069, meter model 203 at 40188, scale factors applied by script.

Enable Modbus TCP

InverterWhereDefault port
Configured with the SolarEdge Go app (formerly SetApp)Commissioning › Site Communication › Modbus TCP › Enable1502
Older inverter / Commercial Gateway with an LCDCommunication › LAN Conf › Modbus TCP502

How the Map Is Laid Out

Holding registers, function code 03. SolarEdge lists two address columns: base 0 (the protocol address you put in the request) and base 1 (the "PLC" register number, one higher). This page uses base 0 — the wire address. Data is big-endian; 32-bit values come high word first. A read takes well under 0.5 s.

AddressBlockID / length
40000–40001"SunS" marker 0x5375 0x6E53—
40002Common model: manufacturer, model, version, serial, device address (40068)1 / 65
40069Inverter model: 101 single-phase, 102 split-phase, 103 three-phase101–103 / 50
40121Meter 1: its own common block (manufacturer, model, option = role at 40155)1 / 65
40188Meter 1 model: 201 single, 202 split, 203 wye, 204 delta201–204 / 105
40295 / 40469Meter 2 / meter 3, same layout—

The common model is 65 registers long on SolarEdge (66 in the SunSpec specification), so the inverter model starts at 40069, not 40070. On three-phase Synergy inverters the multiple-MPPT model 160 sits at 40121 and every meter moves up by 50 (two units) or 70 (three units). Walking the chain — ID and length at each step, next block at address + 2 + length — finds all of it on any inverter.

Inverter Registers (Model 101 / 102 / 103)

FC03, unit 1. Each value is raw × 10SF with the scale factor from the register named in the last column.

AddressNameTypeUnitScale factor
40069C_SunSpec_DID — 101 / 102 / 103uint16——
40070Length = 50uint16——
40071I_AC_Current — totaluint16A40075
40072–40074I_AC_Current phase A / B / Cuint16A40075
40076–40078I_AC_Voltage AB / BC / CAuint16V40082
40079–40081I_AC_Voltage AN / BN / CN — split-phase grids onlyuint16V40082
40083I_AC_Powerint16W40084
40085I_AC_Frequencyuint16Hz40086
40087I_AC_VA — apparent powerint16VA40088
40089I_AC_VAR — reactive powerint16var40090
40091I_AC_PF — power factorint16%40092
40093–40094I_AC_Energy_WH — lifetime productionacc32Wh40095
40096I_DC_Currentuint16A40097
40098I_DC_Voltageuint16V40099
40100I_DC_Powerint16W40101
40103I_Temp_Sink — heat sinkint16°C40106
40107I_Status — operating stateuint16——
40108I_Status_Vendor — vendor state / error codeuint16——
40119–40120I_Status_Vendor4 — high 16 bits controller type, low 16 bits error code (added in note v3.1)uint32——

SolarEdge does not list the cabinet, transformer and other temperatures (40102, 40104, 40105) or the event registers 40109–40118: they read the SunSpec "not implemented" values (0x8000 for int16, 0xFFFF for uint16). On a three-phase grid the phase-to-neutral voltages read 0xFFFF — use AB / BC / CA. The note lists the energy scale factor 40095 as uint16; SunSpec defines all scale factors as signed, so read it as int16.

Operating state (40107)

ValueStateValueState
1Off5Throttled (production curtailed)
2Sleeping — night mode6Shutting down
3Starting — grid monitoring / wake-up7Fault
4MPPT — on and producing8Standby — maintenance / setup

Scale Factors

SunSpec sends integers. The scale factor is a signed power of ten in its own register:

value = raw × 10SF      // SolarEdge's example: 2071 with SF -2 = 20.71, with SF 2 = 207100

A Worked Request (Modbus TCP Frame)

Modbus TCP puts a 7-byte MBAP header in front of the request — transaction ID, protocol ID 0, length of what follows, unit ID — and has no CRC. Reading AC power and its scale factor, 2 registers from 40083 (0x9C93), unit 1:

BytesMeaning
Request00 02 00 00 00 06 01 03 9C 93 00 02transaction 2, protocol 0, length 6, unit 1, FC03, address 40083, quantity 2
Response00 02 00 00 00 07 01 03 04 1F 0E 00 00length 7, unit 1, FC03, 4 bytes: 0x1F0E = 7950, SF 0 → 7950 W

Two more from the same inverter:

SolarEdge's appendix describes 32-bit values in little-endian word order — that note belongs to its power-control registers (its example reads 0xF324), not to the SunSpec map from 40000, which the same document states is big-endian, most significant word first.

The Meter Behind the Inverter

A SolarEdge energy meter connected to the inverter is readable through the inverter, on the same unit ID. Meter 1's own common block starts at 40121, so its meter model starts at 40188; meters 2 and 3 start at 40295 and 40469 (meter models at 40362 and 40536). Only enabled meters appear, and they move up: with meters 1 and 3 enabled, meter 3 is read as the first. The meter's role is the string at 40155 (for meter 1) — Export+Import, Production or Consumption.

Meter 1NameTypeUnitScale factor
40188C_SunSpec_DID — 201 / 202 / 203 / 204uint16——
40190–40193AC current total, phase A / B / Cint16A40194
40195–40198Voltage L-N average, AN / BN / CNint16V40203
40204Frequencyint16Hz40205
40206M_AC_Power — total real powerint16W40210
40207–40209Real power phase A / B / Cint16W40210
40221Power factor, averageint16%40225
40226–40227M_Exported — total exported energyuint32Wh40242
40234–40235M_Imported — total imported energyuint32Wh40242
40293–40294M_Events — flagsuint32——

The SolarEdge meter gives no line-to-line voltages (40199–40202). For the sign of 40206 SolarEdge's note says only that power signs follow IEEE 1459-2000; it does not say in words which sign is export. Check it on site: at midday, with production above consumption, the export counter 40226 must be rising — compare that with the sign of 40206. The workspace takes positive as export; if the energy-flow arrow points the wrong way on your meter, flip the grid sign in the element's properties.

Common Mistakes

SolarEdge Modbus and Home Assistant

Home Assistant's built-in SolarEdge integration reads SolarEdge's cloud monitoring service, not Modbus. Local Modbus TCP integrations exist as community add-ons, and they meet the same limit as everything else: one Modbus client per inverter. If ModbusManager, a home-battery controller or a second integration also wants the data, only one of them gets it. The way around it is a single client that shares: ModbusManager Pro can be that client — it reads the inverter and the meter, and publishes the values to an MQTT broker with Home Assistant discovery, so Home Assistant gets its sensors without opening a second connection. See Modbus to MQTT, and SUN2000 → Home Assistant for the same setup with a Huawei inverter.

Step-by-Step: Reading a SolarEdge with ModbusManager

  1. Connect the inverter's LAN port to your network and enable Modbus TCP (Site Communication › Modbus TCP). Note the port.
  2. Close any other Modbus client that may hold the connection.
  3. In ModbusManager choose Modbus TCP, the inverter's IP, port 1502 (502 on LCD models), unit 1.
  4. Read FC03 from 40000, quantity 4: you should see "SunS", 1, 65. Then 40069, quantity 52: the inverter model.
  5. Open the workspace below for the scale factors applied, the meter and the energy flow.

Download a Ready-Made Workspace

Read-only. Nothing is written to the inverter. Set for a three-phase inverter with a meter as meter 1 (port 1502, unit 1); without a meter, disable the two meter polls. Meter power is taken as positive = export (see above). Tags, script and dashboard are ModbusManager Pro features; Standard opens the poll windows only.

SolarEdge_Inverter.json

SolarEdge inverter + meter workspace (Modbus TCP, SunSpec). Open via Workspace › Open in ModbusManager Pro, or from the in-app Device library.

Download Workspace

Try it with ModbusManager Pro

One Modbus client for the inverter, the meter and the rest of the site, historian for production and export, and MQTT to Home Assistant. Free 14-day trial. No credit card. Windows 10/11.

Download Pro Trial

SunSpec across brands: SMA, Fronius and SolarEdge. Other inverters: Sungrow, Huawei SUN2000. Scripts that apply scale factors: Tags and Structured Text. All guides: Modbus device guides.

Frequently Asked Questions

Which port does SolarEdge use for Modbus TCP?

1502 by default on inverters set up with SolarEdge Go (SetApp), 502 on older inverters with an LCD. Modbus TCP is off until you enable it under Site Communication › Modbus TCP, works over the LAN port only, and the inverter answers as unit ID 1.

Where is AC power in the SolarEdge Modbus register map?

At protocol address 40083, int16 in watts; its scale factor is the next register, 40084. The inverter model starts at 40069, and lifetime energy is the acc32 at 40093–40094 with its scale factor at 40095. SolarEdge's base-1 column lists each of these one higher.

Why are my SolarEdge Modbus values 10 or 100 times off?

The scale factor was not applied, or was read once and cached. Every SunSpec value is raw × 10SF, with the SF in its own register; read both in the same request and apply it every time.

Where are the SolarEdge meter registers?

Meter 1's common block starts at 40121 and its meter model at 40188: total power at 40206 (scale factor 40210), exported energy at 40226 and imported at 40234 (scale factor 40242). Meters 2 and 3 start at 40295 and 40469; only enabled meters appear, and Synergy inverters shift the meters by 50 or 70.

Can Home Assistant and another program read a SolarEdge over Modbus at the same time?

No. The inverter accepts one Modbus TCP connection, and a second client is locked out while the first is connected. Use one client that shares the data — for example ModbusManager Pro publishing to MQTT with Home Assistant discovery.

Sources

SolarEdge, Technical Note – SolarEdge Inverters – SunSpec Logging, Version 3.3 (October 2026), knowledge-center.solaredge.com; SunSpec Alliance model definitions (models 1, 103, 203), github.com/sunspec/models. Tested against a simulator built from the technical note, not against a physical inverter. The meter's power sign is not stated in words in the note; check it on site as described above.

// beyond one inverter

The one Modbus client for the whole site

A SolarEdge inverter accepts one Modbus TCP client. ModbusManager Pro can be that client — reading the inverter, its meter and any other device on site — and republish the values as one Modbus TCP map or as MQTT topics with Home Assistant discovery.

Modbus gateway software →