-
Notifications
You must be signed in to change notification settings - Fork 30
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
Sensor keeps disconnecting #39
Comments
Thanks for the issue and thorough investigation @Fbrufino! I can confirm the issue on Ubuntu 22.04.4 (6.5.0 kernel) with an onboard Bluetooth adapter (Intel Corp. AX200 Bluetooth), |
Sorry, I did forget to mention I'm using Don't know if it's relevant, but I couldn't determine if the disconnection is issued by Linux or the sensor, but my initial assumption is it's the sensor. |
My initial hypothesis is that the disconnection is caused by a Qt timeout. Line 151 in 211d4ce
|
I dunno, if I understood correctly that would be something the application does. The fact that either launching OpenHRV or doing nothing with the sensor (i.e. don't launch any application that interacts with it) after connection have the exact same result (disconnection from Linux after 150 secs) points me toward some internal configuration within the sensors to avoid idle connections. Crucially, during some rounds of testing in the last few days, I ended up discovering that if I launch Every Breath You Take after connection, I can close it immediately after the app shows the first data points and then the sensor no longer disconnects even if I do nothing with it. So, as well as being a temporary workaround, this suggests the issue is something |
@Fbrufino thanks for the thorough investigation! I'll look into this as soon as I've got some time to spare. |
The issue is gone on Ubuntu 24.04 (6.8.0 kernel) with an onboard Bluetooth adapter (Intel Corp. AX200 Bluetooth), OpenHRV 1.0.1, and a Polar H9 (firmware version 1.0.6). Other than bumping the Ubuntu version, I've reset the Polar H9 (https://support.polar.com/en/support/how_to_reset_my_heart_rate_sensor). The connection doesn't break off after 150 seconds any more. |
Hi guys. First off, congrats for a great app, I'm really enjoying it so far.
The problem I have is my Polar H10 keeps disconnecting exactly 150 seconds after connection -- importantly, I'm referring to system-wide connection and disconnection, not within the app --, which is the same behavior I get when I just connect the H10 to the system and do nothing with it.
What made me conclude it's something related to the software -- or that the software can override, at least -- is that the same thing doesn't happen when I use another python HRV training module called Every Breath You Take (although I much prefer OpenHRV's feedback and recording capability).
I've tested this on two machines, and the behavior is the same across them:
Polar H10 info:
I've tried changing
/etc/bluetooth/input.conf
, settingidletimeout=0
anduserspaceHID=true
, all with no success.The text was updated successfully, but these errors were encountered: