GT06 - problem with saving data in database

blueman6 years ago

The device is DYEGOO GT06 and trying to connect it to my traccar server, but something I miss.

2018-10-23 14:48:17  INFO: user: 1, action: create, object: device, id: 10
2018-10-23 14:48:17  INFO: user: 1, action: link, owner: user, id: 1, property: device, id: 10
2018-10-23 14:49:05 DEBUG: [4bcf2419: 5023 < 5.173.144.81] HEX: 283032373034353938373236304250303033353532323730343539383732363048534f31613929
2018-10-23 14:49:06 DEBUG: [4bcf2419: 5023 < 5.173.144.81] HEX: 283032373034353938373236304252303031383130323341353031352e363438334e30313930312e34353437453030302e303132343930353030302e303030313030303030304c303030303030303029
2018-10-23 14:50:06 DEBUG: [4bcf2419: 5023 < 5.173.144.81] HEX: 283032373034353938373236304252303031383130323341353031352e363438334e30313930312e34353437453030302e303132353030353133382e363730313030303030304c303030303030303029
2018-10-23 14:51:06 DEBUG: [4bcf2419: 5023 < 5.173.144.81] HEX: 283032373034353938373236304252303031383130323341353031352e363438334e30313930312e34353437453030302e303132353130353232362e343530313030303030304c303030303030303029
2018-10-23 14:52:05 DEBUG: [4bcf2419: 5023 < 5.173.144.81] HEX: 283032373034353938373236304250303033353532323730343539383732363048534f31613829
2018-10-23 14:52:06 DEBUG: [4bcf2419: 5023 < 5.173.144.81] HEX: 283032373034353938373236304252303031383130323341353031352e363438334e30313930312e34353437453030302e303132353230353030302e303030313030303030304c303030303030303029
2018-10-23 14:52:25  INFO: [4bcf2419] disconnected
2018-10-23 14:52:26  INFO: [64c19de9] connected
2018-10-23 14:52:27 DEBUG: [64c19de9: 5023 < 5.173.144.81] HEX: 283032373034353938373236304250303533353532323730343539383732363031383130323341353031352e363438334e30313930312e34353437453030302e303132353232353231392e333130313030303030304c303030303030303029
2018-10-23 14:53:06 DEBUG: [64c19de9: 5023 < 5.173.144.81] HEX: 283032373034353938373236304252303031383130323341353031352e363438334e30313930312e34353437453030302e303132353330353233332e303130313030303030304c303030303030303029
2018-10-23 14:54:06 DEBUG: [64c19de9: 5023 < 5.173.144.81] HEX: 283032373034353938373236304252303031383130323341353031352e363438334e30313930312e34353437453030302e303132353430343136352e343330313030303030304c303030303030303029

In database I have a device with ID 027045987260, it is sending a data, but nothing is saving in database. What's wrong?

Anton Tananaev6 years ago

You are missing the fact that your device is not using GT06 protocol. It uses TK103, port 5002. Read this:

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

blueman6 years ago

Fixed. You are right! Thank you!