Ignition problem with Traccar 5.4

Rodrigo Oliveira2 years ago

I have a version 4.2 traccar server that works to copy ignition attributes, but i mount another server with version 5.4 and it is not copying ignition attribute, gps103b sends ignition on and off but is not copying, and i'm using the same code as another version.

<entry key='processing.computedAttributes.enable'>true</entry>
<entry key='processing.engineHours.enable'>true</entry>
<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>battery,batterylevel,ignition,hours</entry>

Any ideas what it could be?

Anton Tananaev2 years ago

It should work. If you don't see the value, it probably means it doesn't have a source to copy it from.

Rodrigo Oliveira2 years ago

Look, i get ignition. Image

Rodrigo Oliveira2 years ago

Attribute processing is working now, I was putting in the file: PROCESSING_COPYATTRIBUTES_ENABLE and the correct one is PROCESSING_COPY_ATTRIBUTES_ENABLE.

But now I have the following problem, when the ignition is on and the gsm signal is lost, if it takes 5 hours to return the gsm signal when it comes back, it counts these 5 hours in the hours attribute.

Any way to solve this? if you lose signal force the ignition to stay off?