Replies: 1 comment
-
Makes sense, created #697 to get it on the roadmap. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Home Assistant, in conjunction with the Garmin HA app, and so have the ability to detect when I've completed a workout, at least within whatever refresh interval I set for the Garmin's app background service.
Ideally I'd like to have an automation in HA detect when an activity has finished, and call an endpoint to sync the last 1 (or n) workouts.
Or, something I can tap on my HA tablet dashboard to trigger the sync.
I see one API endpoint to sync a specific workout ID, and another endpoint to get the last n ids, but this is going to add some serious complexity to my simple automation. Is it feasible to expose an API call that just takes an integer as a URI parameter to trigger a sync of that many most recent workouts? Or even just a parameterless call that syncs the most recent workout?
With that, I can just turn off the background sync in the app, and get more timely sync when I need it.
Beta Was this translation helpful? Give feedback.
All reactions