Ecovacs Home 2.4.4 for Android shows Java error on login #138
Labels
No labels
bug
dependencies
duplicate
enhancement
good first issue
help wanted
invalid
question
waiting for fix validation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/bumper#138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Ecovacs Home 2.4.4 for Android shows Java error seen in attached screen capture ("Value Y of type java.lang.String cannot be converted to JSONObject(null,-1)") when I click the Log In button. I do not face this problem when using Ecovacs Home 2.0.0 on same Android device.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect the app to login and proceed to list of robots.
Screenshots

Screenshot attached.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Vacuum (please complete the following information):
Additional context
I am using old device so I can install bumper certificate on Android 6.0 without rooting my device.
Change this json response value to
"value": "{\"publicKey\":\"public key or something\"}"bumper_confserver_v1_private_common.py
@lehoangnb : Thanks for your response. Should I put the literal string "public key or something" or should I replace it with the public key of the bumper certificate? I am using docker image so I am not sure how to propagate this change to docker image.
I have decrypted the packet from ecovacs app to the server using mitm, I see that is a random string like md5.
Just change the file and rebuild docker image
If u dont want to change anything, use older version of ecovacs app (2.1.3 or below)