Giter VIP home page Giter VIP logo

Comments (7)

Geertvdc avatar Geertvdc commented on June 12, 2024 4

This feature would be awesome! I want to program My vacuum to go to the trash can after cleaning. As soon as i read an emptied dustbin and the vacuum is not docked i send him home

from valetudo.

Hypfer avatar Hypfer commented on June 12, 2024 2

To find out the bin_time value which triggers this, we're now able to (hackishly) take this https://github.com/Hypfer/Valetudo/blob/master/lib/miio/Dummycloud.js#L154 and add a readFileSync followed by a console.log for the RoboController.cfg.

Then we just wait

from valetudo.

markus0m avatar markus0m commented on June 12, 2024

There's also an event in MiIO log:
[20180830 20:57:35] [DEBUG] ot_agent_recv_handler_one(): fd:15, msg:{"id":491,"result":[{"msg_ver":8,"msg_seq":16,"state":3,"battery":99,"clean_time":63,"clean_area":1862500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":75,"dnd_enabled":1,"events":["bin_full"]}]} length:208 bytes
Seconds threshold for this is unknown

from valetudo.

Hypfer avatar Hypfer commented on June 12, 2024

Okay so I just got the message. Value was 47979, however I didn't check it for like a week so its most likely less than that.

from valetudo.

robotastic-io avatar robotastic-io commented on June 12, 2024

Any update on this? I would love to have an automation where the vacuum waits near the dust bin after a cleaning run when x days of last bin removal have passed.

Having a timestamp of last bin removal would be great for sufficient for this.

from valetudo.

rumpeltux avatar rumpeltux commented on June 12, 2024

Contributions are welcome :-)

from valetudo.

theorician avatar theorician commented on June 12, 2024

@Hypfer Did this get closed because there was a PR with this feature added, or because you're cleaning house of old issues?

Edit: Ignore me. Via this message on #133, #133 (comment), we can use https://github.com/johnDorian/rockbin. Thanks for that!

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.