This can be used together with Nextcloud Phonetrack App to track your Phone / record a route LIVE! It is even useful for every Server that supports the osmand logging format, such as Traccar does.
LiveTrack is an Sailfish application for continuous logging of location coordinates, designed to record hiking, biking tracks and other outdoor activities. Track points are uploaded at chosen intervals to dedicated server in real time. This client works with Nextcloud Phonetrack Extension , Traccar, and everything that supports the Osmand Get Api . Together they make a complete self owned and controlled client–server solution.
Features: simple and small ; low memory and battery impact; uses GPS based location data; synchronizes location with web server in real time, in case of problems keeps retrying (to send); configurable tracking settings such as send interval. Howto: Set up Backend, get Logging URL, and enter it to Serverurl in Settings. It will get automatically cut to the right format.
For Phonetrack Application you can enter self choosen ID in Textfield below.
After you're done with tracking you may have some points in "to send". You can flush them by pressing the X Button as long as they get 0. It's my first app, so don't be that mad, because it's so bad :D I hope it's somewhat useful for you, i did it for tracking bike routes and roadtrips and it works quite nice now, so I'll just drop it here :)
Sourcecode is on Github, feel free to help :)
Icon made by Greg Goncharov (@gregguh)
Attachment | Size | Date |
---|---|---|
harbour-livetrack-0.10-0.aarch64.rpm | 54.32 KB | 22/11/2021 - 18:24 |
harbour-livetrack-0.10-0.armv7hl.rpm | 53.56 KB | 22/11/2021 - 18:24 |
harbour-livetrack-0.10-0.i486.rpm | 54.89 KB | 22/11/2021 - 18:24 |
-recompile for Sailfish 4.3 and up
-added Traccar / Osmand compatibilty (Checkbox in Settings) as defined by Traccar ?id= instead of /id=
-fixed Timer Setting
-fixed waiting for GPS accuracy to be good enough (at least 120 meters)
Comments
MIG
Thu, 2022/09/22 - 21:25
Permalink
Thanks for a great app!
Only issue is that settings page keeps forgettin/resetting the server url value. I need to put it manually to config file in order to get it working.
I'm using 0.10-0 release on xperia 10 III.
jollex
Sat, 2021/11/27 - 04:22
Permalink
Thx too, i can now use my traccar server on my phone!
Wonderful!
snauth
Mon, 2021/11/22 - 16:50
Permalink
Running a self-hosted traccar server I have trouble to receive the data. The osmand protocol implemented by traccar takes the id not as part of the url (i.e. before the "?") but as part of the submitted data (id=xxxx). Looks like phonetrack's implementation is not completely compliant with the osmand protocol (or maybe traccar is the culprit). For the time being the claim of compatibility should be removed from the description, took me quite a while to figure this out today.
Also, the app collects datapoints before it has a GPS fix, is this the intended behaviour? I am on 0.9-2 SFOS 4.3.0.12.
jayki
Mon, 2021/11/22 - 18:25
Permalink
Should be fixed now with 0.10.0
See checkbox in Settings.
Thx for pointing me to the GPS fix issue, it is now fixed, too
jayki
Mon, 2021/11/22 - 17:32
Permalink
It really is different than the "osmand" link that is issued by Phonetrack.. interesting
I'm trying to add a dropdown button to change between the two versions.
Datapoints should only be collected if GPS issues a good enough accuracy as long as the Debug Button is not used.
snauth
Mon, 2021/11/22 - 21:02
Permalink
Working perfectly now, you made my day! I was just about to look into the source code to use my very limited coding skills to implement a workaround, but voila, there is an update and everything is fixed already, thanks!
nephros
Thu, 2021/06/10 - 08:37
Permalink
That was really quick, glad you liked it!
kaulian
Wed, 2021/06/09 - 23:57
Permalink
Thanks
Always forget jolla store
kaulian
Wed, 2021/06/09 - 23:41
Permalink
And ... I cant download older version with openrepos.
Please could you upload the previous release
Thanks
jayki
Wed, 2021/06/09 - 23:45
Permalink
Hi,
sorry i only support the latest Sailfish OS Release because QT Positioning API is a bit unstable across different version.
I removed old versions of this app because Storeman tends to install old versions rather than the latest ones sadly..
You can get old releases in Github here which should work fine.: https://github.com/jaykijay/harbour-LiveTrack/releases
Version 8.x should support Sailfish 3.x just fine
Btw.. this App is in Jolla Store, too. And today there is still the old version uploaded there ;)
kaulian
Wed, 2021/06/09 - 23:39
Permalink
Hi
Just a little warning the new app can be install with 3.4 but totally unusable ( only white screen) other package seems use a requirement to dont have to be update
nephros
Sun, 2021/03/21 - 03:22
Permalink
Hi, just discovered this and love it!
I have made some adjustments to the UI if you're interested.
However it seems the latest code on githubb doesn't match up with what's in the latest package. Any particular reason for this?
jayki
Wed, 2021/05/19 - 16:09
Permalink
Hi,
sorry i did not see your comment...
I'm thankfull for every Pull Request on Github and i'll have a look at the source there now
Thx
nephros
Wed, 2021/06/09 - 17:40
Permalink
Same for me, missed your answer.
Pull requests coming up! :)
jayki
Wed, 2021/06/09 - 18:29
Permalink
Many thanks for your PRs :)
I really like the new front page.
I merged all of them, new version comming soon :)
greatneon
Fri, 2021/02/26 - 11:20
Permalink
Hi there jayki
Thank you for your app. I have a question on how to sync data with nextcloud's phonetrack. I've installed phonetrack on my nextcloud instance. Now in livetrack's setting I have in settings this:
Serverurl: https://my.url.local/trackme/
ID: 2711/jolla
Update location ievery x secodns: 1
What do I enter in Server url if my nextcloud's url is: https://bla.xxx.duckdns.org ?
What do I enter under ID?
Also I must enter these settings before I start tracking right?
Looking at: https://github.com/jaykijay/harbour-LiveTrack It says I must get log url not sure where do I get it do I have to configure also something on nextcloud phonetrack's side?
Thak you so much for your effort!
jayki
Fri, 2021/02/26 - 12:23
Permalink
Hi ;)
you can get the required URL from Nextcloud Website.
Go to Phonetrack App on Nextcloud,
Click "create new session", give it a name and create it.
After you see this session in the left sidebar.
Then click in the Session on the middle Button with the two "Paper clips?"
It will expand and tell you some Links. You will need the HTTP-GET Link from there.
You will have somethink like :
https://bla.xxx.duckdns.org/apps/phonetrack/logGet/ec16bfa52df4a99d98b350e63c8695f6/yourname?lat=LAT&lon=LON&alt=ALT&acc=ACC&bat=BAT&sat=SAT&speed=SPD&bearing=DIR×tamp=TIME
just cut it before yourname as in the description.
You will end up with somethink like:
https://bla.xxx.duckdns.org/apps/phonetrack/logGet/ec16bfa52df4a99d98b350e63c8695f6/
dont forget the ending /.
In ID enter the Name you want to use.. e.g. greatneon or something else.. you can use whatever you want here but please don't use any special characters. Even using "/" is critical.. this was a bad default.. i'll change this in next release.
The ID will be the Name you see in Nextclouds Phonetrack App.
I'll add a screenshot on github showing it.. it's hard to add screenshot here.
greatneon
Fri, 2021/02/26 - 16:39
Permalink
Thank you for detailed explanation! Very much appreciated!
P.S. I tried today but not sure how of ter does data gets send to nextclouds's phonetrack? On SailfishOS I had:
Send ok 0
To send 68
Ignored 0
Timer interval 10 sec
I was on mobile data and I had a good gps signal...
sopvkore
Sat, 2020/06/06 - 22:22
Permalink
Great app!
Just a tiny comment regarding ID field - I kept default value (number/jolla) and it was not working because of '/' (URL was then wrong). So it might be a good idea to suggest some good value for the ID.
jayki
Sun, 2020/06/07 - 02:39
Permalink
Thank you :)
-> I'll change the default value, you're absolutly right with that.
tvicol
Thu, 2019/06/13 - 18:50
Permalink
Can I run from.cli ? Some advice how to start this as a service ?
jayki
Thu, 2019/06/13 - 18:53
Permalink
HI,
you can run it from cli with command "LiveTrack" but it's a Gui application with mainly QML Code, so it needs to be run as real Application. It can't be run only in CLI, it'll always need to open the qml components to work, so running as service is not possible and not intended.
crakby
Sat, 2018/11/10 - 01:39
Permalink
Could it possible to do NOT send the points, even a connection is active? And then send it, if hitting the stop button. I would like this for battery drain an network saving.
jayki
Wed, 2019/02/27 - 15:09
Permalink
This should be possible, will keep it on my todo list and implement it if i have more time..
sven_
Mon, 2018/10/15 - 10:54
Permalink
This is the first native tracking app that I got working, thank you very much! I'd like to use it as tracker for my home-assistant install. Right now I got PhoneTrack working.
Downside is the battey useage. My battery on the xperia X can't last the day sending every 2 minutes my position. In the app I see that the GPS is queried every couple of seconds. If I can request a new feature: make the GPS query frequency also a user setting.
Storeman says I installed 0.6.5, but the about section of the app says 0.6.4.
Thank you for developing this app!
sfsoft
Mon, 2018/11/05 - 19:15
Permalink
"Storeman says I installed 0.6.5, but the about section of the app says 0.6.4."
It's like that to me too
jayki
Mon, 2018/11/05 - 20:22
Permalink
Sorry i missed updating it in the app.. Will do it on next release ;)
Marzanna
Fri, 2018/10/05 - 22:45
Permalink
Tried it while cycling. But it didn't save anything :(
jayki
Fri, 2018/10/05 - 22:47
Permalink
Which backend did you use?
Marzanna
Tue, 2018/12/18 - 20:22
Permalink
I don't know. I just wanted to save my track as a GPX file
Pages