Skip to content
This repository was archived by the owner on Apr 5, 2021. It is now read-only.

Ozmo950 - Json Communication #80

Open
bmartin5692 opened this issue Sep 29, 2019 · 5 comments
Open

Ozmo950 - Json Communication #80

bmartin5692 opened this issue Sep 29, 2019 · 5 comments

Comments

@bmartin5692
Copy link

Working on Bumper I've found that the Ozmo950 and possibly other newer bots are using a new communication method. All commands to bots are being sent in json instead of xml.

This is incompatible with Sucks and these bots won't work until a solution is found.

Sucks currently assumes all commands are xml. It takes commands and wraps them in a json payload for the Ecovacs API, but forces a payloadType "x" for xml as opposed to a "j" for json.

I haven't been able to find a switch or status in order to determine which bot models this would be needed for, but believe it is hard coded in the Ecovacs App based on the "UILogicID" of bots.

Example clean command from Ozmo950:

{
  "body": {
    "data": {
      "act": "start",
      "count": 1,
      "donotClean": 0,
      "router": "plan",
      "type": "auto"
    }
  },
  "header": {
    "pri": 1,
    "ts": "1569380082176",
    "tzm": -240,
    "ver": "0.0.50"
  }
}
@KoelnSolar
Copy link

KoelnSolar commented Sep 30, 2019

answer to bmartin5692/bumper#51
Yes, I'm able to run the bot with the ecovacs home app 1.2.0(currently I'm installing new version of the 5 days old version).
With bumper I get access, but no reaction on sending commands. Just the information the bot sends periodically.
Problem here: since I'm a hater off monopolists, I'm running the app in an android emulation environment on Win-Tablet. Wireshark is installed on another Win-PC and tcpdump on Rpi. I decrypted messages between bumper, app and bot. But how may I do that without having the certificate to decrypt messages between ecovavcs-servers, app and bot ?

Interesting meaning of j and x in topics !

Edit: app version is now 1.2.1 Problem still the same.

@yoyotogblo
Copy link

Wondering if there's any update on this? Thanks

@KoelnSolar
Copy link

Still discussed here bmartin5692/bumper#51 and maybe solved for OZMO 950 ?

@yoyotogblo
Copy link

Thanks! Asking on that thread for confirmation

@Vorms
Copy link

Vorms commented May 26, 2020

I am very interested about an integration for the deebot 950 from Ecovacs.
Please, take me informed !

Best regards and many thanks for your work !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants