I have a GoodWe inverter and added the integration to HA. One of the options is Grid Export Limit. It works because when i set it to 0 my panels are going to 0. But what i would like to achieve is that when my house is using 500w my panels are limited to a number around 500w, so no export to grid. Is there a way to build this in HA?
This is combination of parameters I am using to achieve zero grid export while maintaining production to cover momentary consumption of the house
- action: number.set_value
data:
value: "0"
target:
entity_id: number.goodwe_eco_mode_power
- action: number.set_value
data:
value: "0"
target:
entity_id: number.goodwe_depth_of_discharge_on_grid
- action: select.select_option
data:
option: eco_discharge
target:
entity_id: select.goodwe_inverter_operation_mode
Thanks for the reaction. In my case I don’t have any battery etc. Just an GoodWe inverter with Grid Export limit. Thus if my export is below zero I would like to set the inverter to eg 100, so the phase on which the inverter is connected could be using 500 W but together it’s still negative because of the other inverter. When the house needs power and current use is above 0 the GoodWe must go to 10000 to avoid this. Can I achieve that with your yaml code?
I suggest adding all control entities in frontend dasjboard and experimenting with these until you have found a combination which suits your requirements.
I checked my configuratiot and I found I do not use number.goodwe_grid_export_limit and it is always set to the allowed max.
Just to be sure I use custom integration " GoodWe Inverter" ver 0.9.9.27.
I indeed use the limit grid export function but not very stable. This morning I wasn’t able to use my goodwe app and the most likely issue is that i forced the grid limit on 10000 which ruined my wifi connection. Sounds strange but normally it is unavailable when it’s dark. I will take a look to see if the custom integration is working for me
What do you use for stopping to grid? I am thinking about buying two clamps, for phase 1 and 2 and control it with HA
For zero export feature it is essential to have Goodwe smart meter installed at grid connection point. Do you have it?
No I have a YouLess connected to my p1 port on the meter and all consumption from my inverters is in a kWh phase meter, connected to the s0 off the YouLess.
At this moment I have created two automations which are looking at the pv power and if it is above value A the the grid limit is set to 0, it it below value B it is set to 10000. I have to play with it to get it work in the way it’s supported and stable
By a quick look at youless it seems it can provide momentary power consumption data with seconds resolution, so yes, you should be able to build automations on that.
However I would recomment installing Goodwe smart meter as it is cost effective and integrates smooth with inverter control logic.
As a bonus you avoid dependance on external control loop in Homeassistant, which adds complexity and can be a point of failure.
Feel free to PM me if you need extra help.
Thanks for your reply. I understand your suggestion about the GoodWe smart meter but I have a kWh installed because I have 2 inverters. That is connected to my YouLess on S0. So with that I see my current power use and that’s my trigger for the return to grid option in the GoodWe. I have an automation which checks if current use is above 0 and sets return export grit to 10000, 1 automation below 0 which sets return to grid to 0. That with 2 automations to start and stop the grid return and it seems all functioning.
My other converter is from Solax and year 2018. The only way to achieve that is using a Solax X1 NFI meter which is already a few years out of the market. But I found one online and with the help from solax maybe I can get that also working and than I can control both inverters and minimize return to grid
Hello,
I have a Goodwe GW-5000D-NS and also want to try to go to zero export while maintaining maximum solar consumption based on my current home-usage, which includes a battery.
Don’t have HA (yet) but investigating posibilities.
Also read about the Goodwe meters (GM1000, CT-90) but not sure if this would work as wanted.
@abaksa1 Would you be able to help me a little bit further with this?
Regards,
Jeroen
Hello Jeroen, welcome to the community.
You can PM me with details about your battery system, I will then see what I can support you with.
@abaksa1 Sorry to bother you but I’m not sure how to send you a PM. Can’t seem to find anything related in your forum profile.
Hi erwinvos72, JeroenMHB and abaksa1,
I just started working with HA today, so everything about HA is new to me. I also happen to have the GoodWe GW5000D-NS inverter.
I think that I’m looking for the exact same thing. Our goal is to minimize the amount of W being injected into the grid, by reducing the amount of power that we want our inverter to generate, right?
So, What I think that we essentially want is something that monitors two values at the same time:
- “P1 Meter Power” - which in my HA is the total amount of W that I’m taking from, or injecting into, the grid.
- “PV Power” - which in my HA is the amount of W that the inverter is producing.
Based on the above to values, I want to change the “Grid export limit” value (which is the maximum amount of W that I want my inverter to produce) such that it results in “P1 Meter Power” = 0.
For example:
- “P1 Meter Power” = -1000W
- “PV Power” = 2500W
Combining 1) and 2) means that I’m consuming 1500W, therefore
- “Grid export limit” should be set to 1500W.
So, the question is can we obtain these values and if so, how? And can we, based on these value set the “Grid export limit”?
Thanks for helping out ![]()
P1 meter mentioned above belongs to and integrates with youless device.
Do you have a smart meter or any other device that can measure power/current installed at grid connection point?
Yes, I have a P1 meter from HomeWizard which is supported in HA. It has a sensor “sensor.p1_meter_power” which outputs the actual power at the grid connection point.
I can control the GoodWe output power with “number.gw5000d_ns_grid_export_limit”
Ok, if P1 meter can provide momentary power with seconds resolution it should be suitable to build automation on that.
Just, FYI, to control Goodwe inverter output power I use number.goodwe_eco_mode_power, but that is different from your exposed entity because my inverter is another model (hybrid).
Yes, it updates with seconds resolution. However, I think I would not like to change the “number.gw5000d_ns_grid_export_limit” on a second base, but rather once per minute of every so many (5?) minutes or so.
Therefore, I would also like to calculate a moving average for “sensor.p1_meter_power” during a certain time period and adjust “number.gw5000d_ns_grid_export_limit” based on that moving average every so often (every minute or every 5 minutes).
I think you it is worth experimenting to see whether the control strategy you have chosen allows you to reach your goal of minimizing energy amount that you are exporting to grid.
Let us know about the outcome