Are you using your own Traccar server? If yes, you can take a look in the server log to find out the unique id of the device. It would show up as "unknown device" there.
I can not find manual for setting up the server and the device.
In tracker-server.log:
2015-10-16 20:19:11 INFO: Shutting down server... 2015-10-16 20:20:15 INFO: Operating System name: Windows 10 version: 10.0 architecture: amd64 2015-10-16 20:20:15 INFO: Java Runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.60-b23 2015-10-16 20:20:15 INFO: Memory Limit heap: 900mb non-heap: 0mb 2015-10-16 20:20:15 INFO: Version: 3.1-SNAPSHOT 2015-10-16 20:20:24 INFO: Starting server... 2015-10-16 20:35:16 INFO: Shutting down server... 2015-10-16 20:35:20 INFO: Operating System name: Windows 10 version: 10.0 architecture: amd64 2015-10-16 20:35:20 INFO: Java Runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.60-b23 2015-10-16 20:35:20 INFO: Memory Limit heap: 900mb non-heap: 0mb 2015-10-16 20:35:20 INFO: Version: 3.1-SNAPSHOT 2015-10-16 20:35:21 INFO: Starting server...
I have not found "unknown device"
In https://www.traccar.org/forums/search/tk06a/ it said that the port should not be 5016 (taken from https://www.traccar.org/devices/), but must be 5023.
This port (5023 or 5016) I have to send an SMS to the device?
The server opens in the browser (localhost: 8082)?
The port for the server should be changed?
Port 8082 is only for web interface. You should never use it for any device.
Usually you send port via SMS to the device along with server IP address. If your device sends any data, you will see HEX messages in the log file.
And so. I sent an SMS with the ip and port. But nothing comes log.
As I opened the router ports (5016 and 5023). But no data.
Somewhere in the early attempts in the log I found here:
2015-10-15 15:18:15 INFO: Operating System name: Windows 10 version: 10.0 architecture: amd64 2015-10-15 15:18:15 INFO: Java Runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.60-b23 2015-10-15 15:18:15 INFO: Memory Limit heap: 900mb non-heap: 0mb 2015-10-15 15:18:15 INFO: Version: 3.1-SNAPSHOT 2015-10-15 15:18:17 INFO: Starting server... 2015-10-15 17:23:53 INFO: Operating System name: Windows 10 version: 10.0 architecture: amd64 2015-10-15 17:23:53 INFO: Java Runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.60-b23 2015-10-15 17:23:53 INFO: Memory Limit heap: 900mb non-heap: 0mb 2015-10-15 17:23:53 INFO: Version: 3.1-SNAPSHOT 2015-10-15 17:32:24 INFO: [F0BC2380] connected 2015-10-15 17:32:24 INFO: [D6B07AA2] connected 2015-10-15 17:32:24 DEBUG: [D6B07AA2: 5016 < 0:0:0:0:0:0:0:1] HEX: 474554202f20485454502f312e310d0a486f73743a206c6f63616c686f73743a353031360d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a4163636570743a20746578742f68746d6c2c6170706c69636174696f6e2f7868746d6c2b786d6c2c6170706c69636174696f6e2f786d6c3b713d302e392c696d6167652f776562702c2a2f2a3b713d302e380d0a557067726164652d496e7365637572652d52657175657374733a20310d0a557365722d4167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e542031302e303b20574f57363429204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f34352e302e323435342e313031205361666172692f3533372e33360d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174652c20736463680d0a4163636570742d4c616e67756167653a2072752d52552c72753b713d302e382c656e2d55533b713d302e362c656e3b713d302e340d0a0d0a 2015-10-15 17:32:35 INFO: [D6B07AA2] disconnected 2015-10-15 17:32:42 INFO: [F0BC2380] disconnected 2015-10-15 17:32:59 INFO: Shutting down server...
Decoded HEX:
GET / HTTP/1.1 Host: localhost:5016 Connection: keep-alive Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 Accept-Encoding: gzip, deflate, sdch Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
What am I doing wrong?
There must be something wrong with the device. Looks like it doesn't send anything. Another possibility is that it can't access the server because of some network configuration issues (router or firewall).
Thank you. I felt ashamed. Just something I had to open the port at the firewall Windows.
And so. After configuring the firewall 1st tracker made itself felt.I rejoice. Connect another 2 - and silence ...
Here's the log:
2015-10-17 11:19:44 INFO: Operating System name: Windows 10 version: 10.0 architecture: amd64 2015-10-17 11:19:44 INFO: Java Runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.60-b23 2015-10-17 11:19:44 INFO: Memory Limit heap: 900mb non-heap: 0mb 2015-10-17 11:19:44 INFO: Version: 3.1-SNAPSHOT 2015-10-17 11:20:43 INFO: Starting server... 2015-10-17 11:49:23 INFO: [534FA25A] connected 2015-10-17 11:49:23 DEBUG: [534FA25A: 5023 < 46.211.5.126] HEX: 78780d010355488020137356002158830d0a 2015-10-17 11:49:23 DEBUG: [534FA25A: 5023 > 46.211.5.126] HEX: 787805010021f8de0d0a ... 2015-10-17 13:44:35 INFO: [195316AC] connected 2015-10-17 13:44:35 DEBUG: [195316AC: 5016 < 46.211.153.157] HEX: 78780d01035548802013735600035a930d0a 2015-10-17 13:44:37 DEBUG: [1B021972: 5016 < 46.211.0.154] HEX: 78781f120f0a110c2c1fc7052d969702c8afb500354a00ff03154a00235d00226f610d0a 2015-10-17 13:44:42 DEBUG: [195316AC: 5016 < 46.211.153.157] HEX: 78781f120d0b0b000000c0000000000000000000200000ff03154a00041d00033e1f0d0a
What's wrong again?
Sorry. My fail. Port 5023.
Anton Tananaev, can you change on https://www.traccar.org/devices/ ?
from:
TK06A v680 5016 2.8
to:
TK06A GT06 5023 2.8
I have updated the list to point to the following page:
https://www.traccar.org/ports-for-tk-gt-and-other-gps-devices/
Hello, I have install tk06a in traccar, it report fine but don't stop the engine.
The sms command for stop and resume are: #stopoil#123456# and #supplyoil#123456#
With sms works fine.
2016-04-26 11:46:00 DEBUG: [EAD4F005: 5023 < 186.167.243.47] HEX: 78781f1210041a101000ca010bbefd06c6f8ac003c1702de02dac000c924020192ed0d0a 2016-04-26 11:46:00 DEBUG: [EAD4F005: 5023 > 186.167.243.47] HEX: 787805120201809d0d0a 2016-04-26 11:46:01 INFO: [EAD4F005] id: 1, time: 2016-04-26 11:46:00, lat: 9.74834, lon: -63.16838, speed: 0.0, course: 23.0 2016-04-26 11:46:15 INFO: [EAD4F005] command type: engineStop, id : 1 sent 2016-04-26 11:46:15 DEBUG: [EAD4F005: 5023 > 186.167.243.47] HEX: 787812800c0000000052656c61792c312300009dee0d0a 2016-04-26 11:47:00 DEBUG: [EAD4F005: 5023 < 186.167.243.47] HEX: 78781f1210041a101100ca010bbf2d06c6f89d003c1702de02dac000c9240202dd760d0a 2016-04-26 11:47:00 DEBUG: [EAD4F005: 5023 > 186.167.243.47] HEX: 787805120202b2060d0a 2016-04-26 11:47:01 INFO: [EAD4F005] id: 1, time: 2016-04-26 11:47:00, lat: 9.74836, lon: -63.16837, speed: 0.0, course: 23.0 2016-04-26 11:47:03 DEBUG: [EAD4F005: 5023 < 186.167.243.47] HEX: 78780a1346006400010203cce00d0a 2016-04-26 11:47:03 DEBUG: [EAD4F005: 5023 > 186.167.243.47] HEX: 787805130203f9530d0a 2016-04-26 11:47:04 INFO: [EAD4F005] id: 1, time: 2016-04-26 11:47:00, lat: 9.74836, lon: -63.16837, speed: 0.0, course: 23.0 2016-04-26 11:47:06 INFO: [EAD4F005] command type: engineResume, id : 1 sent 2016-04-26 11:47:06 DEBUG: [EAD4F005: 5023 > 186.167.243.47] HEX: 787812800c0000000052656c61792c3023000081550d0a
@inetsof, how is your comment related to the topic?
I saw on the source code GT06, it will send command Relay,1# and Relay,0# to GT06
but your devices need command #stopoil#123456# and #supplyoil#123456#.
i don't think it will work, need support from expert in this forum
switch (command.getType()) {
case Command.TYPE_ENGINE_STOP:
return encodeContent(alternative ? "DYD,123456#\r\n" : "Relay,1#");
case Command.TYPE_ENGINE_RESUME:
return encodeContent(alternative ? "HFYD,123456#\r\n" : "Relay,0#");
default:
Log.warning(new UnsupportedOperationException(command.getType()));
break;
}
I have TK06A. I'm sending sms with IP (static) and the port (5016), which should send data (traccar installed). But I do not understand what is necessary to specify the identifier (IMEI?)
Help set up, please.