Replies: 5 comments 17 replies
|
Please note that my inverter outputs 4000W max. So a 1% step in my case is 40W. This new integration clashes with another Automation that I use to heat up the water in my DHW storage tank from the available surplus solar power. So more programming ahead for the future :) |
|
My latest automation code is updated in the first post. I creates a dead-band from +20 to -36W around the zero point. |
|
@WillCodeForCats with the above shown automation active, after some time the modbus connection is lost. I see this in the HA Logs: Do you maybe have a suggestion on how I could recover from this situation without needing to reload the integration? |
|
I found this: https://community.home-assistant.io/t/home-assistant-reload-integrations-automatically/945813 |
|
@bouwew Nice work! I think for many people in The Netherlands it'll make perfect sense why this is useful (in Dutch terminology: If a SolarEdge system also have DC-coupled batteries, and these batteries aren't fully charged yet, it could well be that your panels continue to charge your batteries, using all available power (up to whatever your batteries can accept), with just the amount of power needed for the house consumption, and any surplus going to the grid. In such a case, you want to avoid grid exports to avoid costs or penalties. For example, my panels could be producing 12 kW, my batteries can charge no faster than 5 kW, and my house could be consuming 1 kW. Then we have a surplus of 6 kW that would be exported to the grid unless we restrict inverter output. Obviously, that will have the effect of curtailing solar production to 6 kW, but that's the result, not the control. In your opening post, you stated that you're manipulating the "solar output" of your inverter, but following the previous paragraph, that's not entirely correct. What your automation is doing is actually manipulating the power being produced by the inverter itself, which could be going to the house or to the grid. So instead of saying you're modifying "solar output", I'd like to propose you change that to "inverter output" (which has the knock-on effect of curtailing solar production) so that others who stumble upon this topic won't get confused. |




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I recently found out that it is possible to limit the electrical output of my SolarEdge inverter with this Integration by modifying the
Active Power Limit.This should not have any effect on the life-time of the internal memory of the inverter.
So it tried building an Automation that keeps the output of the SolarEdge in line with my consumption and limits the export of excess solar energy.
This is what I made:
My
sensor.el_net_consumptionshows the net electrical power value that it either consumed or exported (coming from the P1 port of my DSMR smartmeter). Export is shown as a negative number.The
sensor.solar_poweris just the SolarEdge reported AC power with a sign-change to positive numbers.It looks to be working reasonably well.
I had to increase the trigger interval from 10 to 15 seconds because it looks like at the 10s interval the modbus comms is lost after a while.
All reactions