Measuring the amount of time/floor space my robot vacuum has been running over a month

I have a robot vacuum, which integrates with Home Assistant through the Tuya integration.

It gives me two statistics on its most recent run: how much time the run took, and how many square meters it cleaned.

I find these statistics very interesting, but unfortunately they reset to zero the next time the robot vacuum starts. This makes the statistics somewhat unusable, as I want to be able to see things like “how much time has the vacuum cleaner been running the entire month”, rather than “how much time did the last run take”, which is the only thing I can see now – and that only if I did not have to interrupt the run, which I sometimes have to do if the vacuum cleaner starts eating some cables or a stray sock or some such.

I had a look at some of the integrations that exist, and the closest I could find was the “integral” integration, which creates a Riemann sum, but that seems like it would miss a step and not the best way regardless.

Help?

I’m pretty sure this wont do time but it will tally your monthly m3

How about History Stats ?

I use it to track my furnace runtime each day, then I put up a daily graph card and I can keep an eye on the week’s usage, so you can probably set up something similar.

You can also try measureit hacs integration.

1 Like

The issue with the history stats integration is that it uses data from the recorder database, which only goes back 10 days by default. You can change that but should not exceed a month or so.

I have no idea how the measureit integration works.

Thanks; this seems to work perfectly:

afbeelding

(and yes it does do time too, but only because of the weird way in which the vacuum itself tracks “time spent”)

1 Like