Room cleaning issue roborock.vacuum.m1s
See original GitHub issueChecklist
- I have updated the card to the latest version available
- I have cleared the cache of my browser
- I have checked if the problem is already reported
The problem
I’m trying to get room cleaning working to no avail. Updated to the latest versions, newest stable HA (container), newest vacuum-map-card and cloud extractor with my roborock.vacuum.m1s.
I’ve gotten the right room IDs from the FAQ entry using the developer tools and adapted them into the map config.
The issue is that the vacuum, no matter which room I select, starts cleaning right around its dock, then says it’s done and returns to its home point.
My configuration.yaml looks like this:
camera:
- platform: xiaomi_cloud_map_extractor
host: !secret xiaomi_vacuum_host
token: !secret xiaomi_vacuum_token
username: !secret xiaomi_cloud_username
password: !secret xiaomi_cloud_password
draw: ['all']
attributes:
- calibration_points
- rooms
- room_numbers
What version of a card has described problem?
v2.0.1.1
What was the last working version card?
No response
What vacuum model do you have problems with?
roborock.vacuum.m1s
Which integration do you use to control your vacuum (link)?
https://www.home-assistant.io/integrations/xiaomi_miio/
What browser (browsers/apps) does have this problem?
Chrome
What version of Home Assistant do you use?
2022.6.7
What type of installation are you running?
Home Assistant Container
Card’s configuration
type: custom:xiaomi-vacuum-map-card
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
entity: vacuum.hugo
vacuum_platform: default
map_modes:
- template: vacuum_clean_zone
- template: vacuum_clean_segment
predefined_selections:
- id: '17'
outline:
- - 24050
- 22200
- - 24050
- 30950
- - 31650
- 30950
- - 31650
- 22200
label:
text: Room 17
x: 27850
'y': 26575
offset_y: 35
icon:
name: mdi:broom
x: 27850
'y': 26575
- id: '18'
outline:
- - 30350
- 26750
- - 30350
- 28950
- - 32400
- 28950
- - 32400
- 26750
label:
text: Room 18
x: 31375
'y': 27850
offset_y: 35
icon:
name: mdi:broom
x: 31375
'y': 27850
- id: '1'
outline:
- - 31650
- 28300
- - 31650
- 33100
- - 36050
- 33100
- - 36050
- 28300
label:
text: Room 1
x: 33850
'y': 30700
offset_y: 35
icon:
name: mdi:broom
x: 33850
'y': 30700
- id: '19'
outline:
- - 27950
- 30250
- - 27950
- 33150
- - 31350
- 33150
- - 31350
- 30250
label:
text: Room 19
x: 29650
'y': 31700
offset_y: 35
icon:
name: mdi:broom
x: 29650
'y': 31700
- id: '16'
outline:
- - 24550
- 31000
- - 24550
- 33150
- - 27850
- 33150
- - 27850
- 31000
label:
text: Room 16
x: 26200
'y': 32075
offset_y: 35
icon:
name: mdi:broom
x: 26200
'y': 32075
- template: vacuum_goto
- template: vacuum_follow_path
- template: vacuum_clean_zone_predefined
map_locked: true
Javascript errors shown in the browser’s console (if applicable)
No response
Additional information
I’ve used the room ID/config values returned by following this.
YAML returned:
type: custom:xiaomi-vacuum-map-card
entity: vacuum.hugo
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
map_modes:
- template: vacuum_goto
- template: vacuum_clean_zone
- template: vacuum_clean_segment
predefined_selections:
- id: 17
outline:
- - 24050
- 22200
- - 24050
- 30950
- - 31650
- 30950
- - 31650
- 22200
label:
text: Room 17
x: 27850
y: 26575
offset_y: 35
icon:
name: "mdi:broom"
x: 27850
y: 26575
- id: 18
outline:
- - 30350
- 26750
- - 30350
- 28950
- - 32400
- 28950
- - 32400
- 26750
label:
text: Room 18
x: 31375
y: 27850
offset_y: 35
icon:
name: "mdi:broom"
x: 31375
y: 27850
- id: 1
outline:
- - 30700
- 28300
- - 30700
- 33100
- - 36050
- 33100
- - 36050
- 28300
label:
text: Room 1
x: 33375
y: 30700
offset_y: 35
icon:
name: "mdi:broom"
x: 33375
y: 30700
- id: 19
outline:
- - 27950
- 30250
- - 27950
- 33150
- - 31350
- 33150
- - 31350
- 30250
label:
text: Room 19
x: 29650
y: 31700
offset_y: 35
icon:
name: "mdi:broom"
x: 29650
y: 31700
- id: 16
outline:
- - 24550
- 31000
- - 24550
- 33150
- - 27850
- 33150
- - 27850
- 31000
label:
text: Room 16
x: 26200
y: 32075
offset_y: 35
icon:
name: "mdi:broom"
x: 26200
y: 32075
Issue Analytics
- State:
- Created a year ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Room Cleaning starts Bot and Stops it immediately after ...
Go to Plugins tab and click on Settings for "Homebridge Xiaomi Roborock Vacuum". Scroll down, activate the checkbox for "Automatic Room ...
Read more >Official Roborock Community Group | Update: - Facebook
Update: Roborock sent some suggestions--didn't work. One was to take out the bin and tap the robot. Assume I've done that and obvious...
Read more >Can I make the robot cleaner clean specific rooms?
Yes. Enable map saving mode and simply tap on the room you want cleaned in the app and the robot will clean that...
Read more >Xiaomi Mi Robot Vacuum 1S - Blakadder's
Targeted Room Cleaning First you need to define rooms in the Mi Home App after the vacuum has mapped everything. Room numbering typically ......
Read more >homebridge-xiaomi-roborock-vacuum/CHANGELOG.md
66, - [Bug] Some `roborock.vacuum.m1s` require Viomi command to clean rooms and some others Roborock's way :scream: (#141 & #215).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, everything works for me.
Thank you so much for explaining the issue, the extremely quick response and for creating this awesome piece of software.
Well, button to start room/zone cleaning purposefully has background set to the primary color to make it look more important + it has a small icon with currently selected mode. Repeat counter is also usable only in room/zone cleaning mode, so I think it is located in a good place.
Cleaning only around the docking station must be something vacuum-specific, in other cases it just starts a full cleaning.
Soooo, can you confirm if everything works for you?