-
Notifications
You must be signed in to change notification settings - Fork 17
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
Updated method of getting localKey #25
Comments
hi i tried but i dont know what I'm doing with android studio?? can you help me to get it working please ? thanks steve |
I have managed to use the old method (using the 2.4.0 APK) by creating a new account (and pairing the robot) using the old app, I suspect the creation of an account using newer apps is using a different type of ID and switching something on the backend that the old app (2.4.0) does not recognize. I created a new account with a different e-mail and it showed the local key. After that I managed to login on my iPhone with the latest app and it works. So I do recommend to keep the old app on an android device or VM. |
@dansimau I use a similar approach to get the localKeys. but instead of mitmproxy I use fridump. link: https://github.com/Nightbringer21/fridump terminal tab 1:
terminal tab 2:
This method also works for the new X8 robovac |
looking to work on #14 soon so this issue is not important anymore. |
unfortunately this doesn't work with some vacuum, the old App will simply not find them... |
I just purchased a Robovac G30 Edge and got it running in Homebridge using this plugin. However, it was a bit of challenge. The instructions in the README did not work for me, as BlueStacks doesn't run on M1 and EufyHome 2.3.2 is no longer supported for my device.
What did not work:
The length of the provided data is not a multiple of the block length
(as described here)What did work:
What worked for me was to spy on traffic on the latest version of the EufyHome app. One of the API responses has the device ID and
localKey
.Instructions for macOS arm64:
brew install android-platform-tools
)adb install -r ./com.eufylife.smarthome_2021-11-25.apk
) (note: I had to increase the free space allocated to the emulator, see https://stackoverflow.com/a/35828035/417083)frida --no-pause -U -l ./frida-script.js -f com.eufylife.smarthome
localKey
Hope this is useful for someone.
The text was updated successfully, but these errors were encountered: