Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Bartleby

#1
Other features / Locus and livetrack24
November 16, 2012, 21:07:25
Hello,

Since this forum is already full of answers, I didn't post yet. When I recently discovered the live tracking feature I haven't found an easy way for other people to acess live track through web browser - except the livetracking test server on this forum. So I share with you how use livetrack24.com to fulfill this need:
According to my tests, you don't even need an account. Anyway, you should create one if you want to keep recorded tracks.

Here is the livetrack setup I use in Locus :
Name and update frequency : up to you!
Base URL : http://www.livetrack24.com/track.php?leolive=1&client=locus&v=v2.7.3&user=<yourAccount>
Data :
Methods: GET
Parameters:
1 lat=
2 lon=
3 alt= {m}
5 tm= {s}
20 pass= <a (random) pass for this track>

Notification is also up to you.
Note that "pass" parameter allows you to manage the track on the livetrack24.com website, so should not be your account password.

The requests will then be like :
http://www.livetrack24.com/track.php?leolive=1&client=locus&v=2.7.3&user=trackingUser&lat=48.738984&lon=-3.587723&alt=50&tm=1353012620&vtype=16388&pass=mytrackpass
We cannot track speed as  livetrack24 expects km/h format,  not m/s data currently sent by locus.

Current live tracking can be found using search tool or the "My Tracks" button. You can see updates in real time by clicking on the map thumb at the right and then on the "Track this user in Google maps 2D" link.


You can edit details or status for a track using the same pass defined in Locus. A track is identified by the username-pass pair during all track liftetime. You can end live tracking by setting status to "Everything OK" on the website.

The livetrack24 livetracking API can be found here:
http://www.livetrack24.com/wiki/LiveTracking%20API
I try the vtype parameter to set another vehicule but it seems not to work with sessionless requests.

I currenlty only performed some short test but will try again soon when biking.

Next steps ideas for Locus dev:
- speed tracking in km/h
- preset proposal for livetrack24 website live tracking options (and/or others)
- livetrack24 session aware request management by Locus(needs additionnal requests for session ID retrieval, start and stop requests) as described in the API

Hope this can help anyone!