-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
Ecovacs Deebot issues #600
Comments
Can you also add a snapshot (created using |
Never done something like that 😅 i will try once I'm on my PC. |
Great, thank you! |
I have investigated your problems and:
|
Thanks, i will wait for the next release/beta to test predefined zone cleaning. But zone cleaning is what i really care about, as i use it a lot, so it would be nice if it works.
the robot gose the the right place on the map. |
According to the documentation
Does this version work as well? service: vacuum.send_command
target:
entity_id: vacuum.windy
data:
command: custom_area
params:
coordinates: 198, 781, 1332, 1911 You can try to use following cofig (you have to adjust coordinates of icons/zones): type: custom:xiaomi-vacuum-map-card
entity: vacuum.windy
vacuum_platform: DeebotUniverse/Deebot-4-Home-Assistant
map_source:
camera: camera.windy_live_map
map_locked: true
two_finger_pan: true
calibration_source:
calibration_points:
- vacuum:
x: 198
y: 781
map:
x: 240
y: 401
- vacuum:
x: 198
y: 1991
map:
x: 240
y: 469
- vacuum:
x: 1332
y: 1991
map:
x: 310
y: 469
map_modes:
- template: vacuum_clean_zone
- template: vacuum_clean_segment
... |
Predefined zone cleaning fixed in v2.2.1 |
Thanks boss, will try in the morning, otherwise the neighbors will call the police. |
Sorry @PiotrMachowski if I'm becoming a little bit of a headache 😅, so here we go.
Yes it worked like this too. Predefined Zone cleaning now works 👌🏻 but as Zone cleaning still doesn't create zones correctly, still can't use it. Current issues:
|
Zone cleaning doesn't have a "cleanings" parameter in the service call, so it is not available to select here. Ok, so what I need are 4 sets of coordinates made for the same zone (marked on the map):
Such data should make it possible to create a calibration for you (and possibly all other Ecovacs vacuums) |
OK:
[[358, 3388, 1890, 2508]]
[[361, -778, 1850, 145]]
[[-7539, -4372, -2899, -1738]]
[[249, 312, 342, 365]] |
Can you try these ones? - vacuum:
x: 358
y: 3388
map:
x: 249
y: 312
- vacuum:
x: 358
y: 2508
map:
x: 249
y: 365
- vacuum:
x: 1890
y: 2508
map:
x: 342
y: 365 |
@PiotrMachowski Final question 😅 is there an easy way to create outlines for the rooms, as getting the coordinates from the card gives me something like this: While i need something like this for the outlines to work: and, what about if the room not a rectangle, but a more complex shape 🤔 |
To get outline you have to change vacuum platform to "Setup integer", choose "Path" mode, mark an outline of the room and click "Copy selection" |
I've just tried it, works perfectly. Thanks a lot. |
Sorry for the late answer. But the calibration data was only meant for testing purposes by others as I currently don't have time to do it. |
@PiotrMachowski please use as described in the docs the |
@edenhaus No problem, I was aware that this might not be the final solution, but I have released it to be able to get more feedback about this functionality. Please don't treat this issue/discussion as pushing you to implement changes, I'm just trying to investigate the problem and maybe find the solution that will work for everyone.
During calculation of calibration points I have found out following differences compared to your calibration:
The card uses this approach and it seems that it doesn't work (you can check out the code here) @Anashost could you provide the service call with repeats set to 2 (using card's "copy service call" functionality)? In my case it looks the following way: {
"domain": "vacuum",
"service": "send_command",
"serviceData": {
"entity_id": "vacuum.test",
"command": "spot_area",
"params": {
"rooms": "0,1",
"cleanings": 2
}
}
} |
it looks the same as yours, but nothing happen as the entity id value stay 1 {
"domain": "vacuum",
"service": "send_command",
"serviceData": {
"entity_id": "vacuum.windy",
"command": "spot_area",
"params": {
"rooms": "5",
"cleanings": 2
}
}
} |
@Anashost how you get "one retrieved from the vacuum - the "correct" ones" without app ? |
@PiotrMachowski i have calibration my map to work correctly, but after I open the door and recleaning, images of map to change and my calibration not work correctly ?? how do i calibrate correctly no matter the size of the image ?? |
The calibration data should be static. At least I use a static formula to generate the map.
Hopefully I have time next week to give it a look. @tantai251295 Can you please share me some screenshot with before/after |
Checklist
The problem
Hey @PiotrMachowski
I've an ecovacs deebot N8 pro, which i integrated using Deebot 4 Home assistant, and working fine. I found about your really good looking UI integration but sadly some of the features doesn't work:
number of cleans cycles in Room cleaning (x1 - x2) does nothing.
zone cleaning doesn't work, so drawning a rectangle on the map, creates an (outside the map) rectangle in the deebot official app, and deebot returns to base.
Predefined zone cleaning also doesn't work, whether i get the coordinates using your integration or according to Deebot 4 home assistant docs @edenhaus , i get this error:
What version of a card has described problem?
v2.2.0
What was the last working version card?
None
What vacuum model do you have problems with?
Ecovacs Deebot N8 Pro
Which integration do you use to control your vacuum (link)?
https://github.com/DeebotUniverse/Deebot-4-Home-Assistant
What browser (browsers/apps) does have this problem?
All
What version of Home Assistant do you use?
2023.5.4
What type of installation are you running?
Home Assistant OS
Card's configuration
Javascript errors shown in the browser's console (if applicable)
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: