TK102 or TK102B ??

dsfser9 years ago

Hallo,

i have bought this tracker from china:

http://www.dhgate.com/product/tk102-gps-tracker-with-1-pc-battery-car-charger/172189238.html

now i'm trying to connect it to traccar.

i used the port 5006 for TK102 but it is not working.

this are my logs:

2015-06-23 21:05:28 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78780d010355488339914213000503570d0a
2015-06-23 21:05:36 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78780d010355488339914213000503570d0a
2015-06-23 21:05:54 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f12000000000000c0000000000000000000200000cc080cd000b5d00005efbf0d0a
2015-06-23 21:06:26 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f12000000000000c0000000000000000000200000cc10040300b5ce0006a93c0d0a
2015-06-23 21:06:55 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f12000000000000c0000000000000000000200000cc080cd000b5d00007ccad0d0a
2015-06-23 21:06:56 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78780a1380000000010008d4f60d0a
2015-06-23 21:07:02 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78780d0103554883399142130009c93b0d0a
2015-06-23 21:07:25 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f12000000000000c0000000000000000000200000cc080cd000b5d0000925d30d0a
2015-06-23 21:07:55 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f12000000000000c0000000000000000000200000cc080cd000b5d0000a17480d0a
2015-06-23 21:08:26 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030819c40593abef00a2d6dd0234cc00cc080cd000b5d0000b16560d0a
2015-06-23 21:08:56 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030837c40593ac0d00a2d6630034ca00cc080cd000b5d0000cc8c80d0a
2015-06-23 21:09:26 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030919c40593ac8500a2d4ab02351400cc080cd000b5d0000d50e20d0a
2015-06-23 21:09:27 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78780a13c000000001000e76c60d0a
2015-06-23 21:09:33 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78780d010355488339914213000fac0d0d0a
2015-06-23 21:09:56 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030937c40593ac4f00a2d4640034ed00cc080cd000b5d0000f38780d0a
2015-06-23 21:10:26 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030a19c40593ac4e00a2d4670034ed00cc080cd000b5d00010b4b30d0a
2015-06-23 21:12:42 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030a37c50593ac4e00a2d4670034ed00cc080cd000b5d00011fecf0d0a
2015-06-23 21:12:43 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030b19c40593abfc00a2d4ea00342400cc10040300b5ce00126caa0d0a
2015-06-23 21:12:43 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030b37c40593abdb00a2d52000343100cc10040300b5ce001375be0d0a78780a13c000640001001445be0d0a78780d010355488339914213001513d60d0a
2015-06-23 21:12:44 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030c1ac50593ac2600a2d61700343100cc10040300b5ce0015cb200d0a
2015-06-23 21:12:57 DEBUG: [C0761834: 5001 <- 188.207.69.67] - HEX: 78781f120f0618030c38c50593ac2600a2d61700343100cc080cd000b5d0001626010d0a
Anton Tananaev9 years ago

Your device is using GT06 protocol. Port 5023 in Traccar.

dsfser9 years ago

Ahh, thank you! I wil try that. Strage that my device is different than the others.

Anton Tananaev9 years ago
dsfser9 years ago

hello,

i have tryed the port 5023 and i get closer now but its not working good.

i get the message that there is a unknown device. thats good and i added the device in het admin pannel (traccar) but i dont get any locations.

2015-06-24 00:53:40 DEBUG: [59831CF0: 5023 <- 188.207.114.27] - HEX: 78780d010355488339914213000503570d0a
2015-06-24 00:53:40  WARN: Unknown device - 355488339914213
2015-06-24 00:53:40 DEBUG: [59831CF0: 5023 <- 188.207.114.27] - HEX: 78781f120f0618063510c40593aa9100a2d5b90034cc00cc10040300b5ce000558bf0d0a
2015-06-24 00:53:40 DEBUG: [59831CF0: 5023 -> 188.207.114.27] - HEX: 787805120005f5090d0a
2015-06-24 00:53:47 DEBUG: [59831CF0: 5023 <- 188.207.114.27] - HEX: 78781f120f061806352ec50593aa9100a2d5b70034cc00cc10040300b5ce00060cc70d0a
2015-06-24 00:53:47 DEBUG: [59831CF0: 5023 -> 188.207.114.27] - HEX: 787805120006c7920d0a
2015-06-24 00:54:17 DEBUG: [59831CF0: 5023 <- 188.207.114.27] - HEX: 78781f120f0618063610c60593aa9100a2d5b70034cc00cc080cd0002e1d000782e30d0a
2015-06-24 00:54:17 DEBUG: [59831CF0: 5023 -> 188.207.114.27] - HEX: 787805120007d61b0d0a
2015-06-24 00:54:18 DEBUG: [59831CF0: 5023 <- 188.207.114.27] - HEX: 78780a13c000000001000813f00d0a
2015-06-24 00:54:18 DEBUG: [59831CF0: 5023 -> 188.207.114.27] - HEX: 78780513000874300d0a
2015-06-24 00:54:48 DEBUG: [59831CF0: 5023 <- 188.207.114.27] - HEX: 78781f120f061806362fc60593aa9100a2d5b70034cc00cc080cd0002e1d0009cce40d0a
2015-06-24 00:54:48 DEBUG: [59831CF0: 5023 -> 188.207.114.27] - HEX: 7878051200093f650d0a
2015-06-24 00:55:18 DEBUG: [59831CF0: 5023 <- 188.207.114.27] - HEX: 78781f120f0618063711c60593aa9100a2d5b70034cc00cc080cd0002e1d000a8b8b0d0a
2015-06-24 00:55:18 DEBUG: [59831CF0: 5023 -> 188.207.114.27] - HEX: 78780512000a0dfe0d0a
2015-06-24 00:55:48 DEBUG: [59831CF0: 5023 <- 188.207.114.27] - HEX: 78781f120f061806372fc60593aa9100a2d5b70034cc00cc080cd0002e1d000bb4b20d0a
2015-06-24 00:55:48 DEBUG: [59831CF0: 5023 -> 188.207.114.27] - HEX: 78780512000b1c770d0a
Anton Tananaev9 years ago

You need to restart the service or make device reconnect. The problem is that device sends IMEI only once after it establishes connection, so because server couldn't find it in the database at that point all subsequent messages are ignored until next connection and login message from the device.

dsfser9 years ago

Thank you Anton Tananaev.

my tracker is working perfectly.

Thank you for your time! have a nice day.

surmanajaja9 years ago

Hi

did you manage to get your device working? I have same device and similar hex strings, unfortunately it doesn't work with any known protocol

hex to ascii conversion returns something unrecognizable strings. I bet there's some binary comnpression or so but can't figure out what and how to decompres it.

EDIT: Sorry this was solved, shortly: before first attempt add device & use port 5023

dsfser9 years ago

Use protocol GT06 and RESTART!

woody9 years ago

I have tk102 but donot know how to set it.. I set my port 10 5016 but it's not found (listed) on traccar program, what wrong? What is my id ???

Thanks

The following is my Log: seem ok but not functions?

2015-12-11 15:10:23  INFO: [0C513E2B] connected
2015-12-11 15:10:24 DEBUG: [0C513E2B: 5016 < 27.55.13.87] HEX: 283032373034333832393837384252303031353132313141313334372e383136324e31303033342e35313530453030302e34303831303233302e3030303030303030303030304c303030303030303029
2015-12-11 15:10:26 DEBUG: [0C513E2B: 5016 < 27.55.13.87] HEX: 283032373034333832393837384250303030303030323730343338323938373848534f29
2015-12-11 15:10:35 DEBUG: [0C513E2B: 5016 < 27.55.13.87] HEX: 283032373034333832393837384252303031353132313141313334372e383136374e31303033342e35313439453030302e38303831303334302e3030303030303030303030304c303030303030303029
2015-12-11 15:11:35 DEBUG: [0C513E2B: 5016 < 27.55.13.87] HEX: 283032373034333832393837384252303031353132313141313334372e383136344e31303033342e35313435453030302e37303831313334302e3030303030303030303030304c303030303030303029
2015-12-11 15:12:35 DEBUG: [0C513E2B: 5016 < 27.55.13.87] HEX: 283032373034333832393837384252303031353132313141313334372e383135394e31303033342e35313038453030302e37303831323334302e3030303030303030303030304c303030303030303029
Anton Tananaev9 years ago

@woody, your device is using TK103 protocol (port 5002). Unique identifier is - 027043829878.

woody9 years ago

Another one

23232c696d65693a3335393731303034393736353937382c413b

I set to port 5001, 5002, and 5003 traccar cannot recognized what will be the identifier? and port?

Anton Tananaev9 years ago

It's GPS103 protocol (port - 5001). Unique identifier - 359710049765978.

rasik9 years ago

@Anton
this device can send directly the speed, location to traccar server or it send sms o prestored mobile number ?

if it send data means, how much data bandwidth it consume ..??as we dont have unlimited internet plans for simcards.

Anton Tananaev9 years ago

Most devices send data directly to Traccar server without any SMS messages. It doesn't consume much bandwidth if signal quality is good. If reception is bad, there might be minimum charges for each re-connect.