Ecovacs Deebot N79


(Joel W) #1

Has anyone gotten this Robot Vacuum to work with either SmartThings or Alexa?


Ecovacs N79S / Google Home / Smartthings
(Eric) #2

I have 2 of them. I haven’t tried too hard yet. They don’t seem to have posted an api. Decent vacuum for the price.


(Joel W) #3

There is a Alexa skill for the most expensive Ecovac, I installed it and as soon as my vac is delivered I will test it.


(Eric) #4

I’m not really interested in an Alexa skill. What I really want is for them to run when everyone leaves.


(Joel W) #5

I would love the same thing but have no idea how to create a way of doing it.


(Albert Louw) #6

I have two myself (dr98) and running into the api issue.
What i found sofar is that the app communicates with a server in China that controls the bots. It uses the xmpp protocol with tls encryption (which is why i didn’t get far yet). The robot itself has a listening tcp port 8111, but i haven’t been able to trace yet what it does.

I’m still tracing the network on what it does, but with all the encryption it’s quite annoying :slight_smile:

Maybe some others would like to join in and work on defining the api via reverse engineering?


(Joel W) #7

Albert, thanks for the work, I am not a programmer, so I am of no help other than to test. Let me know if you come up with something.


(Kevin) #8

This is on sale for $160 with code indicated here…


(Joel W) #9

That is a great deal to bad I have robots now.


(Albert Louw) #10

Just an update on the quest for an API.

I have been able to decode the app to server connection and found that;

  1. it connects to web services to get the userid from the email address
  2. it logs on via the web service to get a login token that it later uses in the xmpp stream (the controlling part)
  3. the xmpp stream has an interesting SASL key, but I found out how it’s build up
  4. there’s a stream of data/commands in XMPP in request/response type and some that come out-of-band.

in short; It WORKS!. I’ve been able to make a small java app that connects to the server and can send the ‘auto clean’ command and ‘return to charger’.
more commands exist, but I haven’t had the time to decode those and at the moment having some trouble with the out-of-band messages.

anyone willing to help out… you’re welcome to, I can share the findings/code so far…

KR, Albert


(Eric) #11

@Albert_Louw - I can likely help. PM me if you want.


(Albert Louw) #12

Eric,

thanks for the offer. I’ll draft up what I have solar (5 json calls over https) and the findings.
right now there’s a few things I’m still puzzled by, the realm (resource) it connects to seems fixed but I have no idea where it comes from and the bots are an xmpp recipient with an idea that I can’t seem to find where it comes from (it’s fixed, but no idea on how it’s build up).

anyway, I think mail would work best; allouw52@gmail.com

couldn’t post the debugger output of xmpp… site complains about links :frowning:


(Eric) #13

Email sent.


Ecovacs deebot M80 pro integration?
(Joel W) #14

Please keep me informed of the progress. Thanks.


(Albert Louw) #15

Another update, quite some commands are now found and the code is working now with the async xmpp responses.
Even better, i have received information on the usb port from our local support. It is used for the firmware upgrades, which means it can be done by customers themselves, provided they have the firmware files.
(For dr9x, the latest firmware is 0.6.19 which i also received).

Now to see if there’s more to be found on firmware revisions and how to obtain them the correct way.


(Joel W) #16

Is this something us non programers will be able to do?


(Albert Louw) #17

If you know how tonhandle a usb stick, you’ll be ok.
It’s pretty much a trick with keycombo to get the device act as usb share on a pc, copy the firmware file and wait for it to process.
I’ll try the process later on when i have some time.


(Joel W) #18

Can it be processed on a Mac?


(Albert Louw) #19

I should think so, actually hope so as I work on Mac as well. I don’t figure it will be a problem, the vacuum will present itself as drive over usb (as with an usbstick).
but I’ll try anyway when I have a bit of time to play with it.


(Joel W) #20

That sounds great. Keep me posted.