TK 906 BikeTracker > Watch Protocoll?

Mirko Kölzer7 years ago

Thank you for your excelent work with tracecar! I have got it work with synology DS. Everything is fine, but the tracker is not working right.
It seems i'm the first user with these bike tracker...i got it from here

https://de.aliexpress.com/item/TKSTAR-TK906-long-standby-time-waterproof-led-light-gsm-gps-tracker-for-bike-easy-hidden-sim/32668723945.html
In traccar manager updates coming in, but with no GPS position changes and offline device.

With the HEX decoder tool i was able to determine the protocol type to watch protocoll. So i configured the port 55093 for incomming data traffic.

After sendings sms command gprs123456 to the tracker position update work only one time The position is not moving but last update refresh is ok. Position change quickly to offline.

Any ideas? Would be nice to use the tracker with traccar.

Anton Tananaev7 years ago

Have you checked logs?

Mirko Kölzer7 years ago

yes, in the tracker-server.log i found this:

2018-03-08 11:31:32  WARN: [74129448] error - For input string: "7*UD" - NumberFormatException (... < WatchFrameDecoder:37 < ...)
2018-03-08 11:31:32  INFO: [74129448] disconnected
2018-03-08 11:31:32  WARN: [74129448] error - For input string: "7*UD" - NumberFormatException (... < WatchFrameDecoder:37 < ... < MainEventHandler:115 < *:104 < ... < GeocoderHandler:43 < ...)
2018-03-08 11:31:33  INFO: [6BE0E3D8] connected
2018-03-08 11:33:38  INFO: [6BE0E3D8] disconnected

and

2018-03-08 11:38:28  WARN: [2942F73C] error - For input string: "20*0" - NumberFormatException (... < WatchFrameDecoder:37 < ...)
2018-03-08 11:38:28  INFO: [2942F73C] disconnected
2018-03-08 11:38:28  WARN: [2942F73C] error - For input string: "20*0" - NumberFormatException (... < WatchFrameDecoder:37 < ... < MainEventHandler:115 < *:104 < ... < GeocoderHandler:43 < ...)
Anton Tananaev7 years ago

I need too see HEX data from the logs as well.

Luke williams 7 years ago

So i configured the port 55093

wrong port should be 5093

Mirko Kölzer7 years ago

yes i did right. do you have also tk906?

i have send Anton the logs.

thank you!

Luke williams 7 years ago

i have several working

pass me your email, i will email you my settings

Mirko Kölzer7 years ago
Luke williams 7 years ago

Tempr.email is the strongest provider of anonymous disposable e-mail addresses on the Internet!
No registration, completely non-binding, anonymous and free!

I dont send mail to such email accounts

Mirko Kölzer7 years ago

ok

Anton Tananaev7 years ago

It's a device issue. Here an example message from your log:

[SG*9061005020*0009*LK,0,0]

0009 is supposed to indicate length of following data (LK,0,0), but it's clearly incorrect.

Here is an example of valid message (from Traccar test):

[3G*8308406279*0009*LK,0,0,84]
Mirko Kölzer7 years ago

now i undestand what the problem is. The device send sometimes - not everytime - false data. I do reserching the forum and in other cases you sugessted the config option of entry key=messageLength 45.

Is this a possible workaround for this problem? What can i do?

Thank's for your help, I'm happy with any suggestion.

Anton Tananaev7 years ago

Message length only works for H02 protocol, as far as I know.

Daniel Navarro7 years ago

Hello Luke williams Which GPS tracker Models do you have for your bike?

Luke williams Hello William, I am going to start working with the TK906 bike tracker, could you help me by sending the necessary configuration and the port that I should use in the traccar server? I really thank you and I apologize for taking your time. My email is: [REMOVED]