Driver not being reported on reports

Andre Francaa year ago

I'm having an issue reading the driver information on my Traccar, and would like to get some help :-)

I'm using the Suntech 340ur tracker and from the logs I can see it correctly reporting the driver ID (01B54221010000):

ST300STT;807469112;45;315;20231213;23:08:41;1cd32;-16.030163;-047.989088;000.00 0 ;000.00;7;1;8257;12.21;000010;1;0105;000373;0.0;0;01B54221010000;0

In my traccar.xml I have the line to enable CopyAttributes for driverUniqueId, as below:

<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>driverUniqueId,power,ignition,battery,hours</entry>

The device and the driver are correctly linked to each other, but for some reason I can't see the driver ID in the "Events" report or any other report like Trips.

I've already tried to find a possible reason and/or workaround here on the forum, but I couldn't. I would like to hear from you any other ideas to move forward in this case. Please let me know what else I can check. Thanks in advance!

Anton Tananaeva year ago

What's your protocol configuration?

Andre Francaa year ago

Sorry if I didn´t understand your question. Do you mean the protocol configuration from source code? I didn´t change the original source code, and I´m using the Suntech default protocols.

Anton Tananaeva year ago

To be able to decode additional parameters with suntech you have to add some config options. Sounds like you haven't done that.

Andre Francaa year ago

Sorry Anton, I forgot to mention that I have also added these lines to my traccar.xml. Are these parameters you mentioned?

    <entry key='suntech.protocolType'>1</entry>
    <entry key='suntech.hbm'>true</entry>
Anton Tananaeva year ago

Yes, those are the ones I'm talking about.

Andre Francaa year ago

Even with these lines the driver is still not reported. Any suggestions on next steps I can take towards a solution?

Anton Tananaeva year ago

@Andre Franca If you can, post it here for us, as we've been trying the same thing for a long time.