homeassistant-roborock icon indicating copy to clipboard operation
homeassistant-roborock copied to clipboard

Track the cleaning time for the rooms.

Open aferrato opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe.

It would be helpful to have the ability to track the cleaning time for the different rooms: start time, end time, and the cleaning method used. I would like to automate house cleaning based on when the rooms were last cleaned. Thank you!

Describe the solution you'd like

Create an entity in Home Assistant for each room with the time of the last cleaning. Additionally, add attributes for the start time, end time, total time of last cleaning, and cleaning method.

Describe alternatives you've considered

I'm trying to create in Node-RED the capability to track the last cleaning based on when the current room sensor changes state and the robot is in the cleaning phase.

Vacuum

Additional context

Mqtt request

aferrato avatar Dec 18 '23 07:12 aferrato

I wonder if a blueprint could do this. I have helpers and automation for every room. If cleaning and current room is xxx and it has been x minutes then set time of helper for that room

arne182 avatar Dec 18 '23 08:12 arne182

I wonder if a blueprint could do this. I have helpers and automation for every room. If cleaning and current room is xxx and it has been x minutes then set time of helper for that room

Yes, I was also thinking about something like that. But if I'm not mistaken, the robot is "in cleaning" even while it's moving to reach the room to be cleaned, and this could create issues with the record.

aferrato avatar Dec 18 '23 11:12 aferrato

Yes that is why I have set it so that it must be at least 5-10 minutes in a room before setting the helper. Not perfect but it works for what I need it for.

arne182 avatar Dec 18 '23 14:12 arne182