Pylontech UP5000 Alarm issue

Hi guys i have a probleM and need help. I have a Kodak VMIII connected to two Pylontech UP5000 batteries. The second battery goes into alarm state every night at around 4am. The setup of the inverter and batteries worked fine for about 3 weeks with no alarms or issues then this started. I HAVE TRIED SOLVING THE PROBLEM BY CHANGING THE BATTERIES AROUNS AND MAKING THE SECOND BATTERY THE MASTER BUT IT STILL DOES THE SAME.

Hi,
Welcome

Is the comms between the inverter and batteries working?
Try set dip switches as below and comms cable pinouts :
image

Please post a pic of how your batteries are connected?