Values battery for automation

I have a pzem017 to measure the battery. I will take it to set up automation to use as a backup battery ups.

Suppose from paying 3 loads, when the battery cost is reduced, there is only 1 left to pay.

Which voltage, energy, and Ah values should I use?