Skip to content

Roborock Q7B "Total cleaning time" property value in HA does not match total cleaning time reported by Roborock app #735

@anotherdave

Description

@anotherdave

Steps to reproduce:

  1. Add Roborock Q7B to HA 2026.1.0b4
  2. Examine Integrations, Roborock, Diagnostic, Total Cleaning Time property and get "92h 34m"
  3. Examine Roborock App settings under Cleaning, have value "Total cleaning time" 4733 minutes (78h 53m)

Cause:

"Total cleaning time" in HA is mapped to Roborock property real_clean_time, but this appears to be the time of the last clean (cleaning_time) in seconds, for example on this robot:

cleaning_time = 92
real_clean_time = 5554 (92.57 minutes)

The Roborock Android app appears to be getting the total cleaning time value from an MQTT method call "service.get_record_list", which returns these values as well as a list of the last 40 cleaning runs:

total_time = 283980 (4733 minutes in seconds)
total_area = 332748 total cleaned area in square cm (/100 for square metres)

These match the values reported by the Roborock app.

Here is an example response from service.get_record_list:

{
    "msgId": "1767747635412",
    "code": 0,
    "method": "service.get_record_list",
    "data": {
        "total_time": 283980,
        "total_area": 332748,
        "total_count": 271,
        "record_list": [
            {
                "url": "/userdata/record_map/1749517692_1749518434_1749518432_clean_map.bin",
                "detail": "{\"record_start_time\":1749517692,\"method\":0,\"record_use_time\":660,\"clean_count\":1,\"record_clean_area\":0,\"record_clean_mode\":5,\"record_clean_way\":0,\"record_task_status\":1,\"record_faultcode\":0,\"record_dust_num\":0,\"clean_current_map\":1749518432,\"record_map_url\":\"/userdata/record_map/1749517692_1749518434_1749518432_clean_map.bin\"}"
            }, ... (39 more records)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions