ESS powers from the grid instead of the battery

I have a three phase ESS system with pylontech batteries. It has worked fine for months. Charging during the day with solar panels and powering the house from the battery at night. But now it mainly wants to feed from the grid. By switching ESS on and off again it will feed from the battery again for a while. I do not have a dynamic contract. The battery must not be charged from the grid.

Does anyone have experience with this problem?

Hi

Maybe you can share some more ESS settings from remote console

Also whats your grid setpoint, and what version OS are you running?
Are you using scheduled charging for powering at night?
Whats the minium SOC in ess

Thanks for your response,
Minimum SOC = 5%,
do not charge from the grid,
battery life is set to on ESS is set to automatic
firmware version V3.42