Copying non standard attributes

pastilhasa year ago

Hello, I have the following traccar.xml config (in a docker instance):

<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>ignition,io147,io154</entry>

Any idea why would the attributes not copy? Is it because they are specefic ios to a device? Also I want to copy attributes for computed attributes, would I just need to copy the io they are based on, or should I also copy the computed attribute?

Thank you very much for your time

Anton Tananaeva year ago

Copying should work for any attributes. Not sure I understand the second question.

pastilhasa year ago

I was wondering if for example, if my fuel is based on io147, do I need to make a copy attribute io147 and fuel, or just repeating the 147 is enough since Fuel is computed from its value?

Thank you

Anton Tananaeva year ago

I would just copy the original.

pastilhasa year ago

Ok so just io147 is enough and then the rest can be computed from it.

Thank you Anton