You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by geoffbon November 30, 2024
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.
The text was updated successfully, but these errors were encountered:
Discussed in #691
Originally posted by geoffbon November 30, 2024
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.
The text was updated successfully, but these errors were encountered: