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

[Question] Training Status no longer updated? #605

Open
gunjanmarwah opened this issue Jan 8, 2024 · 18 comments
Open

[Question] Training Status no longer updated? #605

gunjanmarwah opened this issue Jan 8, 2024 · 18 comments

Comments

@gunjanmarwah
Copy link

Anyone else finding today that Peloton activities synced into Garmin with HR and a solid effort are not appearing in the Training Status & Training Load? I did a 30 minute ride that I expect to be contributing to me Low Aerobic load, and a few others (even if they don't contribute; they should still appear). None are even appearing for today in the Exercise Load. Is it just me? Is it Garmin? Or are they cracking down on these imports?

@mgsimon
Copy link

mgsimon commented Jan 9, 2024

I think this is resolved with #578 already. Did you try >= v4.1.0?

@gunjanmarwah
Copy link
Author

Oh no I completely missed that. Scanned through the issues first and didn't see it. I don't think I did it right though as it's not working - are you able to help take a peek @mgsimon ? .github/workflows/sync_peloton_to_garmin.yml
Also, any idea how far back this went? Thinking I will have to delete and resync activities.

@mgsimon
Copy link

mgsimon commented Jan 9, 2024

12/21, stable image should work I think.

@gunjanmarwah
Copy link
Author

Didn't work...
/__w/_temp/a60cc903-6e61-42cd-abe4-b3dff52e5455.sh: 1: /app/PelotonToGarminConsole: not found
Error: Process completed with exit code 127.

I am not at all a dev, please help! :(

@gunjanmarwah
Copy link
Author

I changed it from v3.6.1 to v4.1.0 then console-latest and then console-stable. None worked. All the same error.

@mgsimon
Copy link

mgsimon commented Jan 9, 2024

I'm using docker and not sure but the run command in the master branch is ...

- run: /app/ConsoleClient

Maybe there are some changes in the meantime.

@gunjanmarwah
Copy link
Author

Got it, thanks. @philosowaffle any suggestions?

@philosowaffle
Copy link
Owner

When you setup the Secrets on your Repository did you happen to setup a custom DEVICE_INFO secret?

@gunjanmarwah
Copy link
Author

gunjanmarwah commented Jan 10, 2024 via email

@gunjanmarwah
Copy link
Author

@philosowaffle I've set up the Device Info now. Reran on stable, then latest, then 4.1.0. None worked, same error "/__w/_temp/9a8f2659-d352-4e8b-a69a-cdfe6ef04023.sh: 1: /app/PelotonToGarminConsole: not found
".
Put it back to v3.6.1 and it's syncing again but still not contributing to the training load. The only thing that has really changed now is that I have Device Info probably haha.

@philosowaffle
Copy link
Owner

Alright, let's try the following.

  1. Switch this line to use: philosowaffle/peloton-to-garmin:console-v4
  2. Switch this line to use: /app/ConsoleClient instead

@gunjanmarwah
Copy link
Author

@philosowaffle tried to do that. It brought in activities but they are still not showing in the Training Load.

@philosowaffle
Copy link
Owner

Ok, Let's stay on this configuration as this will atleast ensure you get future updates/fixes when they happen.

Several people noticed that after this issue was fixed, the next activity they synced earned them the First Tacx Ride badge on Garmin. Did you happen see something similar? (trying to confirm your activities are getting uploaded with the correct device)

@gunjanmarwah
Copy link
Author

gunjanmarwah commented Jan 11, 2024 via email

@philosowaffle
Copy link
Owner

To be honest, I'm not really sure what's going on, I just have a few more things we can try to see if anything makes a difference. Unfortunately, this is a bit of trial and error since I'm not able to reproduce on my end and nothing stands out in the logs.

first thing to try:

  1. I think you still have a custom DeviceInfo being provided in your latest runs, let's delete that and try another sync. I know you tried this previously, I just want to establish a baseline before trying the next step.
  2. Remove DeviceInfo secret, the run a sync and see if anything changes in terms of the Device shown on Garmin and TE/TS on the workout

next:

  1. I noticed you have lines 48/49 set to True. Let's try setting both of these to false. I worry that Garmin may not be giving you credit because P2G is providing this data instead of letting Garmin calculate it.
  2. Run sync again and see if anything changes. Also let me know if you still get the "Time in Zones" charts in the workout in Garmin.

@gunjanmarwah
Copy link
Author

gunjanmarwah commented Jan 13, 2024 via email

@philosowaffle
Copy link
Owner

Just deleting the secret from the GitHub secrets list should be sufficient. 👍

@gunjanmarwah
Copy link
Author

gunjanmarwah commented Jan 15, 2024 via email

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

No branches or pull requests

3 participants