Roborock Qrevo MaxV app_segment_clean not available

I have the issue that the segment cleaning in send_command is not available. Home Assistant itself is not new to me, but the Roborock integration is… my robot is only a few days old :smiley: As far as I can tell, everything is correctly implemented: 38 entities are displayed (battery, start, stop, status, etc.). The actual problem, as described above, is the segment cleaning. When I try to execute the command, I only get the “Error while calling app_segment_clean”. Other commands like docking, mop cleaning, or zone cleaning are also available. The integration documentation only states that all robots from the app should also work with the integration… can someone help me? I haven’t found anything definitive on this :confused:

HA Version: 2024.10.02
Roborock Firmware: 02.33.02
Robot Model: Roborock Qrevo MaxV (roborock.vacuum.a87)

Code snippet:

action: vacuum.send_command
data:
  command: app_segment_clean
  params:
    segments: 
      - 19
    repeat: 2
    flag: 0
target:
  entity_id: vacuum.robert

Try the roborock service call.

roborock.vacuum_clean_segment

I’m having an identical problem. I know this was a few months ago, but maybe someone replies.

I tried integrating my Qrevo S. So far so good it can read all parameters, I can send it to clean, stop, home etc.

But I can’t seem to get the segment_clean to work.
Doesn’t matter if it’s roborock.vacuum_clean_segment or app_segment_clean, it just won’t respond and does nothing.

Other send_commands do work, like start or stop, so communication should not be the issue.

I also read it could be an issue of “room_id” or “segment_id” …but I wonder which is the right one, neither works.
Debug Logs output from “get_room_mapping” is

2025-03-07 10:32:54.582 DEBUG (MainThread) [roborock.version_1_apis.roborock_local_client_v1] [Roborock Qrevo S] id=36928 Response from method get_room_mapping: [[16, '21089307', 15], [17, '21059873', 6], [18, '21059868', 13], [19, '21059857', 12], [20, '21059861', 10], [21, '21059893', 14], [22, '22693562', 7], [23, '21254303', 9]]

Which of these is the segment id? I’m guessing it’s the 8-digit number, but it also doesn’t work.

Hopefully somebody has the same Roborock and could help out,
much appreciated.

Thanks in advance

edit:
also getting no response from app_segment_clean in the debug logs.

2025-03-07 10:32:57.090 DEBUG (MainThread) [roborock.version_1_apis.roborock_local_client_v1] [Roborock Qrevo S] id=216929 Requesting method app_segment_clean with {‘segments’: [21059893], ‘map’: ‘Erdgeschoss’, ‘repeat’: 1}
2025-03-07 10:32:57.096 DEBUG (MainThread) [roborock.version_1_apis.roborock_local_client_v1] [Roborock Qrevo S] id=216929 Response from method app_segment_clean: None

There are issue with the custom roborock integration if that is what you are using. Not positive this applies to your exact issue.

IMPORTANT NOTE!!

It is recommended you switch to the core version of this integration. Due to the time that the maintainers have, most time goes into supporting the core version of this integration as there are approximately 5 times as many users using that integration. There are multiple known issues with the custom component version of Roborock that are not planned to be fixed. If a user is so inclined - they can look at the fixes on the core component and carry them over here and we will approve PR. But otherwise, expect updates and fixes to this repository to be very limited at least for the time being.

Thanks for the reply, I am using the core Integration via Home Assistant.
I don’t use the custom HACS integration, because there are known issues.

The problem still persists.

Just fixed it and got the Qrevo S to work with app_segment_clean.

Problem was a missing “-” which, for whatever reason, did not get properly implemented via GUI, but has to be added in the script.yaml directly.
Adding it via GUI and it did nothing. Adding it in the file got a positive response.

Talking about the “-” before - segments:

Maybe it helps someone.

edit:
code would be:

script:
  alias: clean single room
  sequence:
  - data:
      command: app_segment_clean
      params:
      - segments:
        - 21
    target:
      entity_id: vacuum.roborock_qrevo_s
    action: vacuum.send_command
3 Likes

thanks, i had the same proble. Crazy how these issues get through. This is the type of issues that hold mass adoption of HA