Error detecting in acc on and acc off VT310 modified

Dear, traccar 5.8 does not detect engine ignition, this is the log

2023-09-07 10:55:21  INFO: [Tadcc75b2: meiligao < 186.11.28.98] 242400636973105387117499553133353434372e30302c412c333332392e39313830312c532c30373033332e31333937342c572c302e3030302c3030302c3037303932337c7c7c303030307c303030302c303030307c3030333138363039355ec50d0a
2023-09-07 10:55:21  WARN: Attribute computation error - org.traccar.handler.ComputedAttributesHandler.computeAttribute:119@1:1 variable 'ODM' is undefined - Variable (ComputedAttributesHandler:120 < *:130 < BaseDataHandler:27 < ... < *:29 < ... < *:29 < ... < *:29 < ... < GeocoderHandler:81 < ...)
2023-09-07 10:55:21  WARN: Attribute computation error - org.traccar.handler.ComputedAttributesHandler.computeAttribute:119@1:1 variable 'powerOff' is undefined - Variable (ComputedAttributesHandler:120 < *:130 < BaseDataHandler:27 < ... < *:29 < ... < *:29 < ... < *:29 < ... < GeocoderHandler:81 < ...)
2023-09-07 10:55:21  INFO: [Tadcc75b2] id: 69731053871174, time: 2023-09-07 10:54:47, lat: -33.49863, lon: -70.55233, course: 0.0
Anton Tananaeva year ago

Do you mean the ignition value or something else?

Yes, it's just that.

this is the record inside the tc_positions table

id	protocol	deviceid	servertime	devicetime	fixtime	valid	latitude	longitude	altitude	speed	course	address	attributes	accuracy	network	geofenceids
32310	meiligao	1	2023-09-07 10:55:21.7250000	2023-09-07 10:54:47.0000000	2023-09-07 10:54:47.0000000	1	-33,4986335	-70,552329	0	0	0	NULL	{"out1":false,"out2":false,"out3":false,"out4":false,"out5":false,"in1":false,"in2":false,"in3":false,"in4":true,"in5":false,"adc1":0,"adc2":0,"odometer":3186095,"distance":0.0,"totalDistance":3.757420838E7,"motion":false}	0	null	[2]

we think it was the in4 attribute, but it is not since the acc is off and there it says that it is true

there are more data, since the VT310 is connected to the canbus.

Anton Tananaeva year ago

Do you have the protocol documentation?

Not right now, but I will have it in 24 more hours.

13. Set GPRS Alert for Buttons or Inputs
Command code: 0x4116
Command from server to tracking unit:
@@<L><ID><0x4116><ABCDE><checksum>\r\n
A=IN1
B=IN2
C=IN3
D=IN4
E=IN5
When A or B or C or D or E
=1, to enable alert when input port is close
=2, to enable alert when input port is open
=3, to enable alert when input port is close or open
IN1, IN2, IN3 are detected as low level input. IN4 and IN5 are
detected as high level input.
Message from tracking unit to server:
$$<L><ID><0x4116><Flag><checksum> \r\n
Topshine Tracking Technology GPRS PROTOCOL
If Flag
=0x00, it means operation failed;
=0x01, it means operation succeeded.

IN4 is the signal wire that goes to the ignition signal. tell me what it is but usual you can just check 0x9955 for all

Anton Tananaeva year ago

Can you please provide the protocol document.

Ok, How do I send them to you?

Anton Tananaeva year ago

Upload somewhere and share a link.

Anton Tananaeva year ago

Unfortunately I don't see anything about igniting in the document.

Ok, thanks for help