Traccar Server not logging invalid gps data

Evan Pennera year ago

Hi,
Our traccar server is not logging any events while a device has no gps signal. We confirmed that the devices still have a cellular signal, and the manufacturer confirmed that the devices will still send any event data to the server. We want to log the ignition events. Is there a setting that we're missing in our config? We're using MT600-A.

<entry key='tlt2h.can'>true</entry>
    <entry key='tlt2h.extended'>true</entry>
    <entry key='tlt2h.includeRpm'>true</entry>
    <entry key='tlt2h.includeTemp'>true</entry>
 <entry key='processing.remoteAddress.enable'>true</entry>
    <entry key='event.motion.processInvalidPositions'>true</entry>
<entry key='filter.enable'>false</entry>
<entry key='filter.invalid'>false</entry>
<entry key='geolocation.processInvalidPositions'>true</entry>
Track-tracea year ago

Why dont you check yourself what the device actually sends to your server?

You should see the incoming data in the traccar server log or through for instance listening on the server nic with wireshark or just listen on the server device port.

Evan Pennera year ago

The log isn't logging anything from the device while it is indoors from what I can see in tracker-server.log. I'll give wireshark a go.

Anton Tananaeva year ago

If you don't see anything in the log, it probably means your device does not send anything. Sounds like the manufacturer is giving you false information and you're taking it at face value without verifying.

Evan Pennera year ago

I ran a wireshark capture and I can confirm that the devices are still sending updates to the server. Here's what wireshark is seeing for the devices with no gps signal:

#863105074610201#MT600+#0000#0#0#126#40#0#AUTOLOW#1..#072030fa20c$GPRMC,,V,,,,,,,,,,A*5C..##..
#863105074610201#MT600+#0000#0#0#143#40#0#AUTOSTART#1..#072030fa20c$GPRMC,,V,,,,,,,,,,A*5C..##..
#863105074610201#MT600+#0000#0#0#142#40#0#AUTO#1..#072030fa20c$GPRMC,,V,,,,,,,,,,A*5C..##..
#863105074610201#MT600+#0000#0#0#130#40#0#AUTOSTOP#1..#072030f5d21$GPRMC,,V,,,,,,,,,,A*5C..##..
#863105074610201#MT600+#0000#0#0#129#40#0#AUTOLOW#1..#072030fa20c$GPRMC,,V,,,,,,,,,,A*5C..##..

Traccar didn't log any of these ignition events. Is it possible it isn't logging because the packets don't have date and time?

Anton Tananaeva year ago

Please provide a screenshot from wireshark.

What transport layer protocol and port are you using? And also double check if Traccar is listening on that port.

Evan Pennera year ago

Wireshark

tlt2h, port 5030. I have 50 other devices running on the same protocol. Should I be using a different protocol?

Anton Tananaeva year ago
  1. Is that captured on the same machine as your Traccar server?
  2. Have you checked that Traccar is listening on that port?

If yes to both, you will see it in Traccar logs. If you don't, you're missing some important details.

Evan Pennera year ago

I searched the tracker-server.log for the string contained in the data field from wireshark and managed to find it. It doesn't seem to be decoding it though.

Anton Tananaeva year ago

Why did you tell us this?

The log isn't logging anything

Evan Pennera year ago

I couldn't search by IP as multiple devices have the same IP. I couldn't search by device identifier as it wasn't being decoded. Now that I did the wireshark capture, I was able to search by the data from wireshark.

Anton Tananaeva year ago

Saying that you couldn't find it and stating as a fact that there's nothing in the logs are two very very different things.

Evan Pennera year ago

I apologize for the misunderstanding. What would be my next step for resolving this issue?

Anton Tananaeva year ago

The next step is providing logs, but if it's not decoded, it probably means it's not fully supported currently.

Evan Pennera year ago

Should I be moving this conversation to paid support to have the protocol implemented?