Git Product home page Git Product logo

Comments (4)

edenhaus avatar edenhaus commented on September 24, 2024

Have you the technical skills to analyse the traffic of your bot or app?
As my bot has no tanks, I cannot find out the correct command

from client.py.

kuja87 avatar kuja87 commented on September 24, 2024

Have you the technical skills to analyse the traffic of your bot or app? As my bot has no tanks, I cannot find out the correct command

I don't know where to begin, i have a Deebot X1 Omni with two tanks, can you suggest something?

from client.py.

edenhaus avatar edenhaus commented on September 24, 2024

Are you familiar with docker?
You could setup a man in the middle proxy and redirect the traffic of your phone through. Afterwards you will able to see all requests of the ecovacs app

from client.py.

RosemaryOrchard avatar RosemaryOrchard commented on September 24, 2024

I just ran the deebot client on my Mac and found the following in the debug logs:

DEBUG:deebot_client.vacuum_bot:Try to handle message onFwBuryPoint-bd_setting: b'{"header":{"pri":1,"tzm":60,"ts":"1690839128142","ver":"0.0.1","fwVer":"2.3.9","hwVer":"0.1.1","wkVer":"0.1.54"},"body": seeBelow}'
{"gid":"[gid]","index":"0000002627","ts":"1690839128096","id":"1771690839128096","AISL":1,"isPressurized":1,"continue":1,"DND":1,"childLock":0,"autocollect":2,"personalClean":0,"fanspeed":2,"waterAmount":1,"cleanCount":1,"personalCleanSetting":[]}

There is also:

DEBUG:deebot_client.vacuum_bot:Try to handle message onFwBuryPoint-bd_basicinfo: b'{"header":{"pri":1,"tzm":60,"ts":"1690839093028","ver":"0.0.1","fwVer":"2.3.9","hwVer":"0.1.1","wkVer":"0.1.54"},"body": seeBelow}
{"gid":"[gid]","index":"0000002617","ts":"1690839092654","id":"1031690839092654","battery":98,"chargeState":0,"onCharger":0,"robotState":1,"robotPos":"823.12,-1249.48,-1.04","chargerPos":"-264.23,-1788.42,1.34","dirtboxState":1,"mopState":2}

Through some experimentation I believe waterAmount and dirtboxState are both binary elements which are 0 when there is a problem (water top up is needed for waterAmount, and water needs emptying for dirtboxState).

This file from ecovacs.js may be useful for getting the error codes related to these and translating them: https://github.com/mrbungle64/ecovacs-deebot.js/blob/41d0b84c6bad5186147a84f2bd2443029ce889ed/library/errorCodes.json#L45

from client.py.

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.