ptx2 / gymnasticon

Make obsolete and/or proprietary exercise bikes work with popular cycling training apps like Zwift, TrainerRoad, Rouvy and more.
https://ptx2.net/posts/unbricking-a-bike-with-a-raspberry-pi
MIT License
295 stars 38 forks source link

No power metrics, only cadence #87

Open Lvrebel opened 2 years ago

Lvrebel commented 2 years ago

Just finished set up and only cadence is coming through. Zwift allows for connection to Gymasticon for both power and cadence but no power metrics. Also confirmed same issue on another app. Is it possible that low D batteries are causing this issue?

cagnulein commented 2 years ago

Did you calibrate your bike?

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno lun 13 set 2021 alle ore 17:27 Lvrebel @.***> ha scritto:

Just finished set up and only cadence is coming through. Zwift allows for connection to Gymasticon for both power and cadence but no power metrics. Also confirmed same issue on another app. Is it possible that low D batteries are causing this issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ptx2/gymnasticon/issues/87, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBPTV7XTRBI5GXQFHDUBYJ5XANCNFSM5D6C5F6Q .

Lvrebel commented 2 years ago

I just read a closed issue mentioning the same thing. I will work through the calibration. Flywheel test web page only brought up bike momentarily. I think I’ll change the D batteries and then complete calibration.

becker53 commented 2 years ago

I have a similar issue. My bike is calibrated. I can read both power and cadence on the flytest app and on the icg app independent of this. Using gymnasticon I can read both power and cadence on any virtual cycling app, but I can only get cadence on my Garmin. When adding new devices my Garmin will only find the cadence sensor.

nealjane commented 2 years ago

@becker53 are you certain your Garmin does Bike Power profile/and uses ant sensors - which Garmin is it??

becker53 commented 2 years ago

Yes. It is the forerunner 945. I can connect it to cycling power meters and also to power meters on smart spin bikes at the gym.

becker53 commented 2 years ago

One more thing, I normally connect via ant+ but I did just verify that my typical power connections work via ble as well.

nealjane commented 2 years ago

That watch will def work. Ant+ Setup as sensor in watch works for power and cadence, the BLE sensor connection to your watch WILL only show cadence.

becker53 commented 2 years ago

Do you know what the cause of that is? I just verified that I get power via ble from my pedals.

nealjane commented 2 years ago

If you’re only seeing the cad/Spd xx.xx.xx.xx.xx then that’s the Bluetooth. (Which you should not use with your Garmin as it only shows cadence - I dont know why - it’s just how it’s setup I guess, at the time the they stated ‘. Garmin's support for BLE sensors is buggy and currently does not support the Cycling Power Services (CPS) profile.’ ). ant+ was implemented by Chris Elden specifically for connecting to Garmin watches and bike computers - and so will work - perhaps your specific ant+ dongle is the issue ?? Get as close as you can to it with your watch in case it’s just interference as it’s more prone to it vs Bluetooth..??

becker53 commented 2 years ago

I do not have an ant+ stick. Since I can get power from my pedals via ble I figured it would be fine. I guess I will have to get one. Is it as simple as plugging the stick into the pi? Do I need to setup anything else, like in the config file?

nealjane commented 2 years ago

Yes, just plug it in and restart pi and it will work, you’ll need to usb to micro USB adapter too.

becker53 commented 2 years ago

Thanks so much. I will give that a shot. I just remembered that according to https://ptx2.net/posts/unbricking-a-bike-with-a-raspberry-pi/ ant+ was not supported and so didn't even bother. I really appreciate you help a lot.

nealjane commented 2 years ago

Will definitely work with ant+, I’d suggest staying away from the cheaper anself type dongles with black ribbed case (some of them aren’t fully compatible with ant protocols supposedly, just easyer to stay away from all the ones that look the same to be safe - although they will work I found I had drops in connection during rides, I use Garmin one (or livlov/chileaf -same item with black casing with red strip on work fine too). 👍🏻

becker53 commented 2 years ago

Just to be sure, you do like the livlov with the red stripe? Just checking because it also has the ribbed case. I have heard good things about anself but it also has the black ribbed case. The ones I am looking at are mostly the same but it is hard to tell any differences.

nealjane commented 2 years ago

Anself ones are supposed to be fine, the issue is the dodgy types look exactly the same (black ribbed) and I’ve read online some knock off chinese ant+ were even rebranded to Anself - so, I guess you can take the chance it’s a legit Anself- if it doesn’t work you buy it from the likes of Amazon who take returns (and not eBay).

livlov/chileaf with red stripe ive used and have worked great.

nealjane commented 2 years ago

mostly the same but it is hard to tell any differences.

That’s why I suggest you stay away from the black ribbed ones.🤣

becker53 commented 2 years ago

Ok. Good to know. Thank you for educating me.