Vista Trax TS15

Juan Damian3 years ago

I have the device Trax TS15 Vista, but can not find on the list of supported devices, I would like to know if anyone could make it work, in logs Hex code is

202006203e52555330302c3031303137303030303030302b303030303030302b30303030303030303030303030303130303939393930303030313130363030373437353532363845462c303030313133393530333837313438362c30312c5a5a5a5a5a5a5a5a5a5a3b49443d31313831373b234c4f473a364145343b2a32433c
Anton Tananaev3 years ago

Try TAIP protocol.

Juan Damian3 years ago

Hi Anton, I tried the TAIP protocol, but it does not work, what I could find out is that it is a variation of the TAIP protocol, I have a problem similar to what happened to him https://github.com/traccar/traccar/issues/1265. Based on the documentation I could find the command you use to query the position is >QPG< and the answer it delivers is >RPG241207150026-3460180-05847823018156800F400< where:

2412071 Position date (DDMMAA)
150026 Position time (HHMMSS)
-3460180 Latitude (Ej : -34.60180°)
-05847823 Length (Ej : -58.47823°)
018 Speed in MPH (0..999)
156 Dirección (0..359)
North = 0, East = 90, South = 180, West = 270
8 Number of satellites (0..9+)
00 Data age in hexadecimal (00..FF)
F4 Status of digital inputs in hexadecimal
Anton Tananaev3 years ago

Traccar doesn't query positions. Your device should report it.

Juan Damian3 years ago

Yes, I know, I did not explain it well. What the device is sending is in this format >RPG241207150026-3460180-05847823018156800F400<. From what I understand, the problem is with the date format, which is not the same as the generic taip protocol

Anton Tananaev3 years ago

Traccar supports several different date formats. Can you please provide logs. Is it not decoded at all?

Juan Damian3 years ago

this is the log

INFO: [30c5919a: taip < 186.141.199.126] HEX: 202006203e5250493034313232303133323230332d323638333532352d303635323034303630313530303031303530303030313031353131313430303232313138383537454632373b49443d303030303b234c4f473a444543423b2a30373c
Anton Tananaev3 years ago

Are you using latest official release? Maybe you can try a build from the master branch.

Juan Damian3 years ago

Ok, what I have to do is build tracker-server.jar from Master branch and copy it to my server? is this ok?

Anton Tananaev3 years ago

Yes, assuming you already have latest version installed.

Juan Damian3 years ago

I have the 4.8, can i copy the jar? or do I have to upgrade the whole system

Juan Damian3 years ago

I've done everything, I upgraded with the latest version of traccar, and changed the tracker-server file with the version of the Master branch, but it still doesn't decode

Anton Tananaev3 years ago

In that case the decoder probably needs updating.

Juan Damian3 years ago

This is the documentation I could find of the protocol
https://drive.google.com/file/d/1qVTSNH4HfooXK-nAlAbk8rv45HFtqoNS/view?usp=sharing

Juan Damian3 years ago

I was able to make it work, I had to change this line in TaipProtocolDecoder

.expression ("(?: RGP | RCQ | RCV | RBR | RUS00) ,?")

to this

.expression ("(?: RGP | RCQ | RCV | RBR | RUS00 | RPI) ,?")