Page 1 of 1

ErgometerJS Web bluetooth

Posted: July 22nd, 2016, 2:58 pm
by tijmenvangulik
I have added Web bluetooth support to the ErgometerJS library. ErgometerJS supports now all major native platforms and web from a single source. Web bluetooth is still in beta so you can only test it with with chrome canary. Since google is working hard on supporting web bluetooth I expect that it will not take long before web bluetooth will be fully supported by chrome.

https://github.com/tijmenvangulik/ErgometerJS

I have not yet been able to test all platforms but it should work on:

* Mobile using cordova: iOS,android, Windows
* Mobile react native: iOS,android
* Desktop using Electron: MacOS X, Windows, Linux
* Server using Node: MacOS X, Windows, Linux (inc Raspberry PI)
* Web: chrome canary (still beta)

Tijmen

Re: ErgometerJS Web bluetooth

Posted: September 21st, 2018, 9:57 am
by SlimJim
Hello -

I am beginning a Concept2 Rowing App, and your ErgometerJS Web Bluetooth library is much appreciated. This represents a tremendous amount of work and I am very grateful. I am looking forward to testing this out.

Do you have any pointers for developing without a PM5 in the same room as the development computer? I have been unable to find a PM5 emulator or any guide to that.

Re: ErgometerJS Web bluetooth

Posted: September 21st, 2018, 10:26 am
by Citroen
Since Tijmen hasn't visited the forum since Sat 16 Jun 2018, 15:42 you may do better by posting an issue on Github at: https://github.com/tijmenvangulik/ErgometerJS/issues

Re: ErgometerJS Web bluetooth

Posted: September 29th, 2018, 4:38 am
by tijmenvangulik
Still there (sometimes ) :-)
Yes I have some pointers. What I usually do is:
- Screw off the PM5 monitor and take it to the developer computer. (this is just for testing connection issues)
- Record all the ergometer blue tooth data and replay it at the other location. Record and replay is part of the ergometerJS library. There is an example of this. But be aware that during a replay your do the same actions in the same order as you recorded it otherwise it will sometimes wait for a response which was not recorded.

Tijmen