Solaredge Modbus Configuration for Single Inverter and Battery

2.4.5 is a general release, so it should appear for everyone. It was released on September 9th.

2.4.5 update will came up only AFTER the 2023.9.1 core update

I’m just using the sensors directly from integrations plus the HA energy dashboard. I have zero template sensors configured. I can’t really think of anything extra that I’d need to create a template sensor for.

My house solar dashboard:

My house power dashboard:

Correct. When I distribute with HACS there is a minimum required homeassistant version setting. That means HACS will not show updates if you are running a version of HA lower than the minimum version required for that update.

There is a great deal of merit in keeping things simple. I like to see the flow power in my dashboard so template sensors are a must (as far as I can tell anyway). I’m too far down that rabbit hole now anyway :grin:

Right, I best get on updating to 2023.9.1 then.

I’d say my power situation is simple compared to other schemes I’ve seen everyone talk about, so I don’t track a lot of extra stuff. I don’t have batteries because my utility power is flat rate per kWh (they would only be useful for power outages which are too rare to justify the cost), and my net export selling power back to the utility is also at a flat rate. My utility doesn’t have any time of use rates or export limitations.

2 Likes

Hello ,

Thank you very much for sharing this fantastic post.

I have the SolarEdge - Modbus integration, but having 10Kw SolarEdge battery, the ac_power entity shows me both what the solar panels produce, and what comes out of the battery.

My goal is to see in HA clearly what the panels produce vs what comes out of the battery. But I don’t see any sensor showing it.

In the SolarEdge Cloud integration, there is a sensor that differentiates what is going to or coming from the grid, what the panels produce, and what is going into or coming out of the battery. But with 10-min delay.

My goal is to have the data shown by SolarEdge’s own App in HomeAssitant, but in real time and with local integration.

Any ideas?
Thanks in advance!

1 Like

Everything you see in my dashboard is real time. The two pie charts Self Consumption and Self Consumption Rate show how much energy comes from which source and gets used where. The energy usage chart breaks that down further. All of that is delivered through the dashboard config by @Remko and @ryanm101 linked right back at the start of this topic working alongside the modbus multi integration from @WillCodeForCats

Thanks for your answer.
The cloud integrations from SolarEdge, which clearly differentiates the DC power coming from the battery vs the one coming from the solar panels does not update the info instantly, It has around 10-min delay.

I would love to get the same data I get with the cloud integration or the one I get via API from SE https://monitoring.solaredge.com/ but with the Modbus integration. Although it has around 100 entities no one shows the real solar production, just the AC o DC power.

I am not referring to a counter of how much energy has come out of the battery or how much has come out of the solar panels, which it does, but the production at a specific moment.

Is that from the HA Solaredge integration?

Power production as shown by @WillCodeForCats modbus multi integration is realtime:

Can we add this to other intergrations?

I find when the values may be frozen this helps push the issue rather then resetting the entire HA,

Can this be manually added to any intergration or does the host or owner need to add?

Managed to successfully configure the dashboard.
Only issue

Every time I reboot I have to go manually edit and save otherwise I get a blank page.
I use the latest HassOS

Hi everyone,

i nearly finished the dashboard integration and nearly everything works fine. Except one issue:
On my energy dashboard I can’t add the value “Solar Battery In Daily” to my battery system. “Solar Battery Out Daily” is found and working wihtout any issues.

Is this issue known and can somebody help me?

In the screenshots i noticed, that the value is working, but it has no unit. Is that the reason why its not listed?

Snag_11205538

Snag_112075c0

Delete the

    visible:
     badges: []

part of the code and see if that helps. For me it did.

Hi,

I am able to read the values of my battery inverter. Only thing that I’m not able to do is get the charging/discharging value in the energy monitor. This is the rest sensor I’m using:

- platform: rest
   resource: https://globalapi.solarmanpv.com/device/v1.0/currentData?appId=xxxxx&language=en&=
   method: POST
   name: "Total Charging Energy kWh"
   scan_interval: 3600
   headers:
    Authorization: bearer e xxxxxx
    Content-Type: application/json
   payload: '{  "deviceSn": "SE1ES430N3D289"}'
   value_template: "{{ value_json.dataList[42].value }}"
   unit_of_measurement: "kWh"
   device_class: energy
   state_class: total_increasing

The sensor does not list up on the battery section of the dashboard. Am I doing something wrong here ? The value is visible within the sensor, but not able to put it in the dashboard

Thanks a lot in advance !

Kr,

Bart

Hi gurus, I have followed the instructions to setup @WillCodeForCats Modbus Multi integration and am 90% of the way to having both inverters and the meter integrated. I have run into an issue where now my consumption data is way off.

To be clear, the data was spot on in the SolarEdge App prior to me doing this so must have changed a setting that’s causing the issue - if someone can take a look at what I’m seeing and make any suggestions it would be greatly appreciated.

In short - the consumption data when solar had approximately doubled or tripled in size, there is no consumption data displayed when solar is being generated and the app is saying I’m currently generating more than it is, by about a third.

Yesterday - showing regular usage overnight:

Today - showing the higher usage overnight after I made the changes:

Today - showing zero consumption during solar generation:

Leader settings:





Follower settings:


Integration sensors:



Energy dashboard:


Another interesting view comparing two ‘perfect’ days of production of the meters AC Power entity:

1 Like

Sounds like a problem with the SolarEdge monitoring platform, but enabling modbus does not affect it.

I realise that it’s likely some setting in the inverters that I’ve changed that has caused this. I believe I followed the documentation correctly (as per my screen shots), but was hoping someone who knew the inverter settings better than me could point me in the right direction.

Maybe switch off Modbus and see if it reverts.