wlcrs / huawei_solar

Home Assistant integration for Huawei Solar inverters via Modbus
GNU Affero General Public License v3.0
552 stars 88 forks source link

[Feature Request]: Active Power Control Mode 'Zero Export Limitation' should be please added #801

Closed max19751 closed 1 month ago

max19751 commented 1 month ago

Describe your feature request

To make sure no power is exported to the grid when dynamic prices are negative (and one would have to pay for the exported power such as in NL), the Sun2000 firmware offers the option 'Zero Export Limitation' under 'Active Power Control Mode'. That options seems missing from the current HA implementation. Could that be added?

Proper usage

Roving-Ronin commented 1 month ago

This sounds more like something that you need to be setting up with an automation, that has a condition of:

Alternatively it looks like this service can now also be used (looks might be the Huawei control you mention) vs the prior action that is a bit of a 'manual' way.... "Huawei Solar: Set Active Power Control to 'Zero power grid connection'"

All of this type of setup is up to the end user to configure, the integration gives the tools/means but the user has to work out what you want and set it up. Same as if you have LUNA batteries and an EV charger (that you can get a reading on its Active Power) its an idea to setup an automation that says 'if EV charge Active Power is upon 500W for more than 1min then change 'Batteries Maximum Discharge Power' to 0, so the EV charger doesn't just drain the LUNA batteries.

max19751 commented 1 month ago

The automation part you talk about I fully understand, my request was about adding the Active Power Control Mode “Zero Export Limitation”, next to the ones already existing in HA, such as “limit the power fed to grid” ones. See attached screenshot of the huawei options. Screenshot 2024-09-08 at 12 23 18

wlcrs commented 1 month ago

Screenshot_20240915_202205_Home Assistant Already available