What does the device event report show?
is the device receiving the command? have you verified that the instruction being sent via the command is executed on the gps device?
my log shows this
2023-10-06 08:33:40 INFO: [ed223480] id: *imei device*, command type: custom sent
Checked device report and there is no command reports. There are others for stop/start/online etc. Nothing in logs either. Not sure. I have been using traccar for years and just been using SMS commands to the device/s direct. Thought I'd give this a go just can't work it out. Worked out most other problems myself or referring to the forum, this one has got me stumped.
have you tried to send the command without the sms option? you can share the command and say which gps device they are using.
yes sending without sms , the devices are a chinese generic, which when used on their server accepts commands just not sure how to set it up on traccar, they advised jt808, huabao, 0x8105 command: Content 0x64 Fuel cut-off, 0x65 recovery. just not sure how to encode for traccar
share device photo (using https://imgbb.com/)
did you try the guide provided by traccar to know which protocol to use in chinese gps? https://www.traccar.org/clones/
The protocol is Huabao. image attached of device
https://ibb.co/z54P7tC
Does anyone have any input on this topic? I cannot find an answer anywhere. Apart from the custom command (which i am not sure of the exact script required) is there additional work required in the CONFIG file to make the command work? Thanks
No configuration should be needed.
Ok Thanks, and the input for the custom command do i just encode the Huabao protocol and add that as the custom command?
These are the commands from the manufacturer
0x8105 command: Content 0x64 Fuel cut-off, 0x65 recovery
0x64 encoded is 30783634, do i just put that in the custom command field?
Thanks
Not sure if the 'killswitch' oil cut, oil restore function has been added,
https://drive.google.com/file/d/1CuGl3g5TYtEPAbAqoeQOuon8Kh64IPEr/view?usp=sharing - Page 12
This is the documentation for Huaboa JT808. Can you advise whether this is already in HuabaoProtocolDecoder.java
do i just put that in the custom command field?
Almost definitely not.
Can you advise whether this is already in HuabaoProtocolDecoder.java
Not sure. You have to test it.
OK thanks Anton for your time and all your efforts to Traccar. Does anyone here on the forum have experience writing custom commands for huabao? Any assistance would be greatly appreciated. Im happy to learn but dont know where to start, thanks
I am still none the wiser as to what i have to do for my devices to report and accept commands. They are jt808, do i need to write something to config or copy and paste something for commands to be able to be sent to devices through app and online
Again, not configuration is needed.
I have some custom commands and i attach them to a device and when sent a popup show command sent, but there is no record showing in the log file that it has been sent? Anyone come across this problem before and can point me in the right direction. Huabao protocol devices being used. Thanks