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

Cannot connect to WalkingPad x21 #4

Closed
Belgian-Coder opened this issue Jul 30, 2022 · 2 comments
Closed

Cannot connect to WalkingPad x21 #4

Belgian-Coder opened this issue Jul 30, 2022 · 2 comments

Comments

@Belgian-Coder
Copy link

Look like a great project!

I am currently trying to write an api for controlling my WalkingPad x21. Currently, I am trying different Github projects like yours but it seems that nothing is working at this time. On connecting to the treadmill I keep getting does not appear to be a WalkingPad.

Can you help me in understanding the process to write or adapt your implementation?

image

@DorianRudolph
Copy link
Owner

It looks like the program fails to connect. How does the pairing process to your walkingpad over the phone work? Do you have to use NFC? My walkingpad happily accepts any incoming connection when not paired to another device at that moment.

You could try my minimal python example from here and see if it does anything rytilahti/python-miio#797 (comment)

To reverse engineer the protocol, you can use the android app and record the BLE messages with Wireshark (https://support.honeywellaidc.com/s/article/How-to-capture-Bluetooth-traffic-from-and-to-an-Android-Device) to see what the app is doing. Initially I was just using this approach to reverse engineer the BLE protocol, which got me to the above python script. Later I decompiled the old version of the android app, which was still written in java with jadx. The newer versions are written in flutter which is not so easy to decompile. If I recall correctly, I used version 1.6.1 from https://m.apkpure.com/walkingpad/com.walkingpad.app/versions Does that app version work with your walkingpad?

@Belgian-Coder
Copy link
Author

The pairing on my phone was me just opening the app on IOS and selecting the proposed WalkingPad. NFC is possible with the WalkingPad but haven't used this yet.

Unfortunately, I don't have any Android phones/tablets available to me.
I am going to look into the Wireshark to check if it's compatible with IOS but I doubt this will be an option.

Will try the Python project as well, couldn't get the full solution to run but was only trying for half an hour so I will give this some more effort. Thanks for your help!

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

No branches or pull requests

2 participants