ibutton support

Naveen7 years ago

Hi,
Does traccar support driver identification with ibuttons.
example driver id codes are -
5D00001934069B01
FD00001933BA9D01

Please can you let me know.
Thanks in advance

Anton Tananaev7 years ago

Yes, it does.

Naveen7 years ago

Thank you, Is there a documentation for ibuttons usage?

Anton Tananaev7 years ago

There is no documentation, but it works very similar to geofences. You create driver, link to device(s) or group(s) and it will show in various reports.

Naveen7 years ago

Hi, Is it possible to push the Driver ibuttons added in web application to teltonika fm1202 device? How to achieve this? Please let me know. Thanks in advance.

Anton Tananaev7 years ago

I don't really understand the question.

Naveen7 years ago

Sorry, Let me be more clear. Is it possible to send commands to a teltonika device from the webapp?

Anton Tananaev7 years ago

Yes, it is.

Naveen7 years ago

Hi, Greetings!
i have added driver ibuttons uniqueid from web ui. example 5D00001934069B01. In the positions table in mysql, i am getting in attributes field values like "driverUniqueId":"96258124557582408". All Numbers. These are not matching the driver id entered which is alphanumeric. How to match the alphanumeric ibutton uniqueid with driverUniqueId. Please advise. Thanks in advance.

Anton Tananaev7 years ago

I have modified the code to store hex value for driver id now.

Naveen7 years ago

Thanks for the information. Please can you give an example code to do this conversion.

Anton Tananaev7 years ago
Simeon7 years ago

Dear Anton,
we built up traccar server from source and updated via github to latest version including this fix for ibutton that you have submit but unfortunately we are not able to identify drivers. We have also tried to create drivers and link to vehicles but with no success.

The device that we are using is teltonika FM1100. It works perfect and send data to server, but the ibutton does not appear.

iButton imei: 61000012EC866901

Could you give me a clue how can we manage to fix the problem?

Regards,
Simeon

Anton Tananaev7 years ago

Please provide logs with ibutton.

Simeon7 years ago

traccar-server.log

2017-10-24 00:01:11 DEBUG: [5B11D28C: 5027 < 213.226.59.239] HEX: 000f333537343534303734353736313037
2017-10-24 00:01:11 DEBUG: [5B11D28C: 5027 > 213.226.59.239] HEX: 01
2017-10-24 00:01:15 DEBUG: [5B11D28C: 5027 < 213.226.59.239] HEX: 000000000000003b08010000015f4b098cf0000ef68e3319a52ed900d70160100000000602010015050142319e02c700000000f100006ef1014e000000000000000001000$
2017-10-24 00:01:15 DEBUG: [5B11D28C: 5027 > 213.226.59.239] HEX: 00000001
2017-10-24 00:01:16  INFO: [5B11D28C] id: 357454074576107, time: 2017-10-24 00:00:38, lat: 43.02558, lon: 25.10393, speed: 0.0, course: 352.0
2017-10-24 00:02:20  INFO: [5B11D28C] disconnected
2017-10-24 00:06:23  INFO: [2605A999] connected
2017-10-24 00:06:24 DEBUG: [2605A999: 5027 < 213.226.59.135] HEX: 000f333537343534303734353736313037
2017-10-24 00:06:24 DEBUG: [2605A999: 5027 > 213.226.59.135] HEX: 01
2017-10-24 00:06:26 DEBUG: [2605A999: 5027 < 213.226.59.135] HEX: 000000000000003b08010000015f4b0e20d0000ef68e3319a52ed900d70160100000000602010015050142319e02c700000000f100006ef1014e000000000000000001000$
2017-10-24 00:06:26 DEBUG: [2605A999: 5027 > 213.226.59.135] HEX: 00000001
2017-10-24 00:06:26  INFO: [2605A999] id: 357454074576107, time: 2017-10-24 00:05:38, lat: 43.02558, lon: 25.10393, speed: 0.0, course: 352.0
2017-10-24 00:07:32  INFO: [2605A999] disconnected