Page 1 of 1

ErgometerJS hid (usb) support

Posted: September 13th, 2019, 3:04 pm
by tijmenvangulik
It was a long time ago that ErgometerJS has had an update. I have now a major update ready:

* Added usb support for pm3-5. This is supported in:
- Node (using node-hid)
- Electron ( using node-hid)
- Chrome canary with experimental features (using web-hid)
* Updated the electron projects. The switched from the native BLE to the web BLE.

You can download the source from
https://github.com/tijmenvangulik/ErgometerJS

If you want to try it live to
https://ergometer-space.org
(web hid is not yet supported in ergometer-space, but I will add it in the coming week. You can try it using the desktop apps (=electron) )

Tijmen

Re: ErgometerJS hid (usb) support

Posted: October 5th, 2019, 10:26 am
by tijmenvangulik
Another milestone for ergometerjs. I just added cordova usb support.

Tijmen

Re: ErgometerJS hid (usb) support

Posted: September 13th, 2020, 6:31 am
by wmmnpr1
Hi Tijmen,
Congratulations on creating a nice library. You've certainly done a nice job at abstracting away the complexities of PM communication via usb and bluetooth.
Could you suggest the best way to detect the end of a workout/race. With USB, I am receiving TrainingDataEvent events, however, the distance emitted with the last event is not the full workout/race distance and the workDistance does not quite reach 0 as well.
Thanks for your help,
William