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

Location information in "transition" event is obsolete #806

Open
jbrepogmailcom opened this issue Aug 26, 2024 · 1 comment
Open

Location information in "transition" event is obsolete #806

jbrepogmailcom opened this issue Aug 26, 2024 · 1 comment
Assignees
Labels

Comments

@jbrepogmailcom
Copy link

Hello.

When entering zone (or a waypoint), OwnTracks sends two mqtt events. A "transition" and a "location" events, sent at same time. Both contain location data. While location data in "location" event is correct and show exact position of entering zone, the location data in "transition" event are not from time of transition but from previous "location" event, which may be many kilometers away.

It may create confusion as that device had location at time sent in "transition" data, but device actually was not there. Is this by design or a bug?

@jpmens
Copy link
Member

jpmens commented Aug 26, 2024

By rights, the transition event contains the coordinates where the event fired which, indeed, can differ from those in the subsequent location.

@owntracks owntracks deleted a comment Aug 26, 2024
@ckrey ckrey self-assigned this Sep 9, 2024
@ckrey ckrey added the question label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants