-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Room selection #613
Comments
As far as I'm aware you only can access them via IDs that are never exposed. It's a bit weird, but try to find the right IDs. Looks like this. service: roborock.vacuum_clean_segment
data:
segments: 18
target:
device_id: YOUR_DEVICE_ID |
It worked, thank you :) |
could you elaborate how to find the specific information for rooms? |
You can drive the robot into a room and look in the dev tools at the |
I had to use entity_id instead of device_id (wouldn't work for me, not sure why) so now it starts cleaning segment but stops after zero seconds :( Also, to figure out segment_id, I followed these instructions: Roborock has a “segment_id” for each room. But to get what room corresponds with which segment id, you need, enable debug logging and find one of the first calls roborock makes where we get the user_data, you should see a rooms option, which has the name of rooms and then a 6 digit id. call the service get_room_mapping and look in the log to see the result. That maps from the 6 digit id to the segment id. Now you can use the segment ids for cleaning specific rooms will report back when I figure out what is keeping the vacuum from actually cleaning the specified room |
Figured it out - segments needs an array - e.g. "[ 16 ]" instead of just "16". All good now. Hope that helps anyone else stumbling on this issue. So awesome, @kaiserkiwi I'm guessing that it called the service, but then didn't get a valid room when I didn't use an array as the input. |
I use Roborock S6, in Roborock app I defined two floors, every floor with named rooms. How can I select floor / room for cleaning? I can find current floor / room in device attributes, but I don't know, how to send my vacuum to the chosen room.
The text was updated successfully, but these errors were encountered: