Tp2intervals - Copy TrainingPeaks and TrainerRoad workouts\plans to Intervals

The issue I think with some of the TP swims is that even if they have the “Workout Details”, they sometimes combine both time & distance intervals which I don’t think is possible within Intervals. Also a couple that I looked at from the TP library had nested intervals which need separating out for them to work within Intervals. That would probably then lead to so many intervals presumably with a Lap Button press in between that it would also get very complicated. A bit of paper stuck onto a water bottle is far easier.

With the example from the screenshot attached, if the workout details are copied & pasted into Intervals’ workout builder & allowing for the fact that the nested intervals have been resolved it would not work without further parsing into Interval’s necessary steps. 200m @ 6 RPE does not equate to 10secs rest in between the 4X50 for example. And the distances need appropriate units added for them to work.

1 Like

Is your workout distance based? If so, then it doesn’t work yet, distance based steps are not supported.
I’m gonna start implementation this weekend. Could you show me steps for your workout (targets, etc), so I will have some sort of real workout. I don’t swim :slight_smile:

This is how the workout looks like in TP

ah… just like what @David_Bannister said, your workout has a mix of (or purely) distance based intervals. That’s the key thing which isn’t supported by intervals.icu (in fact, when I tried to parse it myself using my BreakAway app, i also suffered a crash as I wasn’t handling the distance based steps)

@Someone_Else did say that he will go and support distance based steps, but i’m thinking that it may not end up how you want it. I’m not sure.

in my mind, a disstance based step means - complete 1 lap, 25m (of a 50m pool) in whatever time it takes. But in intervals, everything is to be mapped out against your pace/100m. Or, the better way to do it is to just put it as an open lap, when you’re done w/ 25m (self gauge), then you press the lap button.

@Delando1 TP workouts work with Garmin as they are distance based & so really the problem is presumably trying to use Intervals for Load approximation & getting the intervals recognised afterwards? If @Someone_Else can find a way to get Intervals to recognise distance steps then this will be great.

As @app4g currently the easiest way is probably to use the lap button. The screenshots show how the TP workout can be parsed into Interval’s format using the lap button so as to get an idea of likely Load ahead of completing the workout. But if you are using TP then you will likely already have this. So probably the only signnifcant advantage might be that the intervals are recognised automatically in Intervals once you upload the workout. But to be honest my experience of Garmin’s lap detection in the pool is that many workouts need to go through corrections (via Swimming Watch Tools - Upload) before they are accurate anyway so adding manual intervals is not that much extra effort really. Faster cadence swimmers perhaps have less issues as lap detection can be triggered if arm stops moving for something like 1-1.5 seconds I think or alternatively based on the acceleration from push off. So slow cadence or weak push off swimmers can confuse it.

This becomes

I forgot to add in this link which I found whilst exploring the Forum where @david explains that distance based workout intervals are supported which I hadn’t realised worked for swimming also (at least in planning even if not syncing with TP) .

1 Like

dang… must have missed this somehow. Gotta explore a bit more on how it’s being implemented

I have a lot of running plans which are distance based with % of threshold pace for the workout targets. So if possible, could you look at implementing for running. i.e warmup 2km @70-80% of Threshold pace

I have also tried copying run workouts based on time and % threshold pace. This also does not work, only the workout text description gets imported and not the structured workout. i.e warmup 10 mins @70-80% of Threshold pace

Threshold pace is set under the run pace settings

Hi everyone,

Question to all of you. I would like to improve experience for initial configuration for platforms. I want to write better manuals how to copy cookie, etc.
What do you think is better: write better text manual with detailed steps or maybe add screenshots and do something similar to this


If you have some ideas, I’d be happy to hear them.

This one

2 Likes

Screenshots as per your example please

1 Like

Hi, everyone

Version 0.9.0 is here Release v0.9.0 · freekode/tp2intervals · GitHub

Added support for distance based steps in structured workouts. I also updated a guide for TrainingPeaks initial configuration.

Let me know you like it.

2 Likes

Hellow,
Any idea whats wrong when getting this error:
Where can logs be found on MacOs?

Kind Regards,
Gianni

Hi,

It seems there is unexpected response from TrainingPeaks.

Can you do these steps and then send me the logs (via PM or on iam@freekode.org), then they will contain much more information for me to fix the issue:

  1. Go to Configuration
  2. In Generic section, set Log Level to DEBUG, click Confirm
  3. Reproduce your issue

Logs should be here <user directory>/Library/Logs/tp2intervals/main.log

Thanks for the great app! It really helps a lot

I have a question regarding zones:
I changed my Intervall Zones after transfering and starting a training plan from TP.

Old LTHR was 176, new 168. I resynched the training plan (in the plan overview page) after changing it. For the workout scheduled today the zones were adjusted, for future trainings not.
Is this a Intervals issue? Or do I have a possibility to recalculate zones for future trainings?

Todays workout with correct zones:

Here is a future Training that still does not have the new zones:

The app copies workouts steps, always in percentages.
So, my first thought this is Intervals issue.

1 Like

I’m not sure if I read the documentation correctly… is it possible to auto-sync TR workouts to intervals.icu or TrainingPeaks? With a cron job?

Yes, it’s possible. Run the app via docker and just link script to cron dir as it says in documentation.

Right now, the script won’t work with standalone versions, because server port is always random.

Hm…script is only for TrainingPeaks, I will think how to make it ready for TR

1 Like

Thanks. If you manage to do it, please give me a step by step guide, I know a lot of people would really like that functionality as it will enable TR workouts to show up in Training Peaks Virtual.

Sure. Could you describe use case of TR workouts in TrainingPeaks? Maybe I can do smth with it…