GithubHelp home page GithubHelp logo

traccar / traccar Goto Github PK

View Code? Open in Web Editor NEW
4.8K 320.0 2.5K 21.65 MB

Traccar GPS Tracking System

Home Page: https://www.traccar.org

License: Apache License 2.0

Shell 0.32% Java 98.81% Inno Setup 0.01% Python 0.86%
gps java traccar gps-tracking hacktoberfest

traccar's Introduction

Overview

Traccar is an open source GPS tracking system. This repository contains Java-based back-end service. It supports more than 200 GPS protocols and more than 2000 models of GPS tracking devices. Traccar can be used with any major SQL database system. It also provides easy to use REST API.

Other parts of Traccar solution include:

There is also a set of mobile apps that you can use for tracking mobile devices:

Features

Some of the available features include:

  • Real-time GPS tracking
  • Driver behaviour monitoring
  • Detailed and summary reports
  • Geofencing functionality
  • Alarms and notifications
  • Account and device management
  • Email and SMS support

Build

Please read build from source documentation on the official website.

Team

License

Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

traccar's People

Contributors

5of9 avatar abyss777 avatar al3x1s avatar anton2920 avatar binakot avatar dan-r avatar docnielsen avatar drecchia avatar edvalley avatar flocsy avatar gaborgsomogyi avatar ievgeny avatar ivanfmartinez avatar jcardus avatar jinzo avatar jon-stumpf avatar kevingoos avatar leandrosilvaferreira avatar natez7 avatar ninioe avatar renaudallard avatar seym45 avatar shinryuken avatar soshial avatar sunhoww avatar tananaev avatar valeravi avatar vitalidze avatar wkhaksar avatar yuriy-piskarev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

traccar's Issues

h2 database

hi Anton,
haw can i change the database.user

i tried to modify the default.xml or the databse user from the interface of H2
but i didnt succeed
can i modify the database.user ?
can you help me please and thanks an advance

Enfora device configuration.

Hi all,

I'm having issues configuring a Enfora device for Traccar. How should I setup the device?
Does anyone know what's the event code compatible with Traccar?

Great Thanks,

Ricardo

build-impl.xml

good morning Tananaev,
what is the role of : the file : build-impl.xml ?

any modification in this file can affected the project ?

Reset delay 0 by default

To reduce size of configuration file reset delay should be 0 by default for all protocols. If reset delay is explicitly set in configuration it should be used by decoder.

How can I just use the server in linux CentOS 6.2 ??

Do you have a procedure to make the server work in a centos 6.2 linux server ??
I had read the documentation and it says that I need to install 3rd party libraries. So the thing is that I downloaded and unzip the server, but I received this error:
Exception in thread "main" java.lang.NoClassDefFoundError: tracker-server/jar
Caused by: java.lang.ClassNotFoundException: tracker-server.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: tracker-server.jar. Program will exit.

Fix logger

Looks like netty logger is broken. Its better to implement own logger or use some special third party library.

Add device parameters

Add new device parameters:

  1. Phone number
  2. Unique ID
    Those parameters could be used by some devices instead of IMEI number. For example Meiligao devices.

Time stamp empty

Hi there

First CONGRATS on an EXCELLENT platform!

Traccar is running on my server and the client is updating. I can see the location BUT the time field is empty. What do I need to enable to get the time field populated? Also the Power fields are empty as well.

Lastly, in what unit is the speed indicated in? m/s or km/h ?

Well done again!

Regards
Riaan Jacobs

Partnership

Hello Anton,
I converted your project to maven, you have an interest in changing the main maven version also, I can send you!

I'd like to help with the project, wrote a new protocol for the same and would like to see added to the project.

Add GT03B support

Add protocol support for GT03B tracker. More research needed, probably it is already supported.

Track's beginning and end

Hi Anton!
I am wandering what is your opinion on storing information about the beginning and the end of the tracking positions stream "session".
-would it be better to compare the last postion with previous time and if the gap its longer then lets say 30min then mark previous position as "stop track session"?
-or to somehow record device connections as beginning of new track?

Send commands

Very useful feature to be able to send command from server to tracker. It can be used to configure tracker. First of all add background support for this feature (through jetty servlet), later add some buttons to web interface (it is probably separate issue).

Dell laptop with integrated GPS

Hi and sorry for a newbie question.
I have a Latitude E6510 and the built-in 3G modem also has a GPS chip on it (Ericsson - Dell Wireless 5540 HSPA)

With the GPS Utility included I can the that it is connected to COM4 and gives coardinates over the NMEA protocol

Is this anything I can use with the traccar software? If not, can you guide me to another software that can?
I have set up a OpenGTS server that will be used for my project.

TIA

Server WARNING: No operations allowed after statement closed.

The server is running, but when I start receiving data to the server, this warning is showed up:
WARNING: No operations allowed after statement closed.
I change the driver into conf/linux.cfg to use mysql engine, But I got the warning and no positions are inserted into the positions table.
What's going on ?

Fix GPS103 protocol

One of the fields can contain spaces and probably other characters. Example message:
696D65693A3335333435313034393932363436302C747261636B65722C313230383034323034332C3132333435362039393030383032362C462C3132343334332E3030302C412C333530392E383636382C4E2C30333332322E373633362C452C302E30302C2C3B

Long polling

