Coder Social home page Coder Social logo

traccar / traccar-web Goto Github PK

View Code? Open in Web Editor NEW
767.0 105.0 1.1K 8.94 MB

Traccar GPS Tracking System

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

License: Apache License 2.0

CSS 0.79% JavaScript 98.27% HTML 0.85% Python 0.09%
traccar gps javascript gps-tracking hacktoberfest

traccar-web'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-web's People

Contributors

5of9 avatar abyss777 avatar amenk avatar bihab avatar ckrey avatar dan-r avatar dependabot[bot] avatar disousadev avatar dkyeremeh avatar dt-ap avatar edvalley avatar geduxas avatar gpproton avatar guterresrafael avatar jcardus avatar jguthrie100 avatar jinzo avatar jjreset avatar juniormelo26 avatar k-j-dod24 avatar khfayzullaev avatar lcsvcn avatar lucasleite01 avatar lzkill avatar mail2bishnoi avatar matjon avatar mtahasahin avatar tananaev avatar tsmgeek avatar zirops 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-web's Issues

is it possible?

is it possible to do next:
when i click on imei on left panel - to show last path ?

Когда я нажимаю на устройство слева, чтобы отображался его последний маршрут ?

demo & local

sir
in http://localhost:8082 isnt possible to connect with my device and in demo isnt possible to add new device.
yesterday everthing was good
what can i do?
thank you

Loading message.

A loading message before the login screen. The first access is a bit lengthy, a loading message would be good.

User Settings

Now, the table user_settings stores the id and SpeedUnit. I think there should be a 1:n relationship. Instead of store the SpeedUnit in all the rows, It only should stores 3 values:

table: user_settings

| id | SpeedUnit |

| 1 | knots |
| 2 | Km/h |
| 3 | Miles/h |

And in the users.UserSettings_id column only should be stored the id of the user_settings.SpeedUnit [1,2 or 3]. The default value should be knots, in GPS103 for example.

Compiled Traccar Error

When I replace the original traccar-web.war with a new compiled and packaged, by accessing localhost I get the "Directory /" message where should be the login screen.

Running on eclipse as Web Application, everything works.

Automatic map advance with tracking data

Is there a way to advance the map automatically while the tracking is updating on the screen? The icon moves out of the window as the tracking advances. You have to grab the map and drag it.

Distance units

Ability to choose between: knots / miles per hour / kilometers per hour.
This might be a bit tricky because different trackers may use different units.

compiling issue

Hello,
I've noticed this new web interface for traccar and tried to compile it, but I'm getting the following errors:

[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project traccar-web: Compilation failure
/home/sickmind/traccar-web/target/generated-sources/gwt/org/traccar/web/client/database/DatabaseServiceAsync.java:[7,7] error: duplicate class: org.traccar.web.client.database.DatabaseServiceAsync

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
/home/sickmind/traccar-web/target/generated-sources/gwt/org/traccar/web/client/database/DatabaseServiceAsync.java:[7,7] error: duplicate class: org.traccar.web.client.database.DatabaseServiceAsync

at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more

[ERROR]

This time the issue is not the same as the one I used to have with traccar (traccar/traccar#108)
Could you please advice.
Thank you in advance.

Compile Issue

I downloaded the new trackar-web source code, but when i try compile it im getting this error:

Unable to find 'org/gwtopenmaps/openlayers/OpenLayers.gwt.xml'

Maybe i forgot install something?

How to pass on data to Traccar easily

Hello!

I'm currently developing a solution in Python receving tracking data via SMS. The program is then passing the tracking data on to Traccar for visualization and storage. Currently, I'm using a socket connection with port 5000 to pass on the information - it works most of the time. I'm having some trouble with this solution and my question is, if there's an easier way to send the tracking data to Traccar? The python program and the traccar server is running on the same Windows computer. Can you help me out?

Thank you for your time!

Best regards,
Simon

Actually remove devices from database

At the moment devices are not removed, just link from user to device is removed, so user gets error when trying to recreate device that he removed.

Improve SELECT statement for device's latest position

I turned on sql slow query and I got a lot of slow querys that run for more than 10 sec.

The query is this, I suppose is to get the latest position of user devices.

select position0_.id as id2_, position0_.address as address2_, position0_.altitude as altitude2_, position0_.course as course2_, position0_.device_id as device12_2_, position0_.latitude as latitude2_, position0_.longitude as longitude2_, position0_.other as other2_, position0_.power as power2_, position0_.speed as speed2_, position0_.time as time2_, position0_.valid as valid2_ from positions position0_ where position0_.id in (select device1_.latestPosition_id from devices device1_, positions position2_ where device1_.latestPosition_id=position2_.id and (device1_.id in (323 , 322 , 324 , 325 , 294 , 276 , 103 , 105 , 102 , 101 , 88 , 86 , 85 , 84 , 49 , 37 , 35 , 33 , 22 , 21 , 20 , 15 , 5 , 4 , 3 , 2 , 1 , 14 , 17 , 18 , 95 , 19 , 23 , 24 , 36 , 87 , 195 , 261 , 277 , 327)));

This user account has 60 devices so far.

Any ideas for improving this query because I think this is the reason my mysql server crashes.

I've been reading that using IN in a clause is very inefficient. Check http://stackoverflow.com/questions/15881295/high-cpu-consuming-mysql-request-with-php

Thanks in advance

Draw the device route

Is it posible to draw the route and the direction the device is going? In the attached image, the red flags are the points where the server gets the position. It helps us to know the device's route. Is it posible to change de rhombus for a car? And as you can see in the image, the car has an arrow on it and rotates according to the direction.

directions

xexun tk103

HI FRIEND,I PURCHASED A GPS TRACKER XEXUN TK103 ORIGINAL,ID: 012896001058574 ,I connected the server with the IP 41.226.27.211 port 5000 and have not produced results, TIME TO CONNECT THE TRACKER THAT IS (11:40 P.M (UTC-03:00) Buenos Aires)..so i want to know if you received some information in our system,thanks for our help..

p.s: information that appears in the user manual....

12.5 GPRS transport protocols

As soon as the IP & Port & APN are set up, the user can make a call or send SMS to
tracker. The tracker will hand up and report the coordinates to IP address.
The message format sent by tracker to IP address is as following:

Serial number + authorized number + GPRMC + GPS signal indicator + command +
IMEI number + CRC16 checksum.

For example:
090907070718,13145826175,GPRMC,070718.000,A,2234.0228,N,11403.0764,E,0.00
,,070909,,,A_73,F,helpme,imei:354776030042714,132,40512
090907070718== serial number(date&time)
15
13145826175=== authorized number
GPRMC,070718.000,A,2234.0228,N,11403.0764,E,0.00,,070909,,,A_73,==GPS
module’s Original GPRMC sentences
F=== Full GPS signal L=== No GPS signal
help me == the SOS message
imei:354776030042714==the tracker’s IMEI number
132=== The length of the GPRS string
40512===CRC16 Checksum
For example, it will send GPS coordinates as below illustrated

Compile Issue

Dont worked,

Loading inherited module 'org.gwtopenmaps.openlayers.OpenLayers'
[ERROR] Unable to find 'org/gwtopenmaps/openlayers/OpenLayers.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[ERROR] Line 12: Unexpected exception while processing element 'inherits'

Remove device bug

When selected in archive panel device is removed clear combo box.

Show username in traccar web

Is it posible to show username on traccar web? I mean, when a user log in, there should be a place in traccar web when his name is shown, like a welcome. For example: Welcome: [username].

web interface

Hello,
1 . i tried your android client on my phone and on your demo site , but i can't add my phone when i set my imei number i have a msg box who tell me "Remote procedure call error"

2 . i installed the server/webinterface on my computer too , so it's running but , the android app can't connect to my server ... i tried to connect to my server with my local network ip adress and by my internet ip but it's same .

Can you tell me where i can configure the server ?

So thank you , and i'm sorry for my bad english ...

Demo server error

Error: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List org.traccar.web.client.model.DataService.getLatestPositions()' threw an unexpected exception: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.traccar.web.shared.model.User.devices, could not initialize proxy - no Session

Try EAGER fetching...

Time Zone

Ability to choose time zone.
(Can be added to 'users' table as default time zone for each user. Additional information for the users might be usefull too (e-mail address for registration confirmation and password reset especially if the password is encrypted, real name, etc.)

PS: not sure if this is for the web project, but currently the coordinates from traccar-client are shown with wrong time (who hours in the future). For example this message is couple of minutes old from tracker-server.log: 2013-01-14 12:06:20 org.traccar.TrackerEventHandler.processSinglePosition INFO: id: null, deviceId: 1, valid: true, time: Mon Jan 14 14:06:20 EET 2013, latitude: 42.65502333333333, longitude: 23.42791666666667, altitude: 0.0, speed: 0.0, course: 93.0, power: null
My timezone is GMT+2 and my current time is 12:06 as shown at begining of the line.

Translation to spanish

Hello Anton,

I wish to translate the web interface to spanish if you want.
Tell me how I do.

Thank's

Zoom levels

Investigate if it is possible to use different zoom level number for different map layers.

Start & stop data flow from a tracker device

It would be nice to call the platform server software up and then have the ability to start and stop each device from adding captured data to the buffer logs. This will keep the logs from over-running with data from multiple devices and the user will have the ability to toggle devices on and off with out sending a command to the device. The ability to send commands to a device such as arm, disarm, set time, reset, track time, geo fence, and toggle SMS mode would be great too.

Location markers on map

First of all, I want to thank you for this great project (traccar-server and web). I would like to have one enhancement that I've seen in other GPS tracker software.

I wonder if it is posible to show info when clicking on a location marker like google maps does. When you click on a Google map marker, then a box is shown with some info. In this case, that box could show, for example, position time, speed, imei, etc.

Thanks! :D

Session problem

hello, i have some troubles with the web interface:

I need to clean the cache of chrome/firefox to get my device displayed on the map.

And for real time tracking on the map it's not refreshing on real time ,the device could do some kilometers and on the map it's still on the same place. (i dont know if you understand what i want to mean...(sorry for my bad english))

I'm using the android app.

Thank you !

Increase password security

Store password as hash with salt, not sure yet where to calculate hash (client/server). Need more research here.

Improve Database schema

Is it possible to add a column to all tables that records the date and time the update or insertion was made?

And one last question, can I do a POST from another page (in PHP) and do the login process and take me directly to the map? If it is not posible, how can I customize the traccar web application or what software do I need in order to do so?

Ayuda servidor .... server Help

hello

Need to know if someone can help me
I'm not a programmer, so I can not solve this problem
I'm using windows server em, someone I can change some of the system when I make um user sign put a date to be lock, unlock income of that person.

other help I am using TK103 create um button to lock, unlock the car for that model


hola

Preciso saber si alguna persona me puede ayudar
no soy programador, por lo tanto no puedo resolver este problema
estoy usando servidor em windows, alguna persona me puede modificar algo del sistema para cuando yo crea um usuario con seña colocar una fecha para que sea bloquiado el ingreso de esa persona.

otra ayuda yo estoy usando tk103 crear um boton para bloquear , desbloquear al auto para ese modelo

Loss of track data, long compile error appeared.

Hi I installed Traccar last night on my server with MySQL it worked great. I watched a vehicle move around for about an hour but then when I tried to replay all of last nights movements a long compile error came up and there is no data since the start time of the request.
UPDATE: I now have realized it is not showing any history data since that point, all others are fine. It is saving the data to the positions tbl. for the correct unit id.

Error when tring to add user: Remote procedure call error

INFO | jvm 1 | 2013/03/27 16:48:36 | 2013-03-27 16:48:36.184:INFO:/:dataService: ERROR: The serialization policy file '/traccar/00428117813FAF296BF0A187F3DD6CC4.
gwt.rpc' was not found; did you forget to include it in this deployment?
INFO | jvm 1 | 2013/03/27 16:48:36 | 2013-03-27 16:48:36.185:INFO:/:dataService: WARNING: Failed to get the SerializationPolicy '00428117813FAF296BF0A187F3DD6CC4
' for module 'http://ip:8082/traccar/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a res
ult.
INFO | jvm 1 | 2013/03/27 16:48:36 | 2013-03-27 16:48:36.217:WARN:/:Exception while dispatching incoming RPC call
INFO | jvm 1 | 2013/03/27 16:48:36 | com.google.gwt.user.client.rpc.SerializationException: Type 'org.traccar.web.shared.model.User' was not assignable to 'com.g
oogle.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized.: instance = org.traccar.
web.shared.model.User@4a7abc22
INFO | jvm 1 | 2013/03/27 16:48:36 | at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
665)
INFO | jvm 1 | 2013/03/27 16:48:36 | at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter
.java:126)
INFO | jvm 1 | 2013/03/27 16:48:36 | at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWr
iter.java:153)
INFO | jvm 1 | 2013/03/27 16:48:36 | at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.
java:585)

How to compile traccar web

How to build web traccar
Eclipse or Netbeans?
Which plugins need to install?
and how important the project?

How to compile traccar web

I would like to know what I need to compile traccar web in. order to use it with traccar. I already have eclipse installed but what else do I need?

Thanks!

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.