Open fealty opened 6 years ago
Some notes after playing around with a custom planned workout:
1) The Bolt will modify a cached .plan workout if the /plans/ filename matches a cached file. Deleting the /plans/ file will not remove the cached .plan file.
2) A planned workout can be removed from the list by providing an invalid "=2HEADER=" or by providing an empty file in /plans/, which will overwrite the cached .plan file.
MSG = string? (doesn't seem to have any effect)
ERG = kickr ERG mode power to hold (-1 turns ERG mode off)
SCHEDULED = yyyyMMdd (plan will appear in sort "scheduled")
MSG_DURATION_SEC = int? (Doesn't seem to have any effect)
INTERVAL_DESCRIPTION = string? (No visible effect)
Not tested any of these with the companion app, just the Bolt directly.
I've been poking around inside the Android ELEMNT Companion App.
There is native-wrapper code for converters for ERG/MRC and FIT workout files, which convert/copy workout files in /sdcard/*/plans/ to Wahoo's .plan format, which is then stored in an internal cache (in the app data). The Bolt does the same directly during a "Planned Workouts" sync.
There appears to be no way to remove or modify the .plan file once cached, from both the App and the Bolt. Except for clearing the app data and doing a factory reset of the Bolt.
I've attached the five in-built workout plans from the App as text files herein. Change .txt to .plan and the App and Bolt should accept them.
Based on the five examples, the Wahoo .plan file structure appears to be:
Here's the types I found in the decompiled app:
PlanActionType:
TriggerType
ProgressType
Sky_Climbing.v1.txt Sky_Mixed.v1.txt Sky_Sprinting.v1.txt Wahoo_8min_FTP.v1.txt Wahoo_20min_FTP.v1.txt