Deebot-4-Home-Assistant icon indicating copy to clipboard operation
Deebot-4-Home-Assistant copied to clipboard

"Mopping Pads Cleaning" command

Open alpxp opened this issue 1 year ago • 4 comments

Question

Does "Mopping Pads Cleaning" command exist? I only found how to Empty the dustbin. Thank you

Additional information

No response

alpxp avatar Sep 10 '23 13:09 alpxp

For sure, a command exists for it. We only don't know it. Ecovacs has no publicly accessible documentation of the commands, and all commands used in this integration have been found by inspecting the communication between the app and the robot.

Please feel free to analyze the traffic and add the command :) I cannot do it as I don't have your model.

edenhaus avatar Sep 11 '23 07:09 edenhaus

I see. I think I should be able do it. Is the traffic not encrypted? Should I used traffic sniffer and look for http-like commands?

alpxp avatar Sep 11 '23 07:09 alpxp

I always sniff the traffic between the app and the ecovacs servers. There is no direct communication with the bot. As the connection is using https, you need a proxy. I use mitmproxy to capture and analyze the traffic. If you are familiar with docker, you can quickly spin up the container and analyze the traffic from the UI.

edenhaus avatar Sep 11 '23 09:09 edenhaus

This question is answered in issue DeebotUniverse/client.py#441

NEVdataDyne avatar Sep 29 '23 09:09 NEVdataDyne