what I was once told is that some models have auto-apn when they lose signal they position themselves according to the default apn, what model of gps is it?
Its a chinese tracker no name using the Huabao protocol. What I noticed is that the lon is 0.000
time: 2024-04-25 06:08:10, lat: 22.61044, lon: 0.00000, course: 0.0
I have just foundout about filtering which means I will enable now and see if it gets better in the future.
This could be a device malfunction.
use this script in xml. then restart traccar
<entry key='filter.enable'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.invalid'>true</entry>
It will only work if the location is marked invalid. Zero filtering won't work if it's only one coordinate.
perfect, I have some h02 protocol equipment, in this case it worked, in fact it masks the icon at sea, zero latitude, and when the gps synchronizes it appears on the map
I have now talked to the vendor he told me it’s a bug somehow and my software would need to discard those submission. How can I do that? The coordinates are lat: 22.61044, lon: 0.00000,
Thank you
Are those locations marked as valid?
According to traccar and the logs yes it saves the logs just normal. Meaning I need to implement some kind of a ignore filter or a kilometer because its impossible for a car to travel for 3000km in a split minute
We don't usually log the validity flag. Can you show where you saw it?
I enabled the filer using this config setting:
<entry key='filter.enable'>true</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
Now its working the filter.invalid because I can see its filtering the status data from the trackers etc.
this is how the log looks like
2024-04-25 06:08:12 INFO: [Tf38659a2: huabao < 195.226.133.45] 7e0200004c0140733425410002000000000000000101590203000000000000000000002404251408100104000002c3e102009c5d0b0101060135ea019728021ff114383934343530313930353232303732373130364630011a5d7e
2024-04-25 06:08:12 INFO: [Tf38659a2] id: 014073342541, time: 2024-04-25 06:08:10, lat: 22.61044, lon: 0.00000, course: 0.0
For today it didnt happen again with the trackers and the location showing algeria, but it can happen again but its always the same location lat: 22.61044, lon: 0.00000.
The only issue is now that I have around 300 Pieces laying around which use that protocol and which will be sent to customer as soon as I get this fixed.
Sounds like it's actually marked as valid.
Is there a way to implement another type of filter or something so traccar can ignore those cooridnates? thanks again for your work :)
You can try filter.maxSpeed
.
I have new trackers which use huabao protocol. I have an issue that sometimes the playback shows that the tracker was for a minute in Algeria and came back to the gps location, this also happens when the tracker doesnt have any GPS Signal. Any help would good! Thanks :)