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

[BUG] Proform Pro 2000 Not Connecting #118

Closed
bagspacked opened this issue Oct 19, 2024 · 43 comments
Closed

[BUG] Proform Pro 2000 Not Connecting #118

bagspacked opened this issue Oct 19, 2024 · 43 comments
Labels
wontfix This will not be worked on

Comments

@bagspacked
Copy link

Hi,
I have a Proform Pro 2000. I completed the setup via ADB and it worked. I'm a little confused about which options to select on the treadmill and in the app, there is a Proform (not Pro) 2000 option. I have tried a bunch of different settings and can't seem to get the tiles to update no matter what I try. The tiles don't update. I am putting the treadmill IP in the Nordic Track (not Pro Form) box. Let me know if there's a fix I might try.
Thanks

@bagspacked bagspacked changed the title Proform Pro 2000 [BUG] Proform Pro 2000 Not Connecting Oct 19, 2024
@cagnulein
Copy link
Owner

cagnulein commented Oct 19, 2024 via email

@bagspacked
Copy link
Author

Thanks for your quick response. Here is the debug log
debug-Sat_Oct_19_15_06_48_2024.log

@cagnulein
Copy link
Owner

cagnulein commented Oct 20, 2024 via email

@bagspacked
Copy link
Author

bagspacked commented Oct 20, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Oct 20, 2024 via email

@bagspacked
Copy link
Author

Ah of course here you go. I tried both the 1750 and 1750 2020 profile as I believe my treadmill is from 2020
debug-Sun_Oct_20_06_55_03_2024.log

@cagnulein
Copy link
Owner

cagnulein commented Oct 20, 2024 via email

@bagspacked
Copy link
Author

bagspacked commented Oct 20, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Oct 20, 2024 via email

@bagspacked
Copy link
Author

bagspacked commented Oct 20, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Oct 20, 2024 via email

@bagspacked
Copy link
Author

bagspacked commented Oct 20, 2024

Excellent, I can now see the relevant data on the tiles. I cannot control the treadmill from the QZ app, though. With this connection method, is it possible to control the treadmill remotely as well (from the QZ app or a third party app)?
Thank you for your help

@bagspacked
Copy link
Author

Also, the output seems to be reversed between km and miles. In other words, my treadmill is reading out miles per hour but the app seems to think they are in km. I have tried to adjust the toggle but either way it doesn't report correctly.
Thanks once again for helping to troubleshoot.

@cagnulein
Copy link
Owner

cagnulein commented Oct 20, 2024 via email

@bagspacked
Copy link
Author

Hi, I have tried to run the adb-screenshot-mac.sh by typing bash and the script address. When I do this it asks for the treadmill IP, then it runs pings successfully, but then it it says no such file or directory. Am I following the correct procedure?

@cagnulein
Copy link
Owner

cagnulein commented Oct 20, 2024 via email

@bagspacked
Copy link
Author

Ok, the prior error was my mistake in how I was executing the command in Terminal. Now I fixed that, but it doesn't seem able to connect to the treadmill.

priggy@MacBook-Air ~ % cd /Users/priggy/Downloads/QZCompanionNordictrackTreadmill-master/InstallPackage/                  
priggy@MacBook-Air InstallPackage % bash adb-screenshot-mac.sh
Enter treadmill IP address: 192.168.1.53
PING 192.168.1.53 (192.168.1.53): 56 data bytes
64 bytes from 192.168.1.53: icmp_seq=0 ttl=64 time=27.585 ms
64 bytes from 192.168.1.53: icmp_seq=1 ttl=64 time=15.324 ms
64 bytes from 192.168.1.53: icmp_seq=2 ttl=64 time=17.772 ms
64 bytes from 192.168.1.53: icmp_seq=3 ttl=64 time=11.536 ms

--- 192.168.1.53 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.536/18.054/27.585/5.934 ms
disconnected everything
* daemon not running; starting now at tcp:5037
* daemon started successfully
failed to connect to '192.168.1.53:5555': Connection refused
List of devices attached

adb: no devices/emulators found
adb: error: failed to get feature set: no devices/emulators found
adb: no devices/emulators found
priggy@MacBook-Air InstallPackage % 

@cagnulein
Copy link
Owner

Hi @bagspacked i created a new version of the script, you can find it here

https://raw.githubusercontent.com/cagnulein/QZCompanionNordictrackTreadmill/refs/heads/master/InstallPackage/adb-screenshot-mac.sh

let's see if it's better, i used the same behaviour of the installer, so it should work
Let me know

@bagspacked
Copy link
Author

bagspacked commented Oct 24, 2024 via email

@cagnulein
Copy link
Owner

no it's a different error. it seems that you didn't put the file into the installation folder because it can't find adb
let me know

@bagspacked
Copy link
Author

bagspacked commented Oct 25, 2024 via email

@cagnulein
Copy link
Owner

yeah seems so. what do you change from the time that you are able to install the companion to now? i mean adb was working at the beginning but it seems that it stops then. We have to figure out this, but unfortunately only you can understand if there is something that happens that close the adb port. @victorypoint do you have any idea?

@bagspacked
Copy link
Author

bagspacked commented Oct 25, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Oct 25, 2024 via email

@mong00se007
Copy link

Hi Roberto,
Just got my Proform Pro 2000, and was looking at a way to get run data into home assistant, and this seems like the best solution. I receive the the data in the app o.k but speed and incline cant be adjusted. however when I select incline it does pause the workout, so the feed back is there. Anyway I have attached two screenshots of the display. (as that is what looked like this thread was trying to do. )

In the app under specific model I left it at Nordictrack S25 and filled in the IP address under Nordictrack 2950 IP:

Thanks for making an awesome app :)
06-11-2024@14-50-34 14
06-11-2024@14-52-29 12

@cagnulein
Copy link
Owner

Thanks I will add these ASAP!

@mong00se007
Copy link

thank you!

@cagnulein
Copy link
Owner

hi @mong00se007 sorry for the delay. I just checked your screenshot and the proform 200 device in the companion should be already right for your device. did you try it? if it wasn't set to this before, set it and reboot the treadmill
let me know!

@mong00se007
Copy link

Hi Roberto,
So I tried setting it to Proform 2000 (not pro)
I then tried putting the ip under the Proform, but then it would not connect, so I set it back under the Nordictrack 2950 IP and then it does connect.
It updates when I adjust on the treadmill in the app
but not when I change the speed in the app back on the treadmill.
ADB Remote is on.

Im using Android and the app version is 2.16.66

Thank you :)

@cagnulein
Copy link
Owner

But do you see a reaction on the touchscreen of the treadmill when you try to change speed from qz?

@mong00se007
Copy link

It responds when I do a height adjustment on the app. similar to just touching the middle of the screen, when I do a speed adjustment in the app it does nothing.

Thank you.

@cagnulein
Copy link
Owner

Hah i guess I understood the issue. Disable the adb remote and restart qz and let me know!

@mong00se007
Copy link

Hi,
Still the same, restarted the app and the treadmill afterwards, when I click on the speed it does nothing and incline is a touch on the screen but does not control it. both up and down touch on the same area of the screen. (managed to enable show touches on the screen so see the dot below the incline, in the photo)
20241117_115627

@cagnulein
Copy link
Owner

Can you collect the adb logcat from the tablet while you are doing this? I guess there is a missing piece because it should already work

@mong00se007
Copy link

I'll do it in the morning, just to check I just download the logs through the app?
as in https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

I also saw that the Nordictrack T6.5 has a 10" screen so ill try that as well.
Thank you for your patience :)

@cagnulein
Copy link
Owner

You can start with the log from the qz app but I like more the log from the companion. There is a debug log script in the installation folder to get it

Let me know!

@mong00se007
Copy link

Changing to T6.5 didnt make a difference. I also tried changing the screen size in settings, as it wasnt on default but that did not help as far as I know, please find attached the logs. at 10:07 I clicked on the adjustment a few times.

P.S Just saw the interview you did https://www.youtube.com/watch?v=30hzZM3ETqQ very insperational, a feature I definetly will be using is the adjusting of speed acording to heart rate, as I like to run fast, but currently am not fit enough to do so. :)
2024-11-18.logs.txt
2024-11-18_logs.txt

Thank you,
Lawrence

@cagnulein
Copy link
Owner

hi @mong00se007 i checked the log but there is no sign of QZ companion at all there! so strange: the only possibility is, where you still on the manual workout when you collect the logs? because ifit could remove the logs when you press stop on the manual workout.
Let me know

@Wilson-Micah
Copy link

Hi @cagnulein I picked this up yesterday to see if I could get working with my ProForm Pro 2000 treadmill (2018 version with 7' screen) and ran into similar issues as reported here. Was unable to get any data sending with original version, but after installing the OCR version I am able to see data being sent to the QZ app.

Two issues I'm seeing:

  1. After pulling a screenshot and looking through the source code I found that the exp7i was going to be closest in lining up the pixels for slider touches. The speed will increase, but incline seems to always decrease I assume because my treadmill has 15% incline and the exp7i only has 10 so the positions are slightly off. I'll attach a screenshot.

  2. The OCR companion app does seem to always assume the treadmill is in metric. I set it to metric to get the data correct and take a screenshot but I'd prefer imperial. I may try and modify the code and try and fix these issues myself as I am a software engineer although not an Android one. I would appreciate it if you can guide me in the right direction to fixing this.

2024-12-02@08-35-58

@cagnulein
Copy link
Owner

2. The OCR companion app does seem to always assume the treadmill is in metric. I set it to metric to get the data correct and take a screenshot but I'd prefer imperial. I may try and modify the code and try and fix these issues myself as I am a software engineer although not an Android one. I would appreciate it if you can guide me in the right direction to fixing this.

sure! it's very easy. we can do even automatically! if you see the MPH instead of KPH we can send the value divided by the miles/km constant to the QZ app (qz is always in km/h in the lower layer)

  1. After pulling a screenshot and looking through the source code I found that the exp7i was going to be closest in lining up the pixels for slider touches. The speed will increase, but incline seems to always decrease I assume because my treadmill has 15% incline and the exp7i only has 10 so the positions are slightly off. I'll attach a screenshot.

great! can you do a PR changing the equation in the UDPListenerService.java

you can fork this #110

Let me know!

@Wilson-Micah
Copy link

@cagnulein I ended up making the changes and got it mostly working however the OCR version wasn't reliable enough for me to continue moving forward with it. For example when setting the speed to 7.0 the OCR would usually come back with 1.0 and would frequently match 8's to 0's. Common problem with OCR but had enough issues that I gave up on it even though I got the MPH sending correctly and the slider position in a good spot for adjusting speed and grade from the QZ app.

After this I went digging to see if I could figure out where treadmill data is being logged to in the current iFit app to try and go back to the regular version of the companion app. After looking through every log file it seems like speed and grade changes are no longer being logged on the latest version of the iFit app, at least nowhere I could find.

I've ended up just installing an old version of the iFit app and the latest companion app works fine with that.

@cagnulein
Copy link
Owner

Ok @Wilson-Micah

I'm also developing a way to get all the metrics from the serial port, this will be the right way!

Copy link

stale bot commented Dec 19, 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 Dec 19, 2024
@stale stale bot closed this as completed Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants