Gps device off line

evdende5715 days ago

Hello,
In Raspberry 4b i installed gps tracker. Tracker server is running. I have a traccar account
In traccar (after login etc.) the gps tracker allways seems off line.
(In the raspberry the usb gps device is 'working' )

I am sure this has been asked before. Please assist.

Thanks

Anton Tananaev15 days ago

Have you followed the troubleshooting guide?

evdende5715 days ago

Please point me to the right page. Thanks.

Anton Tananaev15 days ago

Click documentation at the top and look for the word troubleshooting.

evdende5713 days ago

the gps tracker is running on my raspberry but in the traccar terminal the gps tracker is allways ofline. Please advice

Anton Tananaev13 days ago

I already provided an advice. Follow the troubleshooting guide and it will tell you where the problem is.

evdende576 days ago

There are more 'posts' of usb gps trackers being offline.
I have tried about 10 (completely new) raspberry pi set ups for traccar and gpsd client. The only thing i cannot resolve (and cannot find nor in the troubleshoot documentation 'here' nor in 'google' is why 'in traccar' my usb gps tracker is offline and i get no location. (my usb tracjer us ducktaped to a window with clear view).

So a more specific advice as ' look into troubleshoot ' would be welcome.

Anton Tananaev6 days ago
evdende573 days ago

The actual situation is that the tk-162 did its job on the traccar /raspberrypi setup. (traccar server). http://ip-adress:8082 connected just fine. Whe i registerd my device on traccar website the connection failed after: http://ip-adress:8082. In traccar XML i edited the ports to
5001
5002
5006
5013
5015
5023
5036
5093

In the logs were no hex files.

So i am stuck again. The troubleshoot is not conclusive. Thanks for looking into it anyway.

Anton Tananaev3 days ago

In traccar XML i edited the ports to

This makes no sense to me. You shouldn't fiddle with any configuration.

evdende572 days ago

My usb gps navigation device,tk-162, is not on your list. So reading 'the clones section' of 'your' troubleshooting i had to 'fiddle ' out which outbound port to use for my usb gps navigation device,tk-162. So intried these of "your list" all. Incoclusively. Thank you very much again. ;o)

Anton Tananaev2 days ago

You have to try different ports on the device, not reassign ports on the server side.

evdende572 days ago

i changed / tried / edited different ports in ths tracaar.xlm script nothing else. To put it simple. The original traccar.xml script, the one coming with the traccar setup (the zip file) shouldn't be edited at all ?

evdende572 days ago
<xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>

    <!-- Documentation: https://www.traccar.org/configuration-file/ -->

    <entry key='database.driver'>org.h2.Driver</entry>
    <entry key='database.url'>jdbc:h2:./data/database</entry>
    <entry key='database.user'>sa</entry>
    <entry key='database.password'></entry>

</properties>
evdende572 days ago

I changed traccar.xml to default (original). I deleted the gps device in the online traccar portal.

So first steps ( for the 53 rd time) succeeded.
Now i need to get the usb gps tracker involved.

Any udea what this is?:

java -cp lib/h2*.jar org.h2.tools.Shell -url "jdbc:h2:/opt/traccar/data/database" -driver org.h2.Driver -user sa