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

Does icloud3 intentionally request multiple GPS data in a short time period #321

Closed
jata1 opened this issue Mar 20, 2024 · 4 comments
Closed

Comments

@jata1
Copy link

jata1 commented Mar 20, 2024

Hi Gary - I'm still working away at getting reasonably good speed data between the HA app and iCloud3 integration.

I have noticed that icloud3 seems to go through a little fit from time to time - my hunch is when approaching 'home' - see chart below. I have seen this previously but thought it was a one off. Lots of GPS data/requests is a bit of an issue as GPS coordinates and fixtime data can be good but I guess it is screwing up my speed calcs because of GPS accuracy.

Are you aware that icloud is doing this multiple request in a short period of time thing? If so, can I control it somehow?

See data below to give you an idea

image

@gcobb321
Copy link
Owner

When iCloud3 approaches a tracked zone (Home), the request interval is set to 15-secs when the distance is less than 1-km. This helps insure triggering a Home zone enter, especially if the device does not have the mobile app or is in a poor cell area.

@jata1
Copy link
Author

jata1 commented Mar 20, 2024

I see so I guessed that was it. Can I ask for a feature for the user to be able to set this frequency please?

@gcobb321
Copy link
Owner

You can ask but it probably won’t happen. There are several other choices you might think about.

  • Ignore speed if within 1km of Home
  • Create a template sensor with the gps and timestamp and update that when the timestamp is x-secs/mins from the last one. Use that sensor as input to your speed
  • Ask Phil to ignore timestamps close to the last value

@jata1
Copy link
Author

jata1 commented Mar 20, 2024

Thanks. Phil and I are discussing.

I am going to look into creating a statistics sensor that will take all of the speed data and output the average or median.

Overall my speed limit tracking project is going well. This is the last (hopefully) issue to resolve.

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