Add log polling features to retrieve messages in web interface through ajax without using database. Real time tracking.

How to Integrate with OpenGTS

Hi,
I changed database name, user and password but I can't still make the device shows in opengts.
Please give me some instruction.

Thanks in advance.

Ricardo

Add meiligao support

Add meiligao protocol support, especially for VT300 device. Protocol specification is in email somewhere or just google it.

different tracker

il ya des tracker specifiques avec lesquels fonctionne tracker-server ?
xexun - 5000
gps103 - 5001
TK103 - 5002
GL100 - 5003
GL200 - 5004
t55 - 5005
xexun2 - 5006
avl08 - 5007
Enfora - 5008
meiligao - 500

jai pas beaucoup comprit cette notion, tu peu mexpliquer un peu ?

Server WARNING: Generated keys not requested.

This is the error I get from the wrapper.log:

INFO | jvm 1 | 2012/10/09 15:27:29 | WARNING: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().

At the same time I got this error from the tracker-server.log:

2012-10-09 03:27:29 WARNING: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().

Help needed! I can´t get this work.

Hi,
First I want to say thank you!
This is the program what I am looking for tracking my hunting dogs.

I try this first with android app Traccar client, because I don´t yet received my Tk102.
I can´t get any tracks in Tracker manager.
Here is my tracker-server log

2012-08-14 10:32:07 INFO: starting server...
2012-08-14 10:47:00 FINE: [5005 - 188.67.157.241] - (HEX: 24504749442C3335383339383034303237343133322A30660D0A)
2012-08-14 10:47:46 FINE: [5005 - 188.67.157.241] - (HEX: 244750524D432C3232343734312E3030302C412C363130332C393931372C4E2C30323534302C333535352C452C312C30302C3335352C30302C3134303831322C2C2A30650D0A)

Generating Reports

Mr. Tananaev.

Can we generate reports for tracking devices. Our customers ask for generating daily reports for the trucks. Is there any possibility for this requirements.

best regards,

Damjan Momirovski
Macedonia
Skopje

CT58i Supported @Tracker-Protokoll

Tracker: SANAV CT58i - The Tracker submits a String via http which looks like this:
imei=XXXXXXXX&rmc=$GPRMC,141109.000,A,4738.1663,N,00748.7344,E,2.23,30.88,260812,,*35,439.6,2.6,AUTO

It could also submit via tcp/udp, but which Port i have to use? You could mention one?

test.sh

hi Anton,
what is the role of test.sh ? please
and thank you for your answer in advance.

test.sh

Hi Anton,
how can use the file test.sh
i installed a virtuel machine and ubunto

i tried to execute the file with :
bash test.sh

but i want to use it with traccar-server
can u help me please
thank u very much in advance

org.traccar.protocol

Hi Anton
le package org.traccar.protocol : what is his role exactly ?
i didnt understand the classes very well

Support UDP protocol

At the moment server handles only TCP protocol. It is hard to add another protocol. Need to create abstract server class to add UDP and probably some other protocols. UDP is needed for enfora trackers.

port to listen gps 103 device

tcp 0 0 50.116.xx.xx:9000 187.210.71.48:38600 ESTABLISHED
tcp 0 0 50.116.xx.xx:9000 187.210.71.48:38600 ESTABLISHED

Tananaev, una duda, la ip 50.116.xx.xx, es la local de mi server, el puerto en el que estoy escuchando es el 9000, con el comando: netcat -l 9000
en los dos casos, veo que la ip: 187.210.71.48 , es la de mi rastreador, y si me llega alguna informacion por el socket tcp, pero que significa el numero 38600, si se supone que el dispositivo remoto, tambien esta mandando la info por el puerto 9000?

Support gps103 Alarm Command.

I want to ask, several GPS uses a part of its data protocol to send alerts, for example, the gps103 device send "tracker" or "acc alarm" and 5 or 6 different states, why is not supported ???
Are you planning to give the support in the close future ?
thanks.

traccar : fichier de configuration

bonjour : quelles est l'utilité du fichier de configuration de traccar ? et comment je peu l'utiliser ? ou je doi le mettre ? comment je peu le configurer ?

Old config doesn't work

New server needs more parameters in configuration, so old configuration (for example opengts) doesn't work.

Crc.java

Hi tananaev,
what is the role of the class : Crc.java
i didnt understand it :(

thank you for advance

Just hello

This is really nice project... its working great for me and its also educational.
Just a note i have been testing TK102-2 for a while with version 0.8 and today i have builded and tried also the latest sources... it looks like TK102-2 is working nice with this project.
Thanks, nice day
Primoz

Installation instructions for MF2200 GPS Device

Dear Tananaev,

We have successfully install the tracking server on windows host. We open it on http://localhost:8082

The next is to add the MF2200 GPS device in application. I have see that there is windows.cfg file for configuration, is there any manual instructions for adding devices in the application and test it. We are working with MF2200 and bye it from China. We want to implement the software for tracking vehicles, but we cant find installation instructions for adding devices and testing it for sure.

Please if there any instructions or manuals for adopting the software for the customers will be very helpful from you.

Best Regards.

We are using this software for tracking: http://gurtam.com/en/gps_tracking/wialon_hosting.html

wialon_hosting

Json locale formatting

Doubles could formatted with commas, probably some other errors like date and time formatting...

Add users

Add users table and web interface to login, manage users etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.