Live tracking - option to send current recording gpx instead of lat/lon
Hello,
I've been using the live tracking feature to track my rides to a custom website I built. It shows a line connecting the points Locus live track feature sends it on a set interval.
But if the interval is too long, or if I fall outside the cell coverage area for a while(happens often!) the next point will be far from the previous causing the line to stop being a reasonable representation of the route that I've ridden.
It would be nice if instead of a single point Locus could be configured to send the full recorded route gpx up to this point so the website could keep a very accurate map even if the tracking interval is set to longer values such 10 minutes as well as solving the out of cell signal issue as it would fully update the next time we have cell signal.
I guess an alternative would be a send queue that would build up while out of cell signal that would all be dispatched when cell signal is restored.
Kind of a side question that just came to mind here... Is it possible to use the Locus API to export the current recording track as a gpx file without stopping the recording? If so this could be used to solve this issue as I could use a background utility to monitor for changes to that gpx file and upload it to the server that way. (Edit: So I found the "Save actual part" option under the wrench button on the track recording screen, this combined with gpx export could be my answer, now to figure out if this function can be accessed by the API!)
Thank you for your time!
Hello Nelson,
just for your info about the side question: currently, no such feature exists in the app. There is only an option to control the recording state, but not any other special features around.
Hello Nelson,
just for your info about the side question: currently, no such feature exists in the app. There is only an option to control the recording state, but not any other special features around.
I got this working using Tasker to create a live tracking script using the Locus API.
It works like a charm and even has access to more variables than the default Locus Live Tracking, it shows the current recorded track as well as the planned route. Currently I have it setup to toggle airplane mode off every 10 minutes, send the updated track information and then toggle airplane mode back on, battery savings!
I've placed the code on Github if anyone wants to go the same way, it does require quite a bit of technical knowledge to get it setup though, so be warned.
I got this working using Tasker to create a live tracking script using the Locus API.
It works like a charm and even has access to more variables than the default Locus Live Tracking, it shows the current recorded track as well as the planned route. Currently I have it setup to toggle airplane mode off every 10 minutes, send the updated track information and then toggle airplane mode back on, battery savings!
I've placed the code on Github if anyone wants to go the same way, it does require quite a bit of technical knowledge to get it setup though, so be warned.
Uff amazing, thanks Nelson!
Uff amazing, thanks Nelson!
Replies have been locked on this page!