Traccar 4.0 does not show temperature value for gps103 device

Sydney Retamales6 years ago

I recently installed Traccar 4.0 does not show temperature value for gps103 device, I have another lower installed version and if the temperature delivered by the device is displayed.

[removed]

Anton Tananaev6 years ago

Please format your comment properly. Second half is just gibberish.

Sydney Retamales6 years ago

Apologies, In the Database of traccar 4.0 it records the following information:

attributes = {"event":"001","ignition":false,"door":false,"fue?

I have another version 3.x and this shows it as "io5" with real temperature value for example "+20"

Sydney Retamales6 years ago

In the database it records complete is:

{"event":"001","ignition":false,"door":false,"fuel1":0.0,"temp1":0,"distance":0.0,"totalDistance":361.16,"motion":false}
Anton Tananaev6 years ago

OK, please provide corresponding HEX log.

Sydney Retamales6 years ago

Here is the log:

2018-08-28 00:31:25 DEBUG: [a65de7ee: 6001 < 186.9.35.27] HEX: 23232c696d65693a3836343138303033363835323533362c413b
2018-08-28 00:31:25 DEBUG: [a65de7ee: 6001 > 186.9.35.27] HEX: 4c4f4144
2018-08-28 00:31:27 DEBUG: [a65de7ee: 6001 < 186.9.35.27] HEX: 696d65693a3836343138303033363835323533362c3030312c3138303832383030333132372c2c462c3030333132322e3030302c412c333332392e333039352c532c30373034342e343539392c572c302e30302c302c2c302c302c302e3030252c302c2b32313b
2018-08-28 00:31:27  INFO: [a65de7ee] id: 864180036852536, time: 2018-08-28 00:31:22, lat: -33.48849, lon: -70.74100, course: 0.0
2018-08-28 00:31:35 DEBUG: [a65de7ee: 6001 < 186.9.35.27] HEX: 696d65693a3836343138303033363835323533362c3030312c3138303832383030333032372c2c462c3030333032322e3030302c412c333332392e333133342c532c30373034342e343536352c572c302e30302c302c2c302c302c302e3030252c302c2b32313b
2018-08-28 00:31:35  INFO: [a65de7ee] id: 864180036852536, time: 2018-08-28 00:30:22, lat: -33.48856, lon: -70.74094, course: 0.0
2018-08-28 00:31:37 DEBUG: [a65de7ee: 6001 < 186.9.35.27] HEX: 696d65693a3836343138303033363835323533362c3030312c3138303832383030333133372c2c462c3030333133332e3030302c412c333332392e333039352c532c30373034342e343539392c572c302e30302c302c2c302c302c302e3030252c302c2b32313b
2018-08-28 00:31:37  INFO: [a65de7ee] id: 864180036852536, time: 2018-08-28 00:31:33, lat: -33.48849, lon: -70.74100, course: 0.0
2018-08-28 00:31:40 DEBUG: [a65de7ee: 6001 < 186.9.35.27] HEX: 696d65693a3836343138303033363835323533362c3030312c3138303832383030333033372c2c462c3030333033332e3030302c412c333332392e333039362c532c30373034342e343539382c572c302e30302c302c2c302c302c302e3030252c302c2b32313b
2018-08-28 00:31:40  INFO: [a65de7ee] id: 864180036852536, time: 2018-08-28 00:30:33, lat: -33.48849, lon: -70.74100, course: 0.0
...
2018-08-28 00:33:47  INFO: [a65de7ee] id: 864180036852536, time: 2018-08-28 00:33:43, lat: -33.48859, lon: -70.74098, course: 0.0
2018-08-28 00:33:57 DEBUG: [a65de7ee: 6001 < 186.9.35.27] HEX: 696d65693a3836343138303033363835323533362c3030312c3138303832383030333335372c2c462c3030333335332e3030302c412c333332392e333135342c532c30373034342e343538382c572c302e30302c302c2c302c302c302e3030252c302c2b32313b
2018-08-28 00:33:57  INFO: [a65de7ee] id: 864180036852536, time: 2018-08-28 00:33:53, lat: -33.48859, lon: -70.74098, course: 0.0
Anton Tananaev6 years ago

Looks like it's not fully decoded. Do you have protocol documentation for your device?

Sydney Retamales6 years ago

Currently I have another server with Traccar 3.5 running perfentamente and the GPS103 reports without problems, the log in version 3.5 and 4.0 is the same, but in version 4.0 the result is different since it does not show temperature values for example.

Anton Tananaev6 years ago

There is no need to repeat yourself. We would need documentation to implement it.

Sydney Retamales6 years ago

Yes, I have the protocol documentation.

Sydney Retamales6 years ago
Anton Tananaev6 years ago

Unfortunately what your device sends doesn't match documentation.

  1. Positive temperature shouldn't have "+" sign. At least in documentation it doesn't.
  2. Second fuel should be decimal with percentage sign. It your case it's just "0".
Sydney Retamales6 years ago

Image Traccar Vers 3.5 and gps105A with temperature sensor.
alt text

Sydney Retamales6 years ago

Please help,

  • In version 3.16 of traccar if it is possible to visualize the parameter Io5 with value +15 for the temperature delivered by the device, in higher versions such as 3.17 and 4.0 it does not reflect this value.
  • Since in version 3.16 it is not possible to change the name from 3.16 to Temperature.
Anton Tananaev6 years ago

Well, as I said, I need protocol documentation.