DeebotUniverse / Deebot-4-Home-Assistant

Home Assistant integration for deebot vacuums
https://deebot.readthedocs.io/integrations/home-assistant/
GNU General Public License v3.0
181 stars 39 forks source link

"Mopping Pads Cleaning" command #418

Open alpxp opened 11 months ago

alpxp commented 11 months ago

Question

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

Additional information

No response

edenhaus commented 11 months ago

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.

alpxp commented 11 months ago

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?

edenhaus commented 11 months ago

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.

NEVdataDyne commented 11 months ago

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