client.py icon indicating copy to clipboard operation
client.py copied to clipboard

Add support for "legacy" devices. (Like deebot 500)

Open Marcoske23 opened this issue 10 months ago • 2 comments

Checks

  • [x] I have searched the existing issues and no issue is describing my issue
  • [x] I have checked the FAQ
  • [x] I have checked the documentation
  • [x] I have installed the latest version

The problem

Add support for "legacy" devices

  • Deebot Slim 2
  • Deebot N79 series
  • Deebot M88
  • Deebot 500
  • Deebot 600/601/605
  • Deebot 710/711
  • Deebot 900/901
  • Deebot OZMO 610
  • Deebot OZMO 900/905
  • Deebot OZMO 930
  • Deebot OZMO Slim 10/11

These models work well with ecovacs-deebot.js.
I’m not sure how difficult it would be to apply those commands to the Python integration.

So far, I haven’t seen any of these models supported.
I don’t know how to configure my model’s capabilities (Deebot 500) in this code, but I use ecovacs-deebot.js and it works fine.
I know which commands work, which don’t, and the format of the received values.

I know the capabilities of my device, I know what values it returns (such as battery status or cleaning state), and which commands work. However, I’m not exactly sure which ones are XML or JSON, but I would like to test and find out.

How can I contribute efficiently?

I know some Python and would like to help, but I’m not sure where to start.
What would be the most efficient way for me to help?

On which deebot device (vacuum) you have the issue?

Deebot 500

Which version of the deebot-client are you using?

12.0.0

Country

US

Continent

US

Anything in the logs that might be useful for us?


Additional information

No response

Marcoske23 avatar Feb 07 '25 10:02 Marcoske23

Old bots use commands with xml instead of json. I cannot implement these commands myself as I don't have a model to test with. As you can see there are some PR open to add the first XML commands. Feel free to add the missing ones

edenhaus avatar Feb 07 '25 18:02 edenhaus

Since I own an XML robot (Deebot 900), I am already working on getting the XML commands work. But progress is slow, since my spare time is limited and ... my python skills as well. Thanks to the support of edenhaus, we have already implemented the first commands.

But please feel free to implement some XML commands. I suggest to create one PR per command. Besides ecovacs-deebot.js you can use the commands I listed as examples in #451

Some examples:

My Deebot seems do die slowly. I hope, I get the implementation finished before I cannot test anymore.

flubshi avatar Feb 09 '25 18:02 flubshi