wingnut771
Honorary Master
I think you need to add a 3rd device (shunt) on the battery terminal to measure actual battery capacity but it does sound like there a losses. What is the VA and W spec of the inverter?I've got a Sonoff powr2 and a Sonoff Elite in series before and after the UPS.
powr2 gives daily kWh and Elite gives hourly kWh
I started the test at 00:00 and when UPS tripped, I compared powr2 and Elite data, which was within 2% of each other
Have you tried different charging speeds?
Something like this:

