Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attaching to wrong Bike ID #10

Open
tompijls opened this issue Feb 3, 2021 · 4 comments
Open

Attaching to wrong Bike ID #10

tompijls opened this issue Feb 3, 2021 · 4 comments

Comments

@tompijls
Copy link

tompijls commented Feb 3, 2021

Hi,

sometimes this app connects to bike ID 0, retrieves 1 value and then hangs.
Any idea?

Attaching to bike id 0
Bike 0: true 65 120 14 5

My bike has 114 as an ID

@tompijls
Copy link
Author

tompijls commented Feb 3, 2021

Updating line 63 of index.js to
if (targetDeviceId == -1 ||targetDeviceId == 0 ) {
fixes the issue for me

@nealjane
Copy link

nealjane commented Feb 3, 2021

@tompijls My keiser bike Id is ‘128’ and I’ve not had any issues (as far as I know) with it not connecting..but would I know whilst using it headless!

@tompijls
Copy link
Author

tompijls commented Feb 4, 2021

You would know as in that case it only captures the very first measurement and nothing else ;-)

@nealjane
Copy link

Funnily enough- this issue has come up for me over last few days (before I got round to adding your addit text to my pi). Original install sd works fine - but this issue cropped up on a backup sd I’d made..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants