Solaredge Modbus Configuration for Single Inverter and Battery

I’ve update my scripts to include a ‘share’ model for battery energy price…

(i’ve also got a 2nd battery)

The way it works is like shares in a company… you Buy shares from the grid BUT those shares get diluted by solar shares which are ‘free’ shares. giving you an effective share price for the energy in your battery… Simple example might be if i fill my battery from grid at £1 then use 50% of the energy but then fill my battery again from solar then the effective price of 1 energy unit in the battery is now £0.50 instead of £1.

Release v3.2.3 adds a new Last Update sensor entity that shows the last device poll timestamp. This can be used as a template trigger to ensure that the poll cycle is complete before running any template calculations.

added text to allow posting this update in more than one topic

Greetings all,

I'm new to this forum, but I've been doing some extensive troubleshooting with my SolarEdge battery. Unfortunately I've exhausted both the bounds of my knowledge, first line support and that of google, so I thought I'd ask some experts.

Summary:
My SolarEdge battery is stuck in Time of Use mode.

If I attempt to change the battery mode to "maximise self consumption", "disabled" etc..... The request is accepted and battery behaviour actually changes, but then a few seconds later it reverts right back to time of use mode.

My Methods for doing this:
MySolarEdgeApp: Installer Settings --> Maximise Self Consumption
Monitoring Portal: Site Admin --> Energy Manager --> Battery Mode --> Installer Selection: Account Profile --> Disabled
SolarEdge Go / Webrowser Login to (172.16.0.1): Power Control--> Energy Manager --> Battery Mode --> Disable
Modbus Command to Register: F704 (Storage Control Mode)

SolarEdge Support:
Downgraded my firmware from 4.24.14 to 4.22.44. It did not help.
Later on in the support ticket they then said that "Modbus Control of the Battery is not supported", which brings me onto yourselves, as I all hope you'll disagree.

Google Gemini Support:
Turn off the inverter, turn off the battery, wait 15 - 20 minutes, turn on the battery, turn on the inverter.

Now I'm not using home assistant to control my battery (I'm using my own written python program), but I'm sure if I did use home assistant then I'd come across the same problem. I have noted historical remarks about this problem in your forum from the year 2023, however the fixes were not really well described (except to say that the battery mode should be disabled).

So here's the output from my program.

As you can see, the timeout value of 30000 will stick, as does the default mode.

But the battery control mode keeps reverting back approx every 10 seconds, same with the remote control mode.

A modbus register is only written if different to the commanded state, so I've not had to rewrite the default mode or the timeout.

Can someone please tell me if they've overcome this behaviour. I don't like to brute force my modbus writes every 10 seconds, as I'm guessing the registers are written to flash memory on the inverter, which could cause premature wear of the flash memory.

Hi Anthony

I've been a Solaredge site owner and Home Assistant user for several years. I was controlling our SE system comprising 2 inverters + battery before SE introduced control via the MySE app.

I can't quite tell from your post, but for me, the key setting is this one

From what i understand, if this setting is in anything other than Remote Control the battery will always revert to whatever the the installer or SE set it to.

This may not at all be relevant to your situation, but it might also be a good place to start.

Hope that helps.

Hello Dave,,

I don't have the remote control setting in MySolarEdge

I don't have the remote setting either in the monitoring portal

Within SolarEdgeGo, I do have the greyed out option for "Remote+TOU", which I can't select

But the remote mode is besides the point here.

If I select any other mode, besides Installer time of use, it will revert right back to the time of use mode after 10 seconds.

For example:
If I select "Maximise Self Consumption" in MySolarEdge, then it will enter that mode for a few seconds, before reverting back to Time of Use.

If I can overcome this overriding effect, then I'm sure my remote mode commands send via modbus will also work. But this is a problem I've been trying to deal with for the last three months, and sadly to no avail.

A followup. There's some interesting options in SolarEdge Go.

If I go to Power Controls --> Energy Manager --> Energy Control

I do not have Remote Control Options Shown:

However if I go to Device Manager --> Home Battery Settings

Look what we have.

I've not seen this option before and it frankly looks redundant. But remote control is available.

Edit: Sadly, setting the remote mode here also worked for just a few seconds, before reverting back to Time of Use.

I am also setting modbus register F704 (Storage Control Mode) to remote (4). That doesn't last longer than a few seconds either.

So I'm basically at square one. Something somewhere is overriding the battery storage control mode. I'm not on any grid plan (at least not knowingly so). That's the only thing I can think of that would get in the way of the Storage Control Mode.....

Have you tried raising an issue with SE support? They’re usually pretty good at helping with this sort of issue.

No battery here but I have a SolarEdge Genesis SE8250H inverter and SolarEdge ONE EV charger. I noticed something odd recently - the inverter goes unavailable in HA twice a day, around 5am and 7pm plus or minus a few minutes. It’s for less than a minute each time.

If the EV is charging at the time it will get disconnected from the charger and can only be resumed by unplugging and reconnecting the charging cable.

Anyone else noticed that? I think the inverter and charger are on the most up to date firmware because SolarEdge confirmed that at the time of install a couple of months ago and said they were auto updating.

Hello, how can i do that, with my strong energy - alfred 10 - DTSU666
PLEASE

SE inverters have a strange habit of resetting once or twice a day. When it resets, Home Assistant momentarily loses contact with it. If you have something going on during a reset, the inverter reverts to it’s default settings so you need to monitor for the reset and add actions in your automations to deal with it.

I don’t have the SE EV chargepoint, but if for example I’m grid charging the battery or have shut down the battery because I’m charging the EV and I don’t want the battery discharging into it, when the inverter resets it completely mucks up the settings I need to ensure all of that happens.

So I watch for it happening in my automations and act accordingly. Here’s an example from my own EV charge automation.

So this trigger:

alias: When inverter resets
entity_id:
  - switch.solaredge_i1_advanced_power_control
from: unavailable
to: "on"
id: Inverter Reset
for:
  minutes: 1
trigger: state

will run this action:

- conditions:
          - condition: trigger
            id:
              - Inverter Reset
          - condition: time
            after: "00:30:00"
            before: "05:30:00"
          - condition: state
            entity_id: switch.shelly1_c45bbe7867c7
            state: "on"
          - condition: state
            entity_id: input_boolean.car_plugged_in
            state: "on"
          - condition: numeric_state
            entity_id: number.solaredge_i1_storage_discharge_limit
            above: 100
        sequence:
          - data:
              value: >-
                {{
                states('input_number.desired_battery_output_limit_for_overnight_ev_charging')
                | float(0) }}
            target:
              entity_id: number.solaredge_i1_storage_discharge_limit
            action: number.set_value
        alias: >-
          If the inverter resets and the car is charging turn down the home
          battery

Hope that helps.

Thanks, very helpful. I’ve raised it with SE now because it’s their charger that’s stopping to work while their inverter does whatever it’s doing during its pauses.