-
Notifications
You must be signed in to change notification settings - Fork 7
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
Current room detection doesn't work well with non-rectangular rooms #261
Comments
@andrey-yantsen thanks for your report, I will check it soon, at the moment I'm working on other items for the next release but surely will do my best to fix this. Sorry for the inconvenience anyway. Thanks for your feedback. |
@andrey-yantsen I did some investigation and you are correct the update of the robot in_room of course depends from the room proprieties. It's a little complicated and I did try already in the past, but I think that the rooms coordinates, instead of a box could be more.. detailed. Unfortunately although I can't work on it in the immediate. but will do my best to fix it, as this is a valuable input. |
Yeah, I expected it might not be that straightforward. Thanks for looking into this, anyway! |
@andrey-yantsen I had an idea and I will test it soon. |
Haha, that's bold! :D Great idea, I love it. Thank you for still thinking about it! I'm guessing Valetudo does not report the room borders in an easily digestible way? |
We get front the vacuum a json with "compressed" coordinates and nope no in_room payload... there could be a method to use the walls to calculate the boundaries.. also processing wise this kind of operations are quite heavy to do in python and Numpy. And to be honest selection of the room do not use a box segment requires only the segment ID and when the segment is selected for cleaning it fades as color. |
Checklist
The problem
Firstly, thank you for the integration! It saved me a lot of time after I started using Valetudo.
I'm not sure if it's really a bug-report, or more of a feature request, but anyway. I have seven rooms on the map, defined as per screenshot below. When the robot is in the room 2, the integration reports it as being in the room 1. And room 4 is often being reported as room 3 (and sometimes 6).
Would it be possible to improve room detection for such cases?
What version of an integration has described problem?
v2024.10.0
What was the last working version of an integration?
No response
What vacuum model do you have problems with?
Roborock S7
Please firmware installed on your Vacuum.
No response
What type of platform you use?
VEMLinux (Virtual Machine) such as Proxmox, VMWare, etc.
What version of Home Assistant do you use?
2024.10.3
What type of installation are you running?
Home Assistant OS
Logs or Errors shown in the HA snapshots (please enable the Debug Mode) text will be auto formatted to code.
No response
Function, that in your opinion is creating the issue.
Not sure / none of the above.
Additional information
No response
The text was updated successfully, but these errors were encountered: