Usually if the system is updated correctly and properly configured, it will stop charging 2% above the min soc set in ess.
Use the scheduled charge settings in ess to allow for PV only to power loads during the day. That way the battery gets excess and charges up using solar and doesn’t discharge again until it is out of the window set.in the scheduled charge.