zacharyedwardbull / pycycling

A Python package for interacting with Bluetooth Low Energy (BLE) compatible bike trainers, power meters, radars and heart rate monitors
https://pypi.org/project/pycycling/
MIT License
126 stars 25 forks source link

cycling_power_measurement_handler not called #17

Closed unicornis-pl closed 1 year ago

unicornis-pl commented 2 years ago

Hi, I noticed that rarely the handler stops being called and everything freezes. It seems that BLE packets are not coming. Happens irregularly, after 20-90 minutes of operation. I cannot figure out how to hadle it as an exception and maybe force the reconnect. Any ideas?

I am using it to contol ambient lights in my Zwift cave based on the power produced.

zacharyedwardbull commented 1 year ago

Hey, did you manage to resolve the problem? I'm sorry I haven't been able to help out here.