GT06 Generic does not stop engine

wilsongome6 years ago

Hi, I have a generic GT06 that stops engine when I sending a sms "cut123456", but it not works when I sending the command by Traccar. Anyone can help me?

See the logs:

2018-08-21 15:54:53  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:54:46, lat: -23.56453, lon: -46.58978, speed: 0.0, course: 0.0
2018-08-21 15:54:55  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:54:46, lat: -23.56453, lon: -46.58978, speed: 0.0, course: 0.0
2018-08-21 15:55:08  INFO: [BD3A8489] id: 352887076662117, command type: engineStop sent
2018-08-21 15:55:22  INFO: [BD3A8489] id: 352887076662117, command type: engineResume sent
2018-08-21 15:55:26  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:55:16, lat: -23.56455, lon: -46.58980, speed: 0.0, course: 0.0
2018-08-21 15:56:07  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:55:16, lat: -23.56455, lon: -46.58980, speed: 0.0, course: 0.0
2018-08-21 15:56:29  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:55:46, lat: -23.56455, lon: -46.58979, speed: 0.0, course: 0.0
2018-08-21 15:56:29  INFO: [BD3A8489] id: 352887076662117, command type: engineStop sent
2018-08-21 15:56:31  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:56:16, lat: -23.56455, lon: -46.58979, speed: 0.0, course: 0.0
2018-08-21 15:56:45  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:56:46, lat: -23.56452, lon: -46.58978, speed: 0.0, course: 0.0
2018-08-21 15:56:52  INFO: [BD3A8489] id: 352887076662117, command type: custom sent
2018-08-21 15:56:58  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:56:46, lat: -23.56452, lon: -46.58978, speed: 0.0, course: 0.0
2018-08-21 15:57:15  INFO: [BD3A8489] id: 352887076662117, time: 2018-08-21 15:57:16, lat: -23.56449, lon: -46.58978, speed: 0.0, course: 0.0

And in traccar.xml

<entry key='gt06.timezone'>-3</entry>
<entry key='gt06.alternative'>true</entry>

Thanks!

wilsongome6 years ago

Sorry!
After engineStop sent

787815800f000000004459442c313233343536230000755a0d0a

Then, the device response

78781f1212081513042bc90284f1d904fbec4727386802d40a177b000d0800108d520d0a
Anton Tananaev6 years ago

You need to check with your device vendor to see what format your device accepts.

wilsongome6 years ago

OK. Can I pass the format directly on Traccar, using "custom command"? Example: Format is "XPTONNNN". I'm asking because by SMS the command cut123456 is accepted, but if I send this same command by Traccar, using the "custom command option" it is not accepted. Should I convert this before sending directly?

Anton Tananaev6 years ago

You can, but how sure are you that format is the same via SMS and via data connection?

wilsongome6 years ago

You are right, thanks!