1.) yes, driver is created
2.) yes, driver is assigned to device
3.) there is additional RFID device connected to teltonika, so I think only one event has "driver change"
only when driver in the car connects the key to unlock drive
To see driver in reports you need to have driver id in every position.
hmm, is there any workaround? it is not in every position, first one is when driver logged his self and second one is just next packet:
{"priority":1,"sat":16,"event":78,"in1":true,"in2":false,"in3":false,"motion":false,"ignition":true,"io81":0,"power":14.47,"io24":0,"tripOdometer":0,"io72":0,"io83":1714,"io84":93,"io85":741,"io87":197327800,"driverUniqueId":"01C35955D50000E8","distance":0.0,"totalDistance":1.97327E8,"fuel":93,"hours":15000}
{“priority":0,"sat":16,"event":0,"in1":true,"in2":false,"in3":false,"motion":true,"ignition":true,"io81":0,"power":13.839,"io24":3,"tripOdometer":14,"io72":0,"io83":1714,"io84":93,"io85":731,"io87":197327800,"distance":16.56,"totalDistance":1.9732701656E8,"fuel":93,"hours":36950}
I just realized that your config is incorrect. It should be:
<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>driverUniqueId,fuel</entry>
ok, thanks, I will update config file
is there any workaround to put driver id to trip report? Or the code must be adjusted
Why do you need a workaround? Once you fix the configuration it should work.
Hi Anton,
this has been fixed, now I can see drivers in Report Trips, thanks so much ;)
Hello,
our device teltonika supports driver id, I can see it in the event :
however I dont see it in Report trips, driver column is empty, is there any other configuration?
I have enabled this function in config file
<entry key='processing.copyAttributes.enable'>true</entry> <entry key='processing.copyAttributes'>driverUniqueId</entry> <entry key='processing.copyAttributes'>fuel</entry>
thanks for hints
michal