Device vs config attribute

Ronalda month ago

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 Tananaeva month ago

Attribute set on the device should take precedence over configuration.

Ronalda month ago

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 Tananaeva month ago

Which type did you select?

Ronalda month ago

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

Anton Tananaeva month ago

Yes, of course it's a number.