Driver not being reported on reports

Andre Franca5 months 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 Tananaev5 months ago

What's your protocol configuration?

Andre Franca5 months 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 Tananaev5 months 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 Franca5 months 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 Tananaev5 months ago

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

Andre Franca5 months ago

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

Anton Tananaev5 months ago
paulo andre jannke5 months ago

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