Device vs config attribute

Ronald last year

Greetings
I am kindly asking what happens where an attribute is configured both in the config file and on a specific device with different values, for example i have report.trip.minimalTripDistance with 10 meters in config and report.trip.minimalTripDistance with 900 meters on a specific device (under attributes). This device is still showing trips with less than 900 meters. Does it mean that the config setting overrides the device specific attribute?

Anton Tananaev last year

Attribute set on the device should take precedence over configuration.

Ronald last year

Thank you Anton. Just to confirm, is this the correct way to add the device attribute? i am thinking that i may have done something wrong as i still have trips lesser than the specified distance on the device:

Device attribute

Anton Tananaev last year

Which type did you select?

Ronald last year

Hi Anton. I selected "string". Shall i use "Number" instead?

Anton Tananaev last year

Yes, of course it's a number.