humbertogontijo / python-roborock

Python library & console tool for controlling Roborock vacuum
GNU General Public License v3.0
56 stars 25 forks source link

Total times cleaned #211

Open peternijssen opened 3 months ago

peternijssen commented 3 months ago

Recently switched from the Xiaomi Mii integration in HA to Roborock. So far everything is working great. However I am currently lacking the total amount of cleans done by my Roborock vacuum cleaner. I had an automation running which would move the vacuum cleaner to a specific spot, each time the total amount of cleans could be divided by 3. Roughly after 3 cleans, I want to empty it's bin, that's why.

As far as I can get from the documentation, this number is not yet returned? Or am I unable to find it? Else I could give it a go implementing it within Home Assistant.

Lash-L commented 3 months ago

I just did a quick check, it should exist inside of DeviceProp -> CleanSummary -> clean count. Should be pretty easy to implement in HA if you're interested in it.

Otherwise I can add it to my list and do it eventually