tk102 won't show on map.

pedro10669 years ago

hello,
congratulations with this tool!!
this is so helpful and cool.

I am writing because I am having issues trying to connect my tk102 with traccar. I am using ubuntu and the server is working like a charm! I connected an iphone successfully, but I want to connect my tk102 gps.
I followed several posts of the forum, tested all the ports (5001, 5002, 5006, 5013, 5023 and 5036), also reboot the computer between every port change. also, I reconnected the gps when I changed the port on the website. but still can't connect.

please see the log:

2016-01-13 19:16:27  INFO: Operating system name: Linux version: 4.1.15-v7+ architecture: arm
2016-01-13 19:16:27  INFO: Java runtime name: OpenJDK Zero VM vendor: Oracle Corporation version: 24.91-b01
2016-01-13 19:16:27  INFO: Memory limit heap: 448mb non-heap: 96mb
2016-01-13 19:16:27  INFO: Character encoding: UTF-8 charset: UTF-8
2016-01-13 19:16:27  INFO: Version: 3.2-SNAPSHOT
2016-01-13 19:17:23  INFO: Starting server...
2016-01-13 19:27:19  INFO: [C0D0776B] connected
2016-01-13 19:27:25 DEBUG: [C0D0776B: 5023 < 186.26.115.170] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 19:27:53 DEBUG: [C0D0776B: 5023 < 186.26.115.170] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 19:28:29 DEBUG: [C0D0776B: 5023 < 186.26.115.170] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 19:29:03 DEBUG: [C0D0776B: 5023 < 186.26.115.170] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 19:29:38  INFO: Shutting down server...
2016-01-13 19:29:38  INFO: [C0D0776B] disconnected
2016-01-13 19:30:49  INFO: Operating system name: Linux version: 4.1.15-v7+ architecture: arm
2016-01-13 19:30:49  INFO: Java runtime name: OpenJDK Zero VM vendor: Oracle Corporation version: 24.91-b01
2016-01-13 19:30:49  INFO: Memory limit heap: 448mb non-heap: 96mb
2016-01-13 19:30:49  INFO: Character encoding: UTF-8 charset: UTF-8
2016-01-13 19:30:49  INFO: Version: 3.2-SNAPSHOT
2016-01-13 19:31:56  INFO: Starting server...
2016-01-13 19:32:22  INFO: [1EF5F546] connected
2016-01-13 19:32:25 DEBUG: [1EF5F546: 5023 < 186.26.115.179] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 19:32:55 DEBUG: [1EF5F546: 5023 < 186.26.115.179] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 19:33:44 DEBUG: [1EF5F546: 5023 < 186.26.115.179] HEX: 23232c696d65693a3335343737363033343138383831302c413b
...
2016-01-13 20:48:33 DEBUG: [99D962A6: 5023 < 186.26.115.238] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 20:49:07 DEBUG: [99D962A6: 5023 < 186.26.115.238] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 20:51:14  INFO: [91AB3B05] connected
2016-01-13 20:51:17 DEBUG: [91AB3B05: 5001 < 186.26.115.175] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 20:51:17 DEBUG: [91AB3B05: 5001 > 186.26.115.175] HEX: 4c4f4144
2016-01-13 20:52:18 DEBUG: [91AB3B05: 5001 < 186.26.115.175] HEX: 3335343737363033343138383831303b
2016-01-13 20:52:18 DEBUG: [91AB3B05: 5001 > 186.26.115.175] HEX: 4f4e
2016-01-13 20:53:24 DEBUG: [91AB3B05: 5001 < 186.26.115.175] HEX: 3335343737363033343138383831303b
2016-01-13 20:53:24 DEBUG: [91AB3B05: 5001 > 186.26.115.175] HEX: 4f4e
2016-01-13 20:54:31 DEBUG: [91AB3B05: 5001 < 186.26.115.175] HEX: 3335343737363033343138383831303b
2016-01-13 20:54:31 DEBUG: [91AB3B05: 5001 > 186.26.115.175] HEX: 4f4e
2016-01-13 20:54:33  INFO: Shutting down server...
2016-01-13 20:54:34  INFO: [91AB3B05] disconnected
2016-01-13 20:54:34  INFO: [1EF5F546] disconnected
2016-01-13 20:54:34  INFO: [99D962A6] disconnected
2016-01-13 20:54:36  WARN: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-190] - JdbcSQLException (... < QueryBuilder:61 < *:131 < DataManager:254 < ConnectionManager:110 < ...)
2016-01-13 20:55:41  INFO: Operating system name: Linux version: 4.1.15-v7+ architecture: arm
2016-01-13 20:55:41  INFO: Java runtime name: OpenJDK Zero VM vendor: Oracle Corporation version: 24.91-b01
2016-01-13 20:55:41  INFO: Memory limit heap: 448mb non-heap: 96mb
2016-01-13 20:55:41  INFO: Character encoding: UTF-8 charset: UTF-8
2016-01-13 20:55:41  INFO: Version: 3.2-SNAPSHOT
2016-01-13 20:56:18  INFO: Starting server...
2016-01-13 20:56:22  INFO: [CA69DFD1] connected
2016-01-13 20:56:27 DEBUG: [CA69DFD1: 5006 < 186.26.115.154] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-13 20:56:55 DEBUG: [CA69DFD1: 5006 < 186.26.115.154] HEX: 23232c696d65693a3335343737363033343138383831302c413b
...
2016-01-13 21:25:36 DEBUG: [6E076E52: 5013 < 186.26.115.163] HEX: 23232c696d65693a3335343737363033343138383831302c413b

thanks in advance!!

pedro

Anton Tananaev9 years ago

Port 5001 is the correct one for your device. As for not showing up, please read first point on the following page:

https://www.traccar.org/ports-for-tk-gt-and-other-gps-devices/

pedro10669 years ago

Hello,

I changed the port to 5001, also restarted the service and added again the device. also sent the message fix060s**n123456 (did not reply any) but still does not work. :( . see log:

2016-01-14 07:27:25 DEBUG: [906B8C48: 5001 < 201.191.199.118] HEX: 3335343737363033343138383831303b
2016-01-14 07:27:25 DEBUG: [906B8C48: 5001 > 201.191.199.118] HEX: 4f4e
2016-01-14 07:28:30 DEBUG: [906B8C48: 5001 < 201.191.199.118] HEX: 3335343737363033343138383831303b
...
2016-01-14 07:47:18 DEBUG: [906B8C48: 5001 > 201.191.199.118] HEX: 4f4e

thanks,

roger

pedro10669 years ago

update:

now traccar can see the gps, it is green highlighted and it is updating every minute, but it does not show the gps location.. Am I doing something wrong with the sms fix060s**n123456?

see log:

2016-01-14 08:13:52 DEBUG: [46DB8713: 5001 < 201.191.199.41] HEX: 3335343737363033343138383831303b
2016-01-14 08:13:52 DEBUG: [46DB8713: 5001 > 201.191.199.41] HEX: 4f4e
2016-01-14 08:15:00 DEBUG: [46DB8713: 5001 < 201.191.199.41] HEX: 3335343737363033343138383831303b
2016-01-14 08:15:04 DEBUG: [46DB8713: 5001 > 201.191.199.41] HEX: 4f4e
2016-01-14 08:15:14  WARN: [46DB8713] error - Connection reset by peer - IOException (...)
2016-01-14 08:15:14  INFO: [46DB8713] disconnected
2016-01-14 08:15:17  INFO: [42DC0C59] connected
2016-01-14 08:15:19 DEBUG: [42DC0C59: 5001 < 201.191.199.73] HEX: 23232c696d65693a3335343737363033343138383831302c413b
2016-01-14 08:15:19 DEBUG: [42DC0C59: 5001 > 201.191.199.73] HEX: 4c4f4144
...

thanks,

Roger

Anton Tananaev9 years ago

The problem is that your device doesn't report GPS data. Maybe command should be different for your particular device? Do you have a manual for the tracker?

pedro10669 years ago

Hello.

Now it's working like a charm!!
The instruction was t060s***n123456.

Thankyou so much!

Roger