Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Proform 6.0 Sport Treadmill - Pi3 - Stuck at Retrieving information #25

Open
kcface opened this issue Dec 3, 2020 · 3 comments
Open

Comments

@kcface
Copy link

kcface commented Dec 3, 2020

Describe the bug
Stuck at "retrieving information from treadmill 6/7"

To Reproduce
Steps to reproduce the behavior:

  1. Setup following instructions on p3 (note, Node.JS is ver 15.3.0)
  2. Ran NPM Install from Zwifit folder
  3. Ran NPM start, got the following:
`Welcome to Zwifit!
Do you want to use metric units (KPH)? (Answer Y or N) n
Is your treadmill Bluetooth (Y) or WIFI (N) based? (Answer Y or N) y
Switch on your treadmill, press the connect button and enter the code shown on the display 6f85
Now you need to call "npm run enable-ble" to get access to your
Bluetooth equipment by using the treadmill's manufactor's app...

`
4. ran npm run enable-ble, and get:

> zwifit@1.1.0 enable-ble
> node src/ble/enable.js

Turn on your treadmill!
Found treadmill name with code 6f85 and name I_TL
(node:3005) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Connected to treadmill...
Discovered all treadmill services...
Retrieving information from treadmill...
1/7
2/7
3/7
4/7
5/7
6/7

Let it sit for a while (5-15min) - no result. sudo restart doesn't fix. web UI never loads either.

Curious if I setup wrong.

Expected behavior
Imagine if run correctly it'd pair and let me connect w/ zwift

Screenshots
attached
ss

@kcface
Copy link
Author

kcface commented Dec 3, 2020

Update:

  • Patched/updated my treadmill firmware, rebooted everything, got connected.

  • Ran NPM start again, all paired

  • Launched treadmill app as required (had to register and all of that), and everything kicked in and connected

All looked great, Zwift saw both the Zwifit transmitting and I_PL devices. Pairing worked, however, pace/speed would not update on the app/zwift. Web GUI would let me change speed and the tread would go to that speed, but then the web interface will go back to 0 and never update zwift.

Will review prior issues logs to see if this is a known bug.

@stevehine
Copy link
Contributor

stevehine commented Feb 6, 2021

Hey @kcface
Interesting; I'm just testing this on a Proform 545i - and I get the same.
I've done some basic debugging; and it looks like all that's coming back is the incline I can see that change when I adjust it on the treadmill. Will do some more investigation and see if I can find anything out..

<Buffer 01 04 02 0e 04 0e 02 02 00 00 00 00 02 00 00 fa 00 12>
kph: 0
{
Pulse: { pulse: 0, average: 0, count: 0, source: 'No' },
Mode: 2,
CurrentKph: 0,
CurrentIncline: 2.5
}

@stevehine
Copy link
Contributor

@kcface - a PR to hopefully resolve this has just been merged. Could you pull the latest and let me know if it fixes your issue ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants