So I've recently started digging into the whole home automation topic. Installed an instance of Home Assistant on a Raspberry Pi that's running as a sort of server in the kitchen, and discovered that quite a lot of stuff I have at home is supported and can be integrated either out of the box or with minimal fiddling.
Including the Xiaomi vacuum. Oh boy.
Now, I'm a lazy guy, but in a way that I think is typical for some engineers: I'll rather spend hours automating some task, than spend minutes performing it manually. Home Assistant allows to live this motto to the damn limit.
My robot vacuum now does all of the following:
Runs each day at 09:00, but only if I'm not home (because if I'm not home at that time, it's highly likely I'm at work and will be gone for a while)
Aborts the clean-up and returns to the dock if I return home while it's running
Counts the times it ran for 15 minutes or more at a time, as a sort of "dustbin fill counter"
When said counter reaches 3, creates a task in my Things app for me to clean out the dustbin (the only thing that I still have to do manually... but at least now I don't have to think about it, it'll just magically appear in my todo list)
Resets said counter to 0 when I actually remove the dustbin (yes, it's a parameter that the integration tracks, along a couple dozen others)
Can be controlled with Siri via HomeKit, either from my iPhone, iPad or HomePod
The method to predict a full dustbin is great, I'd be really interested in experiments to see how much extra general dirt it has to pick up before it becomes overfilled without reaching the count of 3.
I particularly like the idea of it running back to its base when you get home, you should put the base in a cardboard box so it looks like a pet running to hide as you come in.