Giter VIP home page Giter VIP logo

Comments (5)

maxpautsch avatar maxpautsch commented on June 5, 2024

can you post the content of the configuration in /etc/Valetudo ? Are the coordinates added in this file?

from valetudo.

sebdoan avatar sebdoan commented on June 5, 2024

I'll test this in the coming day as I've had to upgrade the firmware of the MiRobot and lost my root access.

On a side note, why have you elected to use a different coordinate system compared to the typical 25500 values? https://community.home-assistant.io/t/howto-xiaomi-vacuum-zoned-cleaning/51293

from valetudo.

bendews avatar bendews commented on June 5, 2024

@sebdoan the coordinate system is the same just with the values (the charging base) starting at 0.
The coordinates are in millimetres, so having the base station be 0 makes it easier to visualise going n meters forwards and n metres to the left without having to do heaps of math 😄

valetudo_X = 10000
valetudo_Y = 12000

normal_X = 25500 - 10000
normal_Y = 25500 - 12000

> normal_X: 15000
> normal_Y: 13500

from valetudo.

PBue avatar PBue commented on June 5, 2024

Hi,

I have the same problem (Release 0.0.9 with Gen 1 Vacuum).

What I also tried:
I manually extended the array in "/mnt/data/valetudo/config.json" like this:
{"spots":[],"areas":[["My Room",[[2766,9332,4653,7578,1],[3048,5835,264,10335,1]]]]}

The result:
The vacuum still only cleans the first rectangular; the second one is ignored.
And if I add another zone "My Room2" the second rectangular of "My Room" is removed again.

Hope this helps.

Happy Holidays :-)

from valetudo.

PBue avatar PBue commented on June 5, 2024

Wrote a fix for the problem while adding a rectangular to an existing zone; still investigating why the vacuum is not cleaning all rectangulars :-(

from valetudo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.