zwifit
zwifit copied to clipboard
Issue with ProForm Hybrid Trainer
Installed everything on my RPI 3B+, no issues there. When running, I see
i@raspberrypi:~/zwifit $ npm run enable-ble
[email protected] enable-ble /home/pi/zwifit node src/ble/enable.js
Turn on your treadmill!
Found treadmill name with code f3b6 and name 3815_Ifit_Bike
(node:7554) [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
Trace: ERROR: checksum invalid
at processPeripheralError (/home/pi/zwifit/src/ble/enable.js:68:10)
at /home/pi/zwifit/src/ble/enable.js:177:4
at /home/pi/zwifit/src/ble/ifit/_request.js:228:4
at reportError (/home/pi/zwifit/src/ble/ifit/_request.js:666:3)
at Characteristic.listener (/home/pi/zwifit/src/ble/ifit/_request.js:654:6)
at Characteristic.emit (events.js:315:20)
at Noble.onRead (/home/pi/zwifit/node_modules/noble/lib/noble.js:414:20)
at NobleBindings.emit (events.js:315:20)
at NobleBindings.onNotification (/home/pi/zwifit/node_modules/noble/lib/hci-socket/bindings.js:448:8)
at Gatt.emit (events.js:315:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] enable-ble: node src/ble/enable.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] enable-ble script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-08-25T16_09_52_364Z-debug.log 2020-08-25T16_09_52_364Z-debug.log
Log attached. Is it just not compatible?