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

Issue with ProForm Hybrid Trainer #18

@Klyick

Description

@Klyick

Installed everything on my RPI 3B+, no issues there. When running, I see

i@raspberrypi:~/zwifit $ npm run enable-ble

zwifit@1.1.0 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! zwifit@1.1.0 enable-ble: node src/ble/enable.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zwifit@1.1.0 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions