Closed glennvlint closed 10 months ago
Hey there @humbertogontijo, @lash-l, mind taking a look at this issue as it has been labeled with an integration (roborock
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
roborock documentation roborock source (message by IssueLinks)
There is a command you can use to change maps if you use "load_multi_map" as the command with the map flag gotten from the command "get_multi_maps_list" to get the multi map id.
It is not an ideal system and it is not perfect - but that is part of what these architecture discussions aim to change: https://github.com/home-assistant/architecture/discussions/913 https://github.com/home-assistant/architecture/discussions/950
Closing for now as there is not an issue - but rather just more functionality should be added to the integration - which is on the roadmap.
@home-assistant close
The problem
Following the guide "How can I clean a specific room", one of the necessary steps is to get the id-to-room mapping using the command: get_room_mapping. Currently this command ignores the room parameter and only returns the 2-digit IDs for the active map, which seems to be the map listed at the top in the app. This causes the robot to not be able to clean the segment for which there is no/incorrect room ID in the active map.
I also noticed the Roborock API is returning duplicate 2-digit IDs after changing the current active map (changing the order in de app). This leads me to believe that multi-level room cleaning is simply a limitation by the Roborock API. The only way I could make this work right now is by first changing the top map in the app, and then sending the known room IDs for that map with the app_segment_clean command.
What version of Home Assistant Core has the issue?
core-2023.8.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Roborock
Link to integration documentation on our website
https://www.home-assistant.io/integrations/roborock/#how-can-i-clean-a-specific-room
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Tested using Roborock S8 Pro Ultra which also seems to use 8 digit IDs instead of 6 digit IDs for each room, but probably irrelevant for this issue.