ESS variation to allow battery cycling

Hi there
Recent install for a customer:
Property is grid feed single phase
24 x BAE PV660 2V Gel cells, 15Kw @ 48V - discharge floor 20% SoC
Multiplus ll 48/5000/70-50
16Kw PV through 3 x 250/100 MPPTs
BMV700
Cerbo GX & VRM

Customer originally asked for ESS, batteries on stand-by for power cuts which are prevalent in their area.
Customer has now changed his mind and wants:
Batteries to cycle at night to a max discharge of 50% (30% in reserve).
Solar priority to recharge batteries following day.
Excess solar to AC loads via MPll during daylight.
If batteries not fully recovered use mains after 8PM (lower tariff).
Repeat

Am I able to program this within the MPll & Cerbo, preferred preference!
Or, do I need to write a script in Node Red to do this.

Any help guidance greatly appreciated.

I think you can do all off that with scheduled charging!