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

[BUG] QZ delay with peloton and Tacx Neo 2 #1839

Closed
AnneAstrid88 opened this issue Nov 29, 2023 · 23 comments · May be fixed by #1849
Closed

[BUG] QZ delay with peloton and Tacx Neo 2 #1839

AnneAstrid88 opened this issue Nov 29, 2023 · 23 comments · May be fixed by #1849
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@AnneAstrid88
Copy link

Describe the bug
During a bike workout with Tacx Neo 2 and peloton, I continuously have to add seconds to the peloton time because during the workout a delay occurs. In total it's usually a total of +- 300 seconds I have to add during the ride on a ride of 30 min.
This was not a problem in 1 of the previous versions of QZ about a month ago (I'm 100% certain it wasn't a problem in 2.16.18). I have not changed anything in my settings.

To Reproduce
Steps to reproduce the behavior:
Connect Tacx Neo 2 and HRM pro to QZ
Connect QZ with Forerunner 955 through ANT+
Start peloton workout
Accept Peloton popup in QZ
Start QZ when peloton workout starts

Expected behavior
There should not be a delay between the QZ app and the peloton app once I've synced it properly

Smartphone (please complete the following information):

  • Device: Pixel 7 Pro
  • OS: Android 14
  • Version 2.16.24
  • Peloton is done on Ipad Pro

Append a debug log
3 Debug logs below
debug-Wed_Nov_29_06_28_43_2023.zip

@AnneAstrid88 AnneAstrid88 added the bug Something isn't working label Nov 29, 2023
@cagnulein
Copy link
Owner

are you keeping qz always on foreground?

@AnneAstrid88 AnneAstrid88 changed the title [BUG] [BUG] QZ delay with peloton and Tacx Neo 2 Nov 29, 2023
@AnneAstrid88
Copy link
Author

Yes, QZ is open and in the foreground the whole time.

@cagnulein
Copy link
Owner

got the error @AnneAstrid88 it seems that your phone is missing some beats

Mon Nov 27 06:53:10 2023 1701064390802 Debug: ../src/trainprogram.cpp void trainprogram::scheduler() "trainprogram elapsed 176current row len104"
Mon Nov 27 06:53:12 2023 1701064392998 Debug: ../src/trainprogram.cpp void trainprogram::scheduler() "trainprogram elapsed 177current row len104"
Mon Nov 27 06:53:15 2023 1701064395550 Debug: ../src/trainprogram.cpp void trainprogram::scheduler() "trainprogram elapsed 178current row len104"
Mon Nov 27 06:53:18 2023 1701064398409 Debug: ../src/trainprogram.cpp void trainprogram::scheduler() "trainprogram elapsed 179current row len104"
Mon Nov 27 06:53:21 2023 1701064401511 Debug: ../src/trainprogram.cpp void trainprogram::scheduler() "trainprogram elapsed 180current row len104"
Mon Nov 27 06:53:24 2023 1701064404197 Debug: ../src/trainprogram.cpp void trainprogram::scheduler() "trainprogram elapsed 181current row len104"

we should see these lines every seconds, but instead some seconds are missing. which phone do you have? maybe it's with a power save mode?

@AnneAstrid88
Copy link
Author

Device: Pixel 7 Pro
OS: Android 14

It's not in power save mode.

I believe you said previously that you had the same phone, so you should then have a similar problem?

@cagnulein
Copy link
Owner

here in italy we don't have peloton, it's forbidden. so I can't test this case. i'm checking in your log if i can understand something more

@AnneAstrid88
Copy link
Author

Ah yes, I also had to buy it through the American Apple store to get it.

If I need to test something specific, let me know.

@cagnulein
Copy link
Owner

@AnneAstrid88 I guess I understood your issue, when this is happening, your trainer is streaming A LOT of data. I have some ideas how to bypass this, but let's try first disabling the debug log setting because for sure it's writing a lot, decreasing the performance.

If this doesn't help, i will do a mod trying to disabling some requests to the trainer.

Let me know how it will go

@AnneAstrid88
Copy link
Author

Ok I'll try that tomorrow. Thank you.
It's weird that this issue wasn't there a month ago.

@cagnulein
Copy link
Owner

I didn't change anything in the code, so it could be a patch of android that caused this for example. I have some ideas in mind to avoid this anyway

@cagnulein cagnulein linked a pull request Dec 1, 2023 that will close this issue
@cagnulein
Copy link
Owner

@AnneAstrid88 any news? in the mean time I created a patch for this anyway https://github.com/cagnulein/qdomyos-zwift/actions/runs/7060901858

You will see the android build in the bottom when the build is finished, i don't remember if you are in the whitelist of the non-play store version, in case not
send me an email to roberto.viola83 at gmail.com indicating this ticket Thanks

@cagnulein
Copy link
Owner

@AnneAstrid88
Copy link
Author

Yeah I checked it this morning and by disabling the debug log it was fixed.

and yes I have access to the private Beta on android.

@cagnulein
Copy link
Owner

cagnulein commented Dec 1, 2023 via email

@AnneAstrid88
Copy link
Author

Yes I will when the version is available :-)

@cagnulein
Copy link
Owner

It's already https://github.com/cagnulein/qdomyos-zwift/suites/18672596629/artifacts/1086434281

You need to uninstall the play store version if you want to try and send me the email to unlock it

Copy link

stale bot commented Dec 16, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Dec 16, 2023
@AnneAstrid88
Copy link
Author

I'm sorry, I didn't test it yet. I will try to do it this week.

@stale stale bot removed the wontfix This will not be worked on label Dec 23, 2023
Copy link

stale bot commented Jan 8, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 8, 2024
@cagnulein
Copy link
Owner

@AnneAstrid88 any news?

@stale stale bot removed the wontfix This will not be worked on label Jan 11, 2024
@AnneAstrid88
Copy link
Author

I'm so sorry, I haven't tested it yet. I will test it tomorrow on my peloton ride.

@AnneAstrid88
Copy link
Author

I tested it and it seems to be working. However, I noticed when scrolling through the settings there was the screen was lagging and that never happened before. I wasn't running any other apps at the same time.

@cagnulein
Copy link
Owner

The lagging is not something controllable from QZ. I mean I'm trying with my pixel 6a and it runs smooth. The settings page could be improved for sure, trying to add some subpages in order to reduce the size of the main one

Copy link

stale bot commented Feb 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Feb 3, 2024
@stale stale bot closed this as completed Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants