Skip to content
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

Clean / dirty water tanks levels #463

Open
1 task done
kuja87 opened this issue Jul 21, 2023 · 4 comments
Open
1 task done

Clean / dirty water tanks levels #463

kuja87 opened this issue Jul 21, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@kuja87
Copy link

kuja87 commented Jul 21, 2023

Is there an existing issue for this?

  • I have searched the existing issues and no issue is describing my feature request or idea

Is your feature request related to a problem?

Can be useful for refill planning

Suggested solution

A sensor for each tank with a percentage or levels (hi / mid / low)

Api example request

No response

Alternatives you've considered

No response

Additional information

No response

@kuja87 kuja87 added the enhancement New feature or request label Jul 21, 2023
@edenhaus
Copy link
Contributor

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

@kuja87 kuja87 closed this as completed Jul 21, 2023
@kuja87 kuja87 reopened this Jul 21, 2023
@kuja87
Copy link
Author

kuja87 commented Jul 21, 2023

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?

@edenhaus
Copy link
Contributor

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

@RosemaryOrchard
Copy link

RosemaryOrchard commented Jul 31, 2023

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

@edenhaus edenhaus transferred this issue from DeebotUniverse/Deebot-4-Home-Assistant Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants