H02 devices reported as 0000000000 in Traccar 6.12.2 but correctly identified in 5.5

Vitek 13 days ago

Hello,

I am migrating a Traccar installation from version 5.5 to 6.12.2.

Environment:

  • Old server: Traccar 5.5, Windows Server 2012
  • New server: Traccar 6.12.2, Windows Server 2025
  • Java: OpenJDK 21
  • Database: MySQL, database exported from old server and imported to new server

What works:

  • Users and devices were imported correctly
  • Device list is identical on both servers
  • uniqueId values in the database are identical on both servers
  • Traccar 6.12.2 starts normally and database migration completes successfully

Problem:
My H02 devices worked correctly on the old 5.5 server, but on 6.12.2 they are reported as:

WARN: Unknown device - 0000000000

When I temporarily create a device with Identifier 0000000000, positions start appearing, but multiple trackers from different IP addresses are merged into that single device. So the new server clearly receives data, but all devices are being identified as 0000000000.

Important finding:
This is not a database import problem.

I exported the devices from both old and new servers and compared them:

  • same number of devices
  • same uniqueId values
  • no differences between old and new database content for devices

Old server behavior (5.5):
The same devices send normal H02 IDs such as:

  • 7340016131
  • 7940001444

Example from old server log:
*HQ,7340016131,V1,163510,A,4915.1640,N,01634.0616,E,000.00,000,220426,BFFFFFFF,460,00,0,0,6#

And Traccar decodes it correctly:
id: 7340016131

New server behavior (6.12.2):
The same type of devices now appear as:
*HQ,0000000000,V19,...
*HQ,0000000000,V15,...

and also binary messages beginning with:
240000000000...

Example from new server log:
*HQ,0000000000,V19,220606,V,4915.0978,N,01634.6187,E,000.00,000,220426,,,8942001180368594259F,BFFFFBFF#
*HQ,0000000000,V15,220606,V,4915.0978,N,01634.6187,E,000.00,000,220426,,,867284066655699,BFFFFBFF#

Then Traccar reports:
Unknown device - 0000000000

Configuration:
My traccar.xml contains only database settings plus:
<entry key='filter.zero'>true</entry>
<entry key='geocoder.enable'>false</entry>

There are no protocol-specific customizations.

Additional note:
When I add a device with Identifier 0000000000, I can see that multiple physical units from different IP addresses start reporting into that one device. That confirms the server is decoding packets, but device identification is wrong for this H02 variant.

Question:
Could this be a regression or compatibility issue in the H02 decoder between 5.5 and 6.12.2?

It looks like Traccar 5.5 used the actual device identifier correctly, while 6.12.2 treats these same devices as 0000000000.

If needed, I can provide:

  • old server raw logs
  • new server raw logs
  • database export comparison
  • sample packets from both versions

Thank you.

Anton Tananaev 13 days ago

Your raw data shows that it's what your device is reporting. It has nothing to do with Traccar version.