Replies: 2 comments 5 replies
-
|
I also noticed that behaviour but did gave that much about it. I will try to see what can be done in reitti but this will propably also need some information I have to look up about gps logger. It has the ability to also send a zip. This would reduce the requests to one but i need to find how it decides to do that instead of line by line |
Beta Was this translation helpful? Give feedback.
-
|
Maybe I'll spin up a new integration that provides an SFTP endpoint or watches a local folder. The SFTP auto send target can receive zips or individual gpx files: This still sends duplicates, but it might be cheaper than line-by-line. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
GPSLogger currently has two ways to log locations to reitti with the custom URL method:
This depends on the logging interval, where reitti recommends 30s. This method resulted in a high battery usage on my end since GPSLogger has to perform an HTTP Request every 30s.
This depends on the configured auto-send-interval ("How often?"), which is 5 min on my end since I want the data in reitti to be somewhat up-to-date. This should save battery since the network stuff only needs to be woken every 5 minutes.
Using the defaults here has the opposite effect, since the way this works is that it takes the last CSV file and performs one HTTP request per line. The default filename includes the current day, so in the worst case this sends
86400s/30s=2880requests, which stresses both the phone and the reitti server.I was able to reduce the load by adding the current hour to the CSV filename, which results in 120 requests in the worst case, but it still sums up to 780 requests per hour.
Am I missing something here? Is it possible to configure GPSLogger to send the whole CSV to reitti or to avoid duplicate location log transfers at all?
Beta Was this translation helpful? Give feedback.
All reactions