Remote shut down of AC output when connected via Wifi to Gerba GX

I am operating a pump remotely via a wifi controlled switch.
All off grid.
What signal can I get remotely on battery status in order to switch off the pump automatically before reaching a low battery error and shut down?
I connect via a Gerba GX to a Victron (MultiPhase II 48/5000) and Pylontech 5000 battery.

@gntaylor55
What smart switch do you have and have you heard of node red?

I don’t have the model in front of me. It’s a “smart plug”! but probably not too smart.
What is node red? software of a particular switch?

Just looked at Node Red.
I will investigate further.
Looks like it could run on a raspberry Pi or Arduino.
I still need to get the remote information on battery status from the Gerbo

Hey,

If it is possible to hard wire the pump to the AC-Out 2 of your MP, you can simply use two assistants to turn it on and off based on your SOC.

It is a more easy way than via node red.

Br
Lukas

OK Thats another option. Thanks