Experiencing some hiccups while trying to connect my Proform Bike to custom applications. After some initial troubleshooting, I’ve made a bit of progress, but still running into a couple of snags.
Initially, it seems using a lowercase Bluetooth ID made a difference, as did ensuring the iPad app was closed. Now, the system can at least find the machine, as indicated by the message: “Found fitness machine name with code c50a and name I_SB”. It feels like I’m getting closer, but these two issues are still preventing a stable connection:
-
After running ‘npm run enable-ble’, the machine is discovered, but I receive a “DeprecationWarning” message: “(node:2770) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), Buffer.from() methods instead:”. Despite this warning, the process continues and prompts me to open the manufacturer’s app. When I launch the iFIT app on my iPad and attempt to pair, the iFIT app immediately crashes and closes. Simultaneously, the console displays the following sequence: “Connected to the app… ” then “Disconnected from the app.” followed by “Disconnected from fitness machine,” and finally, returns to the terminal prompt.
-
On subsequent attempts, after the same “DeprecationWarning” message appears, the process simply returns to the terminal prompt without proceeding further.
I noticed a message suggesting an npm update to version 6.14.5, which I haven’t done yet. I’m unsure if this is related to the issues I’m seeing. I will update npm to see if it resolves anything, but I’m also wondering if the “DeprecationWarning” indicates that function calls in the code might need to be updated due to the Buffer()
deprecation.
It’s worth noting that the iFIT app connects to the ProForm bike without issues for regular workouts and Google Rides. This setup is on an iPad Gen 3 (iOS 9.3.5). Checking the firmware information within the app, it reports the machine firmware as 81_228, while the latest machine firmware listed is 79_15, and it indicates that my machine is up to date. Machine info shows console software version: 81, console hardware version 1. In the settings, the app version number is 1.0.11, and the version code is 1.110.
For context, I am using node-v13.8.0, as this version was previously reported as successful. The setup is running on a Raspberry Pi Zero W, and I installed the zwifit package from the specified fork, as the main repository seemed to lack the necessary BLE components.
Any insights or suggestions on resolving these connectivity problems with my ProForm bike and custom applications would be greatly appreciated.