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] See track history #1152

Open
TimSC opened this issue Dec 18, 2021 · 11 comments
Open

[Feature request] See track history #1152

TimSC opened this issue Dec 18, 2021 · 11 comments
Milestone

Comments

@TimSC
Copy link

TimSC commented Dec 18, 2021

A fairly standard feature of tracking apps is to see the track history of a single user. I know recorder provides something like this but we could do with it in the mobile app as well.

@growse
Copy link
Collaborator

growse commented Dec 18, 2021

I've thought about this before. The main challenge is now the app needs to store a history of points, so coming up with a sensible value for "how many points?", as well as other things like "do we also keep the inaccurate locations?" and "what about points for contacts?".

None of that is particularly hard though, we can aim to have something simple in the next major release and see what people think.

@growse growse added this to the v2.5 milestone Dec 18, 2021
@TimSC
Copy link
Author

TimSC commented Dec 18, 2021

Just to clarify, I was thinking of the track history for a friend, as well as yourself. This would require changes to the server side?

@ckrey
Copy link
Member

ckrey commented Dec 19, 2021

in iOS we keep the last positions (setting) positions of the user and for the contacts. Default ist 50. „Inaccurate positions“ are not sent and not stored. We show the track on the map when selected. There is no list view of the track and no export of track points in the app.

@growse
Copy link
Collaborator

growse commented Dec 19, 2021

Just to clarify, I was thinking of the track history for a friend, as well as yourself. This would require changes to the server side?

The app can store a list of positions it receives for a contact, so that ask shouldn't require any changes outside of the app.

@TimSC
Copy link
Author

TimSC commented Dec 19, 2021

So there would be no history while the phone is off or out of network connectivity?

@growse
Copy link
Collaborator

growse commented Dec 19, 2021

Yes, without a live connection to an instance, the client's not going to receive any locations from contacts. It can obviously store its own location history while offline, but there's no mechanism in the OT protocol / spec to allow a client to pull a history of locations for a contact from a recorder instance.

@ckrey
Copy link
Member

ckrey commented Dec 20, 2021

If you are using an MQTT backend and use QoS>0 which is the default, messages from contacts will be queued until you are back online.

@growse growse modified the milestones: v2.5, 2.4.8 Feb 10, 2022
@growse growse modified the milestones: 2.4.8, 2.4.9 May 10, 2022
@growse growse modified the milestones: 2.4.9, Backlog Aug 22, 2022
@compuguy
Copy link

Maybe the easiest way to implement this would be to allow a config option to point to a OwnTracks Frontend page? This doesn't work if the phone is offline, but its a thought.

@jpmens
Copy link
Member

jpmens commented Dec 23, 2023

Our OwnTracks iOS app in combination with the Recorder can do something we call Tours.

@growse
Copy link
Collaborator

growse commented Dec 23, 2023

Maybe the easiest way to implement this would be to allow a config option to point to a OwnTracks Frontend page? This doesn't work if the phone is offline, but its a thought.

I think the idea of being able to easily link to a recorder instance is reasonable, but the challenge is: how does the app know where the recorder is?

It might be guessable on HTTP mode, but not MQTT, it's decoupled from the recorder completely.

Tours is coming, but it's not quite the same use case.

Still aiming to do simple history for self, but had to jettison from 2.5 in order to get the thing out of the door this decade.

@ckrey
Copy link
Member

ckrey commented Dec 23, 2023

The app knows where the recorder is by requesting a new tour or the list of tours from the recorder. The recorder responds with the details including the tour's URL: https://owntracks.org/booklet/features/tours/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants