SolarEdge Modbus change export limit


Is it possible to use openhab with any addon to change export limit on a SolarEdge inverter?
Example: If the electricity price is below 0 I want to set export limit to 0.


Yeah it should be possible. I do similar with my Fronius inverter using the modbus addon.

Unfortunately, I can’t test with Solaredge, as my energy retailer (Amber Electric in .au) already has control of the inverter to support curtailment.

Thanks for answer!


Hope to find an example how to do with solaredge.
Have Google My fingertips off but havent found that I am searching for.

Let me try write up what should work for solar edge based on my reading of the docs…

Quick and dirty steps…

I learner a lot from threads like Solaredge Leistungs-Limit via Modbus RS485?! - Wechselrichter - Photovoltaikforum

In simple terms, what should be required is:
Write 1 to register 61762 to enable Advanced Power Control
Write 1 - 100 to register 61441 to set the percent output desired
Write 1 to register 61696 to ‘Commit Power Settings’

I get an error writing to 61696 which is think is due to my power company having control of the inverter to do curtailment.

In terms of OH config, you obviously need to install the modbus add-on, I have a 'Modbus TCP slave’s with the IP and port of the inverter, then addition things of type 'Modbus Data’s for each register above. I left the read registers blank, and set the write register to the values above, write type ‘Holding Register’

Write value type I have as:
61762: 32bit positive or negative integer
61441: 16bit positive or negative integer
61696: 32bit positive or negative integer
Not sure these are correct :slight_smile:

Create items linked to each ‘thing’ and try creating a rule and see how you go :slight_smile:

So realisiere ich eine dynamische Leistungsreduzierung meines SolarEdge PV-Wechselrichters v2 – is another good article!

Thank you! :slightly_smiling_face:

I will use Google translate to those sites in German :slightly_smiling_face:

I found a couple Python scripts for Home Assistant and I think solaredge has possibility to set export to 0.

But I havent found which Modbus addresses I have to set when I will set export to 0.

I assume that I must set export on every phase.

When export is set to 0 I will only use production for self consumption.

I have Modbus module for collect export and import data.

Have a read of

Pages 15 and 16 describe the Export Limits and how to change them.

For my Fronius Inverter at my other property, I dynamically adjust solar production as the home consumption changes, but only when FIT is negative, and battery is full (or nearly full).

var Number requiredSolar = (AldingaPW2_HomePower.state as Number)/5000*10000;

if (requiredSolar > 10000) requiredSolar=10000;
logInfo("curtailSolar", "required solar percent = {}", requiredSolar);
if ((AldingaPW2_PowerwallCurrentCharge.state as Number) > 0.97) {
  logInfo("testing", "current PW2 charge ({}) > 97%, curtail output",(AldingaPW2_PowerwallCurrentCharge.state));
} else {
  logInfo("testing", "current PW2 charge ({}) < 97%, set full rate production",(AldingaPW2_PowerwallCurrentCharge.state));

The relevant document from Solaredge is here indeed.

I think you need to enable it first in the setapp / display before you can control it with modbus.
In the Power Control menu:

  1. Set Advanced Power Control to Enable
  2. Set Reactive Power mode to RRCR

As I’m about to install a battery myself… also exploring this.

1 Like

Yes! That is the way to go I think.
Thank you! :slightly_smiling_face:

I will call solaredge support to ask them to set export to 0 and then see which Modbus addresses that change . Just a double check . :slightly_smiling_face:
I dont have permission to use setapp, only view mode.

Even without setapp, so long as you have physical access to the inverter, you can connect to it via wifi and change these settings. Project: SolarEdge local connection to home assistant - HACS - mod bus tcp - Jarrod's Tech has the steps to do this… you should also be able to access the menu items to change site export…

Ok. Thank you! :slightly_smiling_face:
I will look into that! :+1:

1 Like

Did you ever find a way to limit/stop the export from your SolarEdge with the modbus protocol?
My system knows when the PV price turns negative, now I only need a way to shutdown the inverter via openHAB.