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

Think about increasing the scan frequency #280

Open
mjaakko opened this issue Oct 27, 2024 · 3 comments
Open

Think about increasing the scan frequency #280

mjaakko opened this issue Oct 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@mjaakko
Copy link
Owner

mjaakko commented Oct 27, 2024

Currently Wi-Fi and cell tower scans are done every 10 seconds. This should work as a default, but users might find it useful to be able to scan more often. On the other hand, it could be useful to scan less often, e.g. when moving very slowly, to be able to save battery

Implementation could be a slider in the settings where the scan frequency can be chosen from 0 - 60 second interval. Another idea is to add a toggle for using dynamic scan interval, which could use GPS speed to adjust the scan interval so that scans are done every ~100 meters

@mjaakko mjaakko added the enhancement New feature or request label Oct 27, 2024
@PinguDEV-original
Copy link

Every 100 meters? For me that sounds a bit slow, better would be every 50meters I think

@kevin-brown
Copy link

Having the frequency be a slider or a number input in the settings would be great. I've noticed the 10s intervals being too slow when driving, but when walking or doing slower activities I don't think it would be an issue.

@boredsquirrel
Copy link

boredsquirrel commented Nov 18, 2024

This is absolutely needed. I dont think manually setting the interval makes sense as this app needs scalability, so it needs to run in the background on various peoples devices.

Instead, I think this is best:

  • when standing, scanning can be stopped. So this is not important
  • when slowly moving, interval of 10 seconds is fine. Everything higher would risk too high gaps
  • when going faster, the scanning should be faster. Every 10 meters sounds like a reasonable minimum distance in crowded areas, and if there are no wifis then it increases the chance of getting a good wifi
  • implement a toggle that allows setting the minimum time between scans. I would like to test 1s and if there is no new scan, there would be no wifis, right? When going fast by car in a city, this will catch way more (50 km/h means 14m/s, which is accurate, 80km/h means 22m/s, which is barely enough for villages etc).

I personally would set it to the minimum, and do everything to increase the scanning. I would like to investigate in the possible tweaks here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants