Traccar on Synology with chinese tk103

Ruben3 years ago

Hi.

I want to connect my chinese tk103 to my synology
I see the connection in my log files. see below

2021-11-24 20:20:52  INFO: [c4c2239e] disconnected
2021-11-24 20:21:17 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131510c405a04222007fbab600340000cc080                                                                             
2021-11-24 20:21:34 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78780a13400662000101129c2f0d0a
2021-11-24 20:21:43 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78780d01035288707829548601132d570d0a
2021-11-24 20:21:47 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b1813152ec405a04218007fbbfc01340000cc080                                                                             
2021-11-24 20:22:18 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131610c405a0424f007fbc7300340000cc080                                                                             
2021-11-24 20:22:48 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b1813162ec405a0425c007fbb9000340000cc080                                                                             
2021-11-24 20:23:18 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131710c505a04227007fbafd00340000cc080                                                                             
2021-11-24 20:23:48 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b1813172ec505a041ee007fbae800340000cc080                                                                             
2021-11-24 20:24:18 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131811c505a041ac007fba5500340000cc080                                                                             
2021-11-24 20:24:30 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78780a134006640001011919640d0a
2021-11-24 20:24:39 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78780d010352887078295486011ab0960d0a
2021-11-24 20:24:48 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b1813182fc405a0415c007fbb8601340000cc080                                                                             
2021-11-24 20:25:19 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131911c505a041e4007fbb8600340000cc080                                                                             
2021-11-24 20:25:49 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b1813192fc505a04216007fbb5200340000cc080                                                                             
2021-11-24 20:26:19 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131a11c505a0423f007fbafc00340000cc080                                                                             
2021-11-24 20:26:49 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131a2fc405a04250007fbbff01340000cc080                                                                             
2021-11-24 20:27:19 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131b12c405a0425d007fbbdd00340000cc080                                                                             
2021-11-24 20:27:26 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78780a1340066400010120b5260d0a
2021-11-24 20:27:35 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78780d01035288707829548601213fc60d0a
2021-11-24 20:27:50 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131b30c405a0426a007fbb8e00340000cc080                                                                             
2021-11-24 20:28:20 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131c12c505a0425d007fbb1400340000cc080                                                                             
2021-11-24 20:28:50 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131c30c405a0424a007fbb3b00340000cc080                                                                             
2021-11-24 20:29:20 DEBUG: [1bad8e6b: 55001 < 188.206.106.182] HEX: 78781f12150b18131d12c405a0423d007fbbb100340000cc080

But traccar tells me it's offline

Anton Tananaev3 years ago

Have you read documentation first? Specifically this one:

https://www.traccar.org/clones/

Ruben3 years ago

Hi Anton,

yes i have read that.
My tk103 is configured with port 5001 (adminip xxx.xxx.xxx.xxx 5001)
then my router has a port translation 5001 -> 55001 (synology)

My identifier is 07078295486 (IMEI 352887078295486)

Anton Tananaev3 years ago

And how did you determine that port 5001 is the correct one?

Ruben3 years ago

How do you mean the right one?
The manual tells me that i can configure the port myself by sending an sms. So i set it myself to 5001
Or do HAVE to use it's default port?

Anton Tananaev3 years ago

Why did you pick port number 5001?

Ruben3 years ago

Uhmm because it's the firts one from 5000....
because default traccar runs on 5000-5999

Anton Tananaev3 years ago

OK. And have you tried all other ports?

Ruben3 years ago

nope. i'll do right now

Anton Tananaev3 years ago

So you read the documentation but completely ignored what it said?

If you have one of those devices please try all of the following ports

Ruben3 years ago

A bit.
But i'm confused.
Normally when you program a port it has to communicate with, it will use that port.
But i understand th th103 can communicate over another port that is programmed?

Just want to understand

Anton Tananaev3 years ago

I think you need to carefully read the documentation again. Even though your device might be called TK103, it doesn't mean it uses the same protocol that the original TK103, that we named the port after. That's why you have to test all ports that we listed there.

Ruben3 years ago

Hi Anton,

thank you for pointing me in the right direction.
It's working now.

I found this https://www.traccar.org/identify-protocol/
I saw 7878 in the hex and tried port 5023 and it's working now.