Driver ID by association with an EYE Beacon

João Tomás6 days ago

I'm trying to associate drivers to a Teltonika EYE Beacons so I can track statistics per driver. The EYE Beacon already reports an event to the FMC150 on io10828, with a string that has the MAC address of the Beacon.

I was thinking I could somehow use the driver atribute field to save the Beacon's MAC address and then later compare it with the io10828 event to confirm the driver. Is this something that can be done with computed attributes, or is there other way of doing it?

Thanks,
João

JCardus6 days ago

You can create a computed attribute for the driverUniqueId using that attribute.

João Tomás6 days ago

Thanks for the answer!
Will it be possible with advanced expressions to parse the various EYE Beacons MAC's from the unparsed io10828 string and store them in an ArrayList,and then compare each one with the MAC from the driver's attributes to confirm the correct driver on the FMC150 attributes?

Anton Tananaev6 days ago

We only support single driver id currently, so you won't be able to use multiple values.

João Tomás6 days ago

My goal is not to have more than one driver id. I would create separate drivers, each with a MAC address of their beacon in the attribute field, and these would be associated with their corresponding devices. Then the driver would be confirmed if its own MAC was found within the io10828.

Anton Tananaev6 days ago

Then you probably have to adjust the source code.

João Tomás6 days ago

Ok, thanks for helping!

By the way, just because I'm not very acostumed with the source code, would you recommend doing these changes on the Teltonika protocol files, or is there any other place I would do this?

Deibys Paredes12 hours ago

Hi, João. Can you help sharing your traccar configuration and device configuration?

João Tomás3 hours ago

Sorry, but what traccar specific configurations are you talking about?