DCT Syrus protocol TAIP problem ignition ON and ignition OFF register from unkno

raul_sigma8 years ago

I have a problem with the AVL Syrus DCT. I do not know where to set the Ignition Event ON and OFF.
I tried it on the attributes of the device with Name: Ignition ON and with EVENT number value defined in the script.
If you can by attributes, I do not know what name you must have to register it as an ignition because I have event 43 as ignition off and it registers me as an unknown event.

Anton Tananaev8 years ago

Please provide samples of messages with ignition info.

raul_sigma8 years ago

tracker-server.log

2017-03-28 06:16:59 DEBUG: [EDAD485C: 5031 < 186.167.243.241] HEX: 3e5245563432313934323233373031372b313137303935372d303730313838303230303030303033323b49443d3335363631323032323436333035353c0d0a

Hex To Ascii

2017-03-28 06:16:59 DEBUG: [EDAD485C: 5031 < 186.167.243.241] HEX: >REV421942237017+1170957-0701880200000032;ID=356612022463055<

42 is event IGNITION ON

2017-03-28 06:36:58 DEBUG: [47784E0E: 5031 < 186.167.249.121] HEX: 3e5245563433313934323233383231332b313137373639342d303730313439333330303030303933323b49443d3335363631323032323436333035353c0d0a

Hex To Ascii

2017-03-28 06:36:58 DEBUG: [47784E0E: 5031 < 186.167.249.121] HEX: >REV431942238213+1177694-0701493300000932;ID=356612022463055<

43 is event IGNITION OFF

Anton Tananaev8 years ago

I have added support for the TAIP event code.

raul_sigma8 years ago

I installed the Traccar 3.11 and I can already visualize in the web environment the Event Numbers. But unfortunately I do not know how to configure the tracar with the protocol TAIP of the AVL Syrus DCT that I report the IGNITION OFF or ON, which I have configured the AVL with events 43 and 42 respectively.
I do not know if I can configure it through the Attributes of each Equipment and / or Attributes Alias.

Please tell me the steps to follow because I have tested on the Attributes of the Devices with:

Attributes Value
TYPE_IGNITION_OFF 43
TYPE_IGNITION_ON 42
IgnitionOff 43
IgnitionOn 42

None works.

Thanks for your attention.

Anton Tananaev8 years ago

If you want to decode ignition, you have to modify source code of the decoder class.

raul_sigma8 years ago

Can you use the attributes of each device to define the Event number?

Because a in the AVL DCT SIRUS can configure the different events in any number such as this Script:

#Event 40
> SXAGH001045 <
> SED40NV0; J00 + <

Ignition ON

Event 42

1 MIN DELAY TO REPORT ENGINE IGNITION

> SED02SV0; F00 +; ACT = SGC11TC00060 <

ENGINE IGNITION SPARE

> SED42NV0; F00C11 & + <

Ignision OFF

Event 43

1 MIN DELAY TO REPORT MOTOR OFF

> SED03SV0; F00-; ACT = SGC12TC00060 <

MOTOR SHUT-OFF SPARE

> SED43NV0; F00! C12 & + <

BATTERY DISCONNECTION REPORT

> SED44NV0; F13! C13 & + <

Battery connection report

Event 45

1 MIN DELAY TO REPORT BATTERY CONNECTION

> SED05SV0; F13 +; ACT = SGC14TC00060 <

BATTERY CONNECTION REPORT

> SED45NV0; F13C14 & + <

If possible, please explain.

Thank you for your attention and quick answers.

Anton Tananaev8 years ago

Possible, but again you would have to write some code to do it. Traccar doesn't do it out of the box at the moment.