Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ecovacs Home App not working on IOS since Version 2.0.0 #114

Closed
slev1n opened this issue Mar 27, 2021 · 6 comments · Fixed by #116
Closed

Ecovacs Home App not working on IOS since Version 2.0.0 #114

slev1n opened this issue Mar 27, 2021 · 6 comments · Fixed by #116

Comments

@slev1n
Copy link

slev1n commented Mar 27, 2021

Describe the bug
Ecovacs Home App not working on IOS since Version 2.0.0.
Error on data transmission (api not found 404)

To Reproduce
Open the App

Expected behavior
App is working

Screenshots
PNG-Bild
.

Desktop (please complete the following information):

  • IOS and IPadOS

Smartphone (please complete the following information):

  • Device: iphone X and Ipad Mini
  • OS: 14.4.1

Vacuum (please complete the following information):

  • Model: Deebot 901
@ghost
Copy link

ghost commented Mar 29, 2021

I have the same issue. Any advice what’s required to fix the issue?

@d4rkd3v1l
Copy link

d4rkd3v1l commented Mar 31, 2021

Same here.

iPhone 12 Pro
iOS 14.5 public beta 5.
Deebot 950

Also pretty sure it broke with the 2.0.0 Ecovacs App update. Probably breaking API changes?

@edenhaus
Copy link
Contributor

edenhaus commented Apr 2, 2021

The app uses new endpoints, which does not yet exist in bumper. Therefore bumper will return the status code 404 (not found).

Hopefully I have time next week and can add some of them.

@schwatter
Copy link

schwatter commented Apr 11, 2021

@edenhaus

Bumper is running. I also get fhem connected to bumper with mqtt. I tried to connect now the app with bumper, but no luck.
I copied your new plugins in the bumper/plugins folder. Restartet bumper. I tested with cert on Android 5 and 10.
I always get in the App first error (101,-9001) and then next (204,-9001) .

Pihole is running wit dnsmasq.

address=/ecouser.net/192.168.178.6
address=/ecovacs.com/192.168.178.6
address=/ecovacs.net/192.168.178.6
address=/puplic.itls.eu-central-1.aliyuncs.com/192.168.178.6
address=/portal-ww.ecouser.net/192.168.178.6
address=/mq-ww.ecouser.net/192.168.178.6
address=/api-app.dc-eu.ww.ecouser.net/192.168.178.6
address=/users-base.dc-eu.ww.ecouser.net/192.168.178.6
address=/jmq-ngiot-eu.dc.ww.ecouser.net/192.168.178.6
address=/lbo.ecouser.net/192.168.178.6
address=/api-app.dc-eu.ww.ecouser.net/192.168.178.6
address=/msg-eu.ecouser.net:5223/192.168.178.6
address=/jmq-ngiot-eu.area.ww.ecouser.net/192.168.178.6
address=/api-rop.dc-eu.ww.ecouser.net/192.168.178.6

Any advise?

edit:
On Android HttpCanary is running. So Https sniffing is not a problem. If you need something, guide me.

cheers schwatter

@edenhaus
Copy link
Contributor

@edenhaus

Bumper is running. I also get fhem connected to bumper with mqtt. I tried to connect now the app with bumper, but no luck.
I copied your new plugins in the bumper/plugins folder. Restartet bumper. I tested with cert on Android 5 and 10.
I always get in the App first error (101,-9001) and then next (204,-9001) .

Pihole is running wit dnsmasq.

address=/ecouser.net/192.168.178.6
address=/ecovacs.com/192.168.178.6
address=/ecovacs.net/192.168.178.6
address=/puplic.itls.eu-central-1.aliyuncs.com/192.168.178.6
address=/portal-ww.ecouser.net/192.168.178.6
address=/mq-ww.ecouser.net/192.168.178.6
address=/api-app.dc-eu.ww.ecouser.net/192.168.178.6
address=/users-base.dc-eu.ww.ecouser.net/192.168.178.6
address=/jmq-ngiot-eu.dc.ww.ecouser.net/192.168.178.6
address=/lbo.ecouser.net/192.168.178.6
address=/api-app.dc-eu.ww.ecouser.net/192.168.178.6
address=/msg-eu.ecouser.net:5223/192.168.178.6
address=/jmq-ngiot-eu.area.ww.ecouser.net/192.168.178.6
address=/api-rop.dc-eu.ww.ecouser.net/192.168.178.6

Any advise?

edit:
On Android HttpCanary is running. So Https sniffing is not a problem. If you need something, guide me.

cheers schwatter

Please comment next time directly on the PR and as written in the description of the PR: „This PR is work in progress and currently not all endpoints are implemented. Feel free to test it and also to add some of the missing ones.“

I haven‘t implemented yet all endpoints. Currently all endpoints for the new auth are missing... Ecovacs uses since v2 oauth.
Analysing each request the app makes is time consuming and therefore I have open the PR as draft so others can help me. Please feel free to analyse the requests yourself. I‘m planning only to analyse the ios app. I don‘t think the android one will make different calls but you never know.

@edenhaus
Copy link
Contributor

Hi everyone,

I was finally able to control my robot with the app (without some dirty hacks). If you want you can try it out now.

Attention my PR is still in beta and I don't guarantee that everything is working. Please follow the testing instruction in the PR description. Ecovacs introduce some new domains (sub sub domains). As I'm connecting from Italy, I have only added the italian (europe) used domains. Please feel free to comment in the PR if your app uses different ones.

At the end please comment every feedback directly in the PR #116

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

Successfully merging a pull request may close this issue.

4 participants