Is the number after comma a device password?
Hi Anton.
Thanks for your reply.
I do not think so because the current device password is 123456
sms commands works with it, eg cut123456, resume123456 for engine cut and resume.
For online commands, the device is accepting DYD,000000# for cut and HFYD,000000# for resume.
Traccar is sending DYD,123456# and HFYD,123456#
How can i get Traccar to send the first data on engine cut and resume?
THe device is GT06 by Accurate
I think you need to get explanation from device vendor. What does the number mean?
Its the default in GT06 engine command:
https://dl.dropboxusercontent.com/s/sqtkulcj51zkria/GT06_GPS_Tracker_Communication_Protocol_v1.8.1.pdf
on page 38
Assuming it`s a password, is there a way to edit the data DYD,123456# that is being sent by traccar on Engine Stop command to DYD,000000# as expected by the device?
I would appreciate any help
Not yet, but if we can confirm that it's password we can add configuration parameter for it.
Hi Anton, Thanks for that, i appreciate. I will check with them.
While waiting on it, im trying to find a workaround.
Is there a way to delete or hide the default Engine Stop and Engine Resume commands? If there is, could you kindly tell me how?
I would like to hide them (if possible) then save custom commands for my clients with DYD,000000# and HFYD,000000# for cut and re
Unfortunately not.
Hi Anton. Thanks for for your reply.
Even in code on the server there is no way to remove the default commands?
Of course you can just server code, if you have necessary skills.
Hi Anton.
Yes i have editing literacy, could you kindly direct me to the correct file please and i will take it from there.
I appreciate your help
GT06 encoder is the one you need to edit.
Thanks Anton for your help. Lastly could you please point me to its location (folder)?
Thanks
Just edit traccar\src\org\traccar\protocol\Gt06ProtocolEncoder.jav
a file and edit HFYD,123456#
to HFYD,000000#
Hi
I have a small fleet based on GT06. I have just migrated them to Traccar.
GPS and everything else works well except for Engine Stop and Engine Resume command.
If i send custom command e.g DYD,000000# the engine will stop successfully.
I have checked logs and noticed that Traccar is sending DYD,123456# instead of DYD,000000# expected by the GT06 device.
I have tried adding gt06.alternative to true in both config file and attributes to no avail.
Can someone help me fix this and get Traccar to send DYD,000000# on engine stop command
Im new to java and linux so if you could be specific it would help a lot e.g go to this folder, edit this file etc
Thanks a lot for your help