What I am looking for is a way to determine what the trend is over time to allow me to work out what the current UPS/Inverter mode is: - Trickle Charge, Idle, Discharging, CHarging, etc
I have tried using the avergaeSince for 1, 2, 5 and 10 minutes, this seems to give a smoother result, but wonder if there is a better way to achieve this?
Currently I count the number of counts in specific direction and try infer the status from that - which works mostly, but is quite a complex way to achieve this.
tl;dr
Do yourself a favor and take equi-distant measurements.
Edit #1:
While it is an interesting exercise to infer the health of a UPS from external measurements, it might be much easier/cheaper to buy a UPS that is supported by the NUT binding - but I do understand your idea of monitoring your UPS by means external to your UPS.