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

iOS not connecting to NordicTrack x22i treadmill #2407

Closed
tkakkos opened this issue Jun 24, 2024 · 34 comments
Closed

iOS not connecting to NordicTrack x22i treadmill #2407

tkakkos opened this issue Jun 24, 2024 · 34 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@tkakkos
Copy link

tkakkos commented Jun 24, 2024

Describe the bug
I followed the procedure to connect to the treadmill with the QZ companion app running in the background. Permissions enabled in the settings. Many treadmill restarts do not permit a connection to the iOS app despite putting the correct ip address.

To Reproduce

Expected behavior

Screenshots
IMG_2704 2
IMG_2705
IMG_2706

Smartphone (please complete the following information):

  • Device: iPhone 14 Pro Max
  • OS: iOS 17.5.1

Append a debug log

debug-lun__juin_24_21_25_58_2024.log

Additional context
Add any other context about the problem here.

@tkakkos tkakkos added the bug Something isn't working label Jun 24, 2024
@cagnulein
Copy link
Owner

cagnulein commented Jun 24, 2024 via email

@cagnulein
Copy link
Owner

@tkakkos log checked, the problem is that your wifi router is filtering the frames from the treadmill. Which wifi router are you using? can you try to use your phone as a access point for the treadmill instead? Let me know

@tkakkos
Copy link
Author

tkakkos commented Jun 26, 2024

Hello,

I connected the treadmill to my iPhone as hotspot and I still have the same problem, no connection. I attach the log file
My router is a Unifi Dream Machine Pro, I verified the settings and there is nothing preventing network clients to communicate with each other.

Thanks in advance

debug-mar__juin_25_14_48_57_2024.log

@cagnulein
Copy link
Owner

yeah the frames are not there. did you try to do a factory reset on the treadmill WITHOUT updating the ifit app and trying again? Something is preventing the UDP frames to reach the iphone.

@tkakkos
Copy link
Author

tkakkos commented Jun 26, 2024

I did a factory reset, the app connects now to the treadmill for some seconds reporting a speed of 2km/h and then it freezes, speed and incline do not update

debug-mer__juin_26_19_57_14_2024.log

@cagnulein
Copy link
Owner

cagnulein commented Jun 26, 2024 via email

@tkakkos
Copy link
Author

tkakkos commented Jun 26, 2024

Yes, iFit app is always running on top

@cagnulein
Copy link
Owner

cagnulein commented Jun 26, 2024 via email

@tkakkos
Copy link
Author

tkakkos commented Jun 27, 2024

Uploading debug-jeu__juin_27_15_29_09_2024.log…
So I tried the other profiles:

  • With the x7.5s profile the treadmill has the same problem I encounter with the x22i profile, speed and inclination reported just for some seconds and then it is not working
  • The x8.5s profile the treadmill reports perfectly speed and inclination but I cannot change them from the qz iOS app
  • With the 2950 (22km/h) profile, data are reported perfectly fine but speed changes directly to 10km/h with the first push in the speed + button in the app, inclination changes by 1% in place of 0,5%
    I think that there is a problem with profiles as two profiles report fine the metrics, however I cannot control correctly speed and inclination with the iOS app.

Thanks in advance

@cagnulein
Copy link
Owner

that's a great news! it means that your treadmill has a different android base system. Ok i will create a new device profile in the companion to handle this. I will share the link shortly

@cagnulein
Copy link
Owner

@tkakkos could you please share the exact model of your treadmill so i will add this in the info in the companion app? Thanks!

@tkakkos
Copy link
Author

tkakkos commented Jun 27, 2024

It's a NordicTrack Commercial x22i (model: MalataMediatekArgon2) running Android 9.0.
To precise my last message, using the 2950 (22km/h) profile I can adjust inclination by 1% steps but clicking the plus or minus button for the speed does nothing appart simulating a click on the screen and bringing up the iFit menu. Pushing the + button for several seconds brings the speed directly to 10km/h. Lastly but with less importance, the fan button is not working.
Again thanks for your reactivity and help.

tempImageWaunOw
tempImageW89aq2

@cagnulein
Copy link
Owner

Ok I will do this in the next days!

cagnulein added a commit to cagnulein/QZCompanionNordictrackTreadmill that referenced this issue Jun 28, 2024
@cagnulein
Copy link
Owner

@tkakkos done https://github.com/cagnulein/QZCompanionNordictrackTreadmill/releases/download/3.3.45/QZCompanionNordictrackTreadmill.apk

select the new x22i v2 device in the companion and restart it.

If the coordinates are the same of the x22i it should also control correctly the speed and the inclination. Otherwise I will need the screenshot of the manual workout view with the sliders

let me know

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024

Its reads correctly the data but it does not control speed and inclination.
I attach a screenshot of the manual workout view

tempImagewXEWHp

@cagnulein
Copy link
Owner

but do you see the touch event when you press the plus button on the tiles on qz? like you saw on the 2950 device for example?

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024

After restarting the treadmill, speed button works 70% of the time by 0,4km/h to 0,5km/h increments, inclination button minus works at 0 degrees every time to -6 degrees but plus button doesn't work at 0 degrees. It starts to work at 3 degrees sometimes. I would say however that inclination does not work more often than it does.

debug-ven__juin_28_09_46_00_2024.log

@cagnulein
Copy link
Owner

ok it could be that the coordinates for your treadmill are different from the one that I already implemented for the x22i

use the script https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-screenshot.bat to collect a screenshot directly from the monitor, i need the precise pixel coordinates.

Otherwise you can run the swipes command from adb to obtain the coordinates if the sliders are not linear.

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024

Can you explain how I can do the screenshot from a Mac? When I run the ads-screenshot-mac.sh in Terminal I get the following error

Screenshot 2024-06-28 at 15 12 09

@cagnulein
Copy link
Owner

you have to run the adb-screenshot-mac.sh from the folder directly

so first do the cd /Volumes/downloads/QZCompanion.....

and then run it

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024

I open it inside the folder but I still have the same error

Screenshot 2024-06-28 at 16 59 23

@cagnulein
Copy link
Owner

The adb file is there?
If so run

chmod a+x adb

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024

adb file is there, I ran the chmod a+x adb and still have the same problem..

Screenshot 2024-06-28 at 18 29 03

@cagnulein
Copy link
Owner

cagnulein commented Jun 28, 2024 via email

@cagnulein
Copy link
Owner

Run it with

./adb-screenshot-mwc.sh

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024

Still the same..

Screenshot 2024-06-28 at 19 25 01

@cagnulein
Copy link
Owner

cagnulein commented Jun 28, 2024 via email

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024

Ok, that worked. Can you tell me how I can get the screenshot from the /sdcard folder?

Screenshot 2024-06-28 at 19 47 35

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024

Sorry, I found it in the folder

2024-06-28@19-45-36

@cagnulein
Copy link
Owner

cagnulein commented Jun 28, 2024 via email

@tkakkos
Copy link
Author

tkakkos commented Jun 28, 2024 via email

Copy link

stale bot commented Jul 16, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jul 16, 2024
@stale stale bot closed this as completed Jul 23, 2024
@cagnulein
Copy link
Owner

@tkakkos any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants