Tp2intervals - Copy TrainingPeaks and TrainerRoad workouts\plans to Intervals

Thanks, unfortunately I’m not sure how to download the dev build.

From what you have written, it will keep syncing today’s workout. That’s not exactly what I’m after.

What I currently do, after any changes to my TrainerRoad calendar (which is a few times per week) is:

  1. Open tp2intervals
  2. Select TrainerRoad to intervals.icu
  3. Change the date range to the next 3 months
  4. Skip already synced workouts
  5. Press confirm

What I would like is to be able to set this up so that when I login to windows, it runs through these steps, and then runs every 30 mins, so that intervals.icu always has the latest planning from TrainerRoad.

Thanks for the info. I will think what I can do with it.

New version 0.11.0 Release v0.11.0 · freekode/tp2intervals · GitHub

  • Added scheduled job to sync planned workouts in calendars
  • Added support arm64 for Mac
  • Added support to skip already synced workouts when syncing to Intervals.icu
  • Fixed null workout name in TrainingPeaks

Now you don’t need to manually sync workout for today. You can click Schedule for today and every 20 minutes calendars will be checked. If there is a new workout, it will be automatically synced.
Restart the app to remove all scheduled jobs.

1 Like

That’s great. Is there a way to start the sync at windows login?

At this moment, no. Each time when you start the app you need to click the button to start the job.

Thank you very much for creating this!

Could you please tell us if it is possible to sync a TrainerRoad workout by name using a Docker CLI command?

No, there’s no such feature. The only thing how you can control app from CLI is by sending http requests with curl.

@Someone_Else, any chance of creating an arm64 docker image?
Thanks!

Yeah, I’m going to do that. Dunno when, but probably next thing.

1 Like

Ignore already synced workouts doesn’t seem to be working…

Can you show few last lines of workout description?

Also did you changed workouts in some way in TrainerRoad?

Just use ChatGPT. Ask it to create you a zwo of any TR workout and it gives you the text.

Sorry haven’t been able to check the details, but no the workouts are identical. It’s possible they get some sort of new ID or something every time TR adjusts your plan.

The last lines of the workout description contain data for workout skipping. Something like:

////////// trainingPeaksId=222 trainerRoadId=333

If this data is not present, the workout will be synced again. If some of the ID is different, the workout will be synced again.

That code is only in 1 of the 3 workouts - so maybe the duplicates are from a previous version.

I guess if TR changes the prescribed workout for that day, you will end up with 2 workouts.

Yes, this is possible. The feature was added only in latest version.

You have only one workout with the code, so I would say the feature is working fine and workouts are skipped. If it didn’t work, you should have more workouts with the code.

1 Like

Is there a way to automate the docker container deloyment so it runs permanently and each day syncs the current and next day?

1 Like

this is what I am after also - constant syncing of TR to intervals.icu

Hi,

I have been using this to download my plans from training peaks and it works amazing, just wanted to say thank you first!

Is it possible to download strength plans? I tried and it only seems to be downloading “other” meaning the plans support text. If I try and access in training peaks it does mention it needs PRO to edit or create. Is it possible Tp2intervals can’t access the files to download unless I am paying for training peaks?