Get position lat, lon 0

Subhadipa year ago

Hey, I am facing same situation like get allways lat, lon 0.0000. I am using GF60 Asset Tracker device and it will working correctly few days age, but suddenly it stop working and it will working correctly on their server.
There is my config :

<entry key='event.enable'>true</entry>
<entry key='event.overspeedHandler'>true</entry>
<entry key='event.overspeed.notRepeat'>true</entry>
<entry key='event.motionHandler'>true</entry>
<entry key='event.geofenceHandler'>true</entry>
<entry key='event.alertHandler'>true</entry>
<entry key='event.ignitionHandler'>true</entry>
<entry key='event.statusHandler'>true</entry>
<entry key='event.maintenanceHandler'>true</entry>

<entry key='processing.computedAttributes.enable'>true</entry>
<entry key='processing.engineHours.enable'>true</entry>
<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>battery,batterylevel,ignition,hours</entry>

<entry key='geocoder.enable'>true</entry>
<entry key='geolocation.enable'>true</entry>

<entry key='time.override'>serverTime</entry>
<entry key='time.protocols'>h02</entry>
<entry key='protocols.enable'>h02</entry>

<entry key='filter.enable'>true</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.duplicate'>true</entry>
<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.minError'>3</entry>
<entry key='coordinates.maxError'>500</entry>

Can you please help me to setup my device

Track-tracea year ago

Well, logicly you will first look at the traccar server log to see what the device actually reports.

Anton Tananaeva year ago
Subhadipa year ago
  1. I am using traccar verion 5.10
  2. GF60 asset tracker device using H02 protocol.

Link for logs: https://we.tl/t-3Y0kamMepe

Subhadipa year ago
2024-02-06 05:41:48  INFO: [T2e2f449f] connected
2024-02-06 05:41:50  INFO: [T2e2f449f: h02 < 2401:4900:7337:8265:0:0:223:3fe0] 2a48512c3836393733313
035323539343239382c485442542c373423
2024-02-06 05:41:50  INFO: Position filtered by Invalid Zero filters from device: 869731052594298
2024-02-06 05:41:50  INFO: [T2e2f449f: h02 > 2401:4900:7337:8265:0:0:223:3fe0] 2a48512c3836393733313
035323539343239382c4854425423
2024-02-06 05:42:30  INFO: [T2e2f449f: h02 < 2401:4900:7337:8265:0:0:223:3fe0] 2a48512c3836393733313
035323539343239382c485442542c373523
2024-02-06 05:42:30  INFO: Position filtered by Invalid Zero filters from device: 869731052594298
2024-02-06 05:42:30  INFO: [T2e2f449f: h02 > 2401:4900:7337:8265:0:0:223:3fe0] 2a48512c3836393733313
035323539343239382c4854425423
2024-02-06 05:43:11  INFO: [T2e2f449f: h02 < 2401:4900:7337:8265:0:0:223:3fe0] 2a48512c3836393733313
035323539343239382c485442542c373523
2024-02-06 05:43:11  INFO: Position filtered by Invalid Zero filters from device: 869731052594298
2024-02-06 05:43:11  INFO: [T2e2f449f: h02 > 2401:4900:7337:8265:0:0:223:3fe0] 2a48512c3836393733313
035323539343239382c4854425423
2024-02-06 05:43:52  INFO: [T2e2f449f: h02 < 2401:4900:7337:8265:0:0:223:3fe0] 2a48512c3836393733313
035323539343239382c485442542c373523
2024-02-06 05:43:52  INFO: Position filtered by Invalid Zero filters from device: 869731052594298
2024-02-06 05:43:52  INFO: [T2e2f449f: h02 > 2401:4900:7337:8265:0:0:223:3fe0] 2a48512c3836393733313
035323539343239382c4854425423
Anton Tananaeva year ago

Your device is not sending any GPS data. That's why it's zero.

Does it really use IPv6? First time I see something like this.

Subhadipa year ago

Yes this resource can communicate using the IPv4 and IPv6 protocols and I add the TCP port both in IPv4 and IPv6. But the device is sending data correctly on their server. And even few days ago its running good in this server. First the server recieve the time 1970 but when use <entry key='time.override'>serverTime</entry> then its show server time but the position lat, lon is still 0.
Is there any to change in my config?

Anton Tananaeva year ago

I cannot tell you about their server, but I can see what it sends to your server based on the logs. You can see it yourself.

Subhadipa year ago

When the server has only database configuration in the traccar config file the device is connected and recieve data from device, and show all that we need. After that when the device is not update any location and its show and reply the last location only then we delete and again add the device, from that time its showing lat, lon 0 and show the past time(1970-- like this). Then we try to config and made changes in traccar config file.
Can you please check my config if any thing wrong.

Anton Tananaeva year ago

You keep completely ignoring everything I'm telling you, so I don't think I can help. Good luck.

Subhadipa year ago

Just one thing how I can send the commands as shown in https://www.traccar.org/protocol/5013-h02/document.pdf