Skip to main content
Selora Homes Selora Homes

SolarEdge Inverter Setup

Connect a SolarEdge inverter to Home Assistant over local Modbus TCP for production, grid, and battery data every 10 seconds, and use it in the Energy dashboard and the solar-surplus EV charging recipe.

Solaredge Solar Battery Energy Modbus Integrations Setup

Home Assistant reads a SolarEdge inverter directly over the local network with the built-in SolarEdge Modbus integration, available since Home Assistant 2026.10. It needs no account and no cloud service, and updates every 10 seconds. A SolarEdge meter or battery wired to the inverter comes through the same connection.

The SolarEdge cloud integration remains an option for per-panel data, but its site sensors update only every 15 minutes, and its per-panel statistics every 12 hours. Use the Modbus integration for the Energy dashboard and for automations.

Before You Start

  1. Connect the inverter over Ethernet. Modbus works over Wi-Fi too, but SolarEdge may drop it from Wi-Fi in a future firmware version.
  2. Reserve its IP address. Reserve the inverter’s address in the router.
  3. Check for other Modbus clients. The inverter accepts only a few Modbus connections at once. Another energy manager, a HACS SolarEdge Modbus integration, or a modbus: block in configuration.yaml can take the slot Home Assistant needs. Remove the ones Home Assistant replaces.
  4. Ask the solar installer whether a SolarEdge meter is fitted at the grid connection. Without one, the inverter only knows what it produces, not what the house imports or exports.

Step 1: Turn On Modbus TCP on the Inverter

Inverters without a display, such as the Home Hub:

  1. Move the inverter’s red ON/OFF/P switch to P for less than five seconds, then release it. The inverter starts its own Wi-Fi access point.
  2. Join that network from a phone or laptop. Its name and password are on the inverter’s sticker.
  3. Open http://172.16.0.1, go to Site Communication, and enable Modbus TCP.

The same setting is under Site Communication in the SetApp app.

Inverters with a display: press and hold OK, enter the password 12312312 (Up, Down, OK, Up, Down, OK, Up, Down), then go to Communication > LAN and enable Modbus TCP.

Modbus TCP listens on port 1502, and the inverter’s device ID is 1 unless it was changed. An inverter firmware update or a service visit can turn it off again.

Step 2: Add the Inverter to Home Assistant

  1. Go to Settings > Devices & Services. The inverter may appear under Discovered as SolarEdge Modbus. Select Add. Otherwise, select Add Integration, search for SolarEdge Modbus, and choose Network (Modbus TCP).
  2. Enter the inverter’s IP address, port 1502, and its device ID, 1 by default.
  3. Assign the devices to an area.

The inverter appears as a device, with a Meter device for each SolarEdge meter and a Battery device for each battery wired to it. Home Assistant recognizes the inverter by its serial number: if its address changes, select Reconfigure from the entry’s menu (⋮) and enter the new one.

Batteries on a Home Hub Inverter

Some Home Hub inverters do not share their battery over Modbus, and no battery device appears. Some of them report a single Storage state of charge sensor on the inverter instead, when the installer set a grid profile that supports IEEE 1547-2018. If neither appears, ask the solar installer about the grid profile.

The Storage state of charge sensor is left out when the battery reads 0% as the entry starts. Reload the entry once the battery has charged.

Step 3: Set Up the Energy Dashboard

Go to Settings > Dashboards > Energy and add:

  • Solar production: the inverter’s Energy sensor, and its Power sensor for live power.
  • Grid consumption and Return to grid, with a meter: the meter’s Energy imported and Energy exported sensors.
  • Home battery storage, with a battery device: the battery’s Energy imported (charged), Energy exported (discharged), and State of energy sensors.

Without a SolarEdge meter, use a separate energy monitor at the panel for the grid.

Use It With Solar-Surplus EV Charging

The Solar Surplus EV Charging recipe uses these sensors:

  • Solar production: the inverter’s Power sensor, on an inverter without a battery. On a hybrid inverter, Power also counts what the battery discharges, and the recipe could charge the car from the battery. Use the panels’ output template below instead.
  • Grid power (optional): the meter’s Power sensor, which the recipe needs positive while the house imports. Check the sign on a sunny afternoon while the house exports. If the meter shows a positive value then, use the inverted grid template below.
  • Home battery charge (optional): the battery’s State of energy, or the inverter’s Storage state of charge on a Home Hub that does not share its battery.

Template Sensors for the Recipe

Create each one under Settings > Devices & Services > Helpers > Create helper > Template > Template a sensor, with the unit W and the device class Power, and replace the entity IDs with the site’s own.

Panels’ output on a hybrid inverter. The battery’s DC power is negative while it charges and positive while it discharges, so subtracting it from the inverter’s output leaves what the panels produce:

{% set inverter = 'sensor.solaredge_se7600h_power' %}
{% set battery = 'sensor.solaredge_battery_1_dc_power' %}
{{ (states(inverter) | float - states(battery) | float) | round(0)
   if has_value(inverter) and has_value(battery) else none }}

This needs a battery device. A Home Hub that does not share its battery has no sensor for the panels alone: pick the grid power as well, so the recipe at least stops when the house imports.

Grid power, inverted.

{% set meter = 'sensor.solaredge_meter_1_power' %}
{{ -(states(meter) | float) if has_value(meter) else none }}

Both templates report no value, rather than 0, while their source is unavailable, so the recipe never acts on a missing reading.

Inverter Settings

Depending on the installation and firmware, the integration can also change inverter settings: backup reserve, battery charge and discharge limits, storage mode, and the site export limit. The inverter refuses values it does not accept. Two cautions before using them in an automation:

  • They are written to the inverter’s flash memory, which wears out with repeated writes. Change them when something actually changes, not every few minutes.
  • Export limits are often part of the agreement with the utility. Changing one can put the site outside it. Leave them to the solar installer.

Network Access

  • From Home Assistant to the inverter: TCP 1502.
  • From the inverter to the internet: keep it open. It reports to SolarEdge’s monitoring platform, which the solar installer uses.

Discovery uses mDNS, which does not cross VLANs on its own. On a separate IoT network, add the inverter by its IP address.

Troubleshooting

  1. Setup times out, or the entities go unavailable. Check that the inverter is on the network, that Modbus TCP is still on, and that the port is 1502, not 502. Stop any other system that polls the inverter while you test.
  2. “The device does not answer as a SolarEdge inverter”. Check the device ID, 1 by default, and that the IP address still belongs to the inverter.
  3. “This is a different inverter”. The address now belongs to another inverter, usually after the router handed addresses out again. Reserve the right address, then reconfigure the entry.
  4. A meter or battery added later is missing. Home Assistant checks what is connected every 15 minutes. Reload the entry to pick it up sooner.

Type to search across

↑↓ navigate ↵ open
⌘K search