Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: limit log rate with "log passive locations" #892

Closed
relaystar opened this issue Jul 24, 2021 · 2 comments
Closed

feature request: limit log rate with "log passive locations" #892

relaystar opened this issue Jul 24, 2021 · 2 comments
Milestone

Comments

@relaystar
Copy link

relaystar commented Jul 24, 2021

I use GPSlogger as a device tracker for my home assistant configuration. This uses a custom url configuration.

Without passive locations enabled, it seems to work as expected (thanks!).

I'm guessing here, but with passive locationes enabled it seems to log as fast as it possibly can, to a queuing system. The queue appears to only actually call the custom url once every 10 seconds (according to my web server logs). Thus the queue gets very long when, for instance, the user is playing pokemon go, or driving using google maps as their satnav.

The result of this is that my location in home assistant can lag hours behind reality, with my phone logging to home assistant every 10 seconds, when it was presumably receiving passive locations much, much faster.

So ideally I'd like a 2nd configurable interval, ie the current one, plus a 2nd one for passive updates, which I would set to be much shorter.

Thanks

@mendhak
Copy link
Owner

mendhak commented Mar 2, 2024

Although I've not got plans to add more timers/intervals, I've added a change in the upcoming Milestone 130 (and just before that), which should limit how much passive points get logged

@mendhak
Copy link
Owner

mendhak commented Apr 1, 2024

v130 is now on FDroid and the releases.
Passive location will now match the criteria, eg satellite/network. If neither satellite nor network is selected, any passive location will be logged.

@mendhak mendhak closed this as completed Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants