zwifit
zwifit copied to clipboard
Proform 6.0 Sport Treadmill - Pi3 - Stuck at Retrieving information
Describe the bug Stuck at "retrieving information from treadmill 6/7"
To Reproduce Steps to reproduce the behavior:
- Setup following instructions on p3 (note, Node.JS is ver 15.3.0)
- Ran NPM Install from Zwifit folder
- 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:
> [email protected] 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
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.
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
}
@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 ?