Building workout using zone number instead of percentage range

Thanks.. I really need to sleep.. 3am here :rofl:

@david The Zones don’t match using Zone Ranges

Same for HR Zones

i did a cursory check on the JSON downloaded from web-frontend and seems to also be mismatched.

yday i reported the mismatch in the ramp start and end for Power. Seems like it’s also affecting the JSON for HR as well. After parsing, the intervals looks like these

pwrInt:[[0.0, 50.0], [5.0, 100.0], [5.0, 50.0], [10.0, 100.0]]
hrInt :[[0.0, 116.0], [5.0, 232.0], [5.0, 116.0], [10.0, 232.0]]

Sorry about digging so much into this, been doing A LOT of different permutations to test my “parsing engine”. It was SO FUN :yum:

My next headache is how to parse HR only workouts

  1. due to the existent of HR ramps.
  2. Lack of Power Based Intervals that confuses the Indoor Turbo Trainer (and basically the entire architecture of the app)