Skip to content

Force charge discharge battery

Thijs W edited this page Aug 30, 2022 · 4 revisions

The integration offers multiple services that you can call to dynamically change the behavior of the battery:

  • forcible_charge: Forcible Charge
  • forcible_charge_soc: Forcible Charge to a SoC level
  • forcible_discharge: Forcible Discharge
  • forcible_discharge_soc: Forcible Discharge to a SoC level
  • stop_forcible_charge: Stop the forcible charge or discharge

Forcible Charge

This allows you to forcibly charge your battery for a given duration or to a given SoC level of your battery. While a forcible charge is active, it will direct all power received from the solar panels to your battery instead of covering your home electricity usage.

If the "Charge from grid" toggle is set, it will also draw power from the grid until the given charge power level is reached.

Forcible Discharge

This allows you to forcibly discharge your battery for a given duration or to a given SoC level of your battery. This forces the inverter to inject more power to the AC-side than your home electricity usage, which will consequently be pushed onto the grid.

Stop Forcible charge or discharge

Calling this service will cancel any running forcible charge of forcible discharge command.