LiveTrack

Rating: 
4.77778
Your rating: None Average: 4.8 (9 votes)

This can be used together with Nextcloud Phonetrack App to track your Phone / record a route LIVE!

 

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.

For Phonetrack Application you can enter self choosen ID in Textfield below.

Example: Phonetrack gives you following URL und HTTP Get Logger: https://x.x/apps/phonetrack/logGet/g9c43b634e67dc70bdaa50e345b1492c/yourname?lat=LAT&lon=LON&alt=ALT&acc=ACC&bat=BAT&sat=SAT&speed=SPD&bearing=DIR&timestamp=TIME

 enter this to ServerURL then enter whatever ID you want under ID texfield, go back and click play to start logging. 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)

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-livetrack-0.9-2.armv7hl.rpm53.3 KB10/06/2021 - 01:13
File harbour-livetrack-0.9-2.aarch64.rpm54.03 KB10/06/2021 - 01:13
File harbour-livetrack-0.9-2.i486.rpm54.61 KB10/06/2021 - 01:13
Changelog: 

-recompile for Sailfish 4.1 and up

-merged PRs:

- autostart

- new front page

- better Settings Page (auto cut link)

Comments

nephros's picture

That was really quick, glad you liked it!

kaulian's picture

Thanks
Always forget jolla store

kaulian's picture

And ... I cant download older version with openrepos.
Please could you upload the previous release

Thanks

jayki's picture

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's picture

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's picture

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's picture

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's picture

Same for  me, missed your answer.

Pull requests coming up! :)

jayki's picture

Many thanks for your PRs :)

I really like the new front page.

I merged all of them, new version comming soon :)

greatneon's picture

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's picture

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&timestamp=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's picture

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's picture

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's picture

Thank you :)

-> I'll change the default value, you're absolutly right with that.

tvicol's picture

Can I run from.cli ? Some advice how to start this as a service ?

jayki's picture

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's picture

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's picture

This should be possible, will keep it on my todo list and implement it if i have more time..

sven_'s picture

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's picture

"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's picture

Sorry i missed updating it in the app.. Will do it on next release ;)

 

Marzanna's picture

Tried it while cycling. But it didn't save anything :(

jayki's picture

Which backend did you use?

 

Marzanna's picture

I don't know. I just wanted to save my track as a GPX file

jayki's picture

It's not implemented in this app. For this there are other apps like gps Tracker or even Laufhelden available ;)

sfsoft's picture

Magnificent, I was looking for an application like that for some time :-)
Compliments

edit: Sometimes it goes and sometimes the points remain to be sent. Add feedback if an error occurs.

jayki's picture

Failed points will be resend after 3 Minutes and only if the last point was send correctly. o avoid too much traffic and cpu usage.

When you end the app, press the X Button as long as the points to resend are near to 0, it forces sending the remaining points.

Give it some time, because it will need time to get answer from backend.

 

sfsoft's picture

Yesterday It failed again, after sending about 900 points, the remaining 800 have failed. Pressing the X button could not postpone the remaining points. I kept the app open all evening, but no one has ever sent it.

jayki's picture

Hi,

thanks for you comments.

Did you check if the points get to the Backend?

I suspect it's just a display Bug, because the Counter gets only updated on some cases and maybe i missed one case for updating it...

Would be really cool if you could check if the points got to the Backend or didn't go there..

If they didn't arrived in Backend.. did you check your Internet conntetion / connection to the Backend at this time?

olebr's picture

Great logger, nice together with phonetrack(nextcloud). One less thing to enable Android (dalvik). Energy saved and longer lasting battery. :)

Pages