bmartin5692 / bumper

A standalone and self-hosted implementation of the central server used by Ecovacs vacuum robots.
GNU General Public License v3.0
302 stars 50 forks source link

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

Closed slev1n closed 3 years ago

slev1n commented 3 years ago

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):

Smartphone (please complete the following information):

Vacuum (please complete the following information):

ghost commented 3 years ago

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

d4rkd3v1l commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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