Questions tagged [traccar]

Traccar is a popular open source GPS tracking system. Use this tag when you're having problems using or understanding the source code or the API provided by Traccar.

Traccar is a popular open source GPS tracking system. Use this tag when you're having problems using or understanding the source code or the API provided by Traccar.

24 questions
2
votes
1 answer

How to access the value from set-cookie in React?

I've been working on a project using Traccar API and React. My problem is that I want to save the value of set-cookie response Header, to store it in the browser's cookies. I want to do this because, neither Firefox or Chrome set the cookie on the…
2
votes
2 answers

How to use traccar api to get devices

i have done research on google and many other page, that i can extract the data via traccar api here so i do next research how to use it, and finally find this answer here by mvalverde. At that post, he write some code, like this: // find All…
dyaadin
  • 23
  • 1
  • 4
1
vote
2 answers

How can I print a single item from this traccar output dictionary?

Goal: to change my output to only print latitude and longitude. I'd like to add the two strings as well but I can figure out how to do that. I'm struggling with this dictionary. Tried passing it to string via json but I keep getting…
t0m3k
  • 307
  • 1
  • 14
1
vote
1 answer

Traccar: what is HDOP parameter using OsmAnd

I'm making an app to insert GPS positions on a Traccar server. The "documentation" here https://www.traccar.org/osmand/ says that I must to send params using this API example…
1
vote
1 answer

emulate gps data for use with traccar using Qt

I am attempting to write a GPS emulator with QT c++. It will be used to send data to Traccar tracking app. Traccar uses localhost port 5055 to receive packets and uses the data from the packets to plot a location. I have not been successful in…
d_wheel
  • 39
  • 1
  • 7
0
votes
1 answer

How To Modify/Edit Traccar Template

I am using traccar open source GPS tracking system, and I want to edit/modify some html elements but I cant I want Modify/Edit Traccar Template there is a any way, please help. I have downloaded traccar and checked all file in traccar directory but…
0
votes
0 answers

Geoserver Custom Map on Traccar (XYZ Map Tiles) version 5.2

How do I get the Geoserver XYZ map tiles weblink to use in Traccar? Here is a previous post this exact question was asked in but I am unable to get the correct link to work in Traccar (asked by @Rezky S): I want to generate map from geoserver to use…
0
votes
1 answer

OSM/Google Maps as Base Layer on Geoserver

I want to make Google Maps or OpenStreetMap (OSM) a base map/layer on Geoserver that can be published, without having to download the entire map, for example by using the xyz tile url service like so: Google Satellite :…
Rezky S
  • 23
  • 1
  • 5
0
votes
1 answer

Geoserver Custom Map on Traccar (XYZ Map Tiles)

I want to generate map from geoserver to use as map for Traccar. For the map test, for example, OSM has no problems and appears normal as shown below. However, when I create a layer map with the geoserver and then I try to display it on Traccar,…
Rezky S
  • 23
  • 1
  • 5
0
votes
1 answer

How to convert lat lng in the format for gt06

I am new to flutter and I am trying to convert lat lng to this format Format Length(Byte) Start Bit 2 Packet Length 1 Protocol Number 1 Information Content N Information Serial Number 2 Error Check 2 Stop Bit 2 I have written this function but this…
0
votes
0 answers

Traccar not able to connect to server Websocket failed handshake 405

I have a dedicated server with lots of sites on it and accounts and every account has domains and subdomains. I was trying in the past few days to host Traccar on subdomain for an account, lets say the account name is user1, the account has a domain…
AlaaL
  • 333
  • 9
  • 28
0
votes
0 answers

here geocoding problem on traccar server no work?

geocoding problem on traccar server use gecoding api from app api key here acount appis traccar.xml confing file true here
0
votes
0 answers

Traccar Websocket not working with multi-tenancy

I have a multi-tenant Laravel web application, using stancl/tenancy for multi-tenancy support in Laravel. I also created a separate traccar server. Each tenant has a different user in the traccar server they have their own subdomains and each tenant…
P7rck
  • 116
  • 1
  • 5
0
votes
1 answer

Traccar Websocket not connecting

I'm new to WebSockets and I want to have real-time data from traccar so I'm trying to use their WebSocket API but I couldn't connect to it. I followed their documentation https://www.traccar.org/traccar-api/. And this is my code: $.ajax({ …
P7rck
  • 116
  • 1
  • 5
0
votes
1 answer

Connection with Basic HTTP authorization with email and password body application/x-www-form-urlencoded with axios

I am trying to create a new session with axios following this documentation: https://www.traccar.org/api-reference/#tag/Session/paths/~1session/post This is my code, I have really tried everything without results const sessionurl =…
1
2