| Versions |
 |
|
| Author |
Topic  |
|
|
Y3PP3R
Netherlands
6 Posts |
Posted - 31 mars 2012 : 19:24:55
|
For a sportsevent we use original tk102-2's for tracking of vehicles. The project is written in python and uses some private systems of the event, but the code should be usable for everyone with programming skills. Warning: it does not do much out of the box for you, you should modify the code to suit your needs.
It listens with a telnet server, gets IMEI to vechile ID data via a webservice, posts locations in JSON to a php script and updates a MySQL database with the battery status (of another application) and can email you when battery is low too. And it has some module to find out to what country the current cell network belongs. In the past it also had a module for geonames webservice to findout the country the current gps location is in, dig in the commit history to find it :)
You can find it here: https://github.com/Y3PP3R/BPS
I am willing to give some explanation if you need help, but if you are a noob, please start learning to program first ;) Also, I am open for improvement. Please note that the TK102-2 string is parsed in gps.py, please check that file for explanation of the checksum and values.
Read the readme for config options.
Sending commands to the tracker should also be possible, but I didn't integrate that (yet). |
|
| |
Topic  |
|
|
|
| This page was generated in 0,27 seconds. |
 |
|