Author Topic: Locus and livetrack24  (Read 6197 times)

Offline Bartleby

  • Newbie
  • *
  • Posts: 2
    • View Profile
Locus and livetrack24
« on: 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 :
Code: [Select]
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 :
Code: [Select]
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!
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3549
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: Locus and livetrack24
« Reply #1 on: July 14, 2015, 21:12:51 »
Is it still relevant?

Offline Bartleby

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Locus and livetrack24
« Reply #2 on: July 14, 2015, 22:09:47 »
Hello,

Unfortunately no, Livetrack24 does not support sessionless API anymore :-\
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3549
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: Locus and livetrack24
« Reply #3 on: July 14, 2015, 22:38:37 »
ok thank you

So we can close